We laid out a few Installation methods: Binary, Docker, Kubernetes, Helm.
- Docker
- Kubernetes
- Helm
- Binary
- Pull the Docker image:
docker pull ghcr.io/cloudparrot/worker:1.0.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
- Check the logs
docker logs -f cloudparrot
- 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>
- Apply the Deployment manifest:
kubectl apply -f https://raw.github.com/cloudparrot-ai/worker/k8s/deployment.yaml
- Check the logs:
kubectl logs -f cloudparrot
- Add the CloudParrot Helm repository:
helm repo add cloudparrot https://helm.cloudparrot.ai
helm repo update
- 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>
- Verify the installation:
helm list
kubectl get pods
kubectl logs -f cloudparrot
- 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
Previous: ← Slack Configuration