-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run Robusta KRR in docker? #375
Comments
I use this with an EKS cluster and SSO configured, successfully (though my mounts are a bit broad):
However, I build a custom image to include the awscli in the image:
|
Oh, and if you want options, you have to specify the full command as the base image has no entrypoint:
Note that I also ensured it has colorized output and a much wider than default width for docker terminal stuff. |
None of these are working for me: docker run --rm --volume "${KUBECONFIG}:/root/.kube/config:ro" -e KUBECONFIG=/root/.kube/config localhost/krr
docker run --rm --volume "${KUBECONFIG}:/root/.kube/config:ro" -e KUBECONFIG=/root/.kube/config localhost/krr python krr.py simple --allow-hpa
docker run --rm --volume "${KUBECONFIG}:/root/.kube/config:rw" -e KUBECONFIG=/root/.kube/config localhost/krr python krr.py simple --allow-hpa
|
Hi, we'd be happy to jump on a call and help you figure it out? Can you get in touch on our Slack community please? https://home.robusta.dev/slack |
If there is documentation for this I'm not finding it (kindly point me in the right direction if I've overlooked something).
I've cloned the KRR repo and run:
docker build -t krr .
docker run -d --name krr -v /home/myuser/.kube/krr.yml:/root/.kube/config -e KRR_KUBE_CONFIG=/root/.kube/config -e KRR_KRR_PORT=8080 localhost/krr:latest
I am getting:
How do I specify the service host/port and the kubeconfig files? Is there an example somewhere?
The text was updated successfully, but these errors were encountered: