-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Helm install prometheus on kind fails to start prometheus-server container #1244
Comments
On mobile atm but this is almost definitely due to k8s.io/hostPath backing the volume which doesn't support non-uid-0 writers. |
There are some related (closed) issues with more detail. |
No worries! Thanks for the quick response. We are fine holding off until the next release. I'd be happy to test this out once the next release is out 🚀 |
should be fixed in https://github.com/kubernetes-sigs/kind/releases/tag/v0.7.0 |
Awesome! I've confirmed this works with helm prometheus in the above scenario. Thanks so much for the speedy release |
Great!
…On Tue, Jan 14, 2020 at 9:01 AM John McBride ***@***.***> wrote:
Awesome! I've confirmed this works with helm prometheus in the above
scenario. Thanks so much for the speedy release
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#1244?email_source=notifications&email_token=AAHADKZKWTQ7X5T3BMXZAKLQ5XVUXA5CNFSM4KFNOW72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI5LR4A#issuecomment-574273776>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHADK7A7Q7CYSKNSMRB7PDQ5XVUXANCNFSM4KFNOW7Q>
.
|
You guys are the best, I was struggling with this also. THANK YOU! |
What happened:
We've installed kind and want to set up some local end to end testing with prometheus, grafana, and a controller we are working on.
Unfortunately, when installing prometheus with helm 3, the
prometheus-server
container fails to start.We used the following command to get the logs from
prometheus-server
containerAnd it appears that it is failing to start due to a permission error.
We found this discussion related to the problem prometheus/prometheus#5976
However, the work arounds appear to require changing ownership of various docker host machine files and users.
What you expected to happen:
I expect prometheus-server to start with the kind cluster using helm to install without require configuration of the host machine's docker engine / runtime.
How to reproduce it (as minimally and precisely as possible):
After the containers come up we run:
And that yields the following
Note that the
prometheus-server
pod has 1/2 containers ready. Theprometheus-server-config-map-reload
container is fine but the server container itself is in a crash loop and refuses to start and thus, we are blocked on using the kind cluster for our testing without prometheus.Environment:
The text was updated successfully, but these errors were encountered: