We laid out a few Installation methods: Binary, Docker, Kubernetes, Helm.

  • Docker
  • Kubernetes
  • Helm
  • Binary
  1. Pull the Docker image:
docker pull ghcr.io/cloudparrot/worker:1.0.1
  1. Run the container with the required environment variables:
docker run -d \
    --name cloudparrot \
    -e CLOUDPARROT_API_KEY=<cloudparrot-api-key> \
    -e SLACK_TOKEN=<slack-token> \
    cloudparrot/worker:1.0.1
  1. Check the logs
docker logs -f cloudparrot
  1. Create a Kubernetes secret for your API key and Slack token:
kubectl create secret generic cloudparrot-secrets \
    --from-literal=cloudparrot-api-key=<cloudparrot-api-key> \
    --from-literal=slack-token=<slack-token>
  1. Apply the Deployment manifest:
kubectl apply -f https://raw.github.com/cloudparrot-ai/worker/k8s/deployment.yaml
  1. Check the logs:
kubectl logs -f cloudparrot
  1. Add the CloudParrot Helm repository:
helm repo add cloudparrot https://helm.cloudparrot.ai
helm repo update
  1. Install the Helm chart with your API key and Slack token:
helm install cloudparrot-worker cloudparrot/worker \
    --set apiKey=<cloudparrot-api-key> \
    --set slackToken=<slack-token>
  1. Verify the installation:
helm list
kubectl get pods
kubectl logs -f cloudparrot
  1. Download and install the binary:
wget -o worker "https://github.com/cloudparrot-ai/worker/releases/worker_1.0.1"
chmod +x worker
./worker --api-key=<cloudparrot-api-key> --slack-token=<slack-token>

If your desired installation method is not in this list, please email us at support@cloudparrot.ai