-
Notifications
You must be signed in to change notification settings - Fork 239
Elasticsearch won't start in Kubernetes #182
Comments
@drewr It's not likely that this is the reason the container terminates; this is just a warning due to the deprecation of CMS, since java-9[1], and it doesn't cause failures elsewhere eg. with normal docker run etc. I quickly tried your command in my minikube environment and indeed starting failed, but checking the logs shows a different reason:
Then I used the env var to bypass the bootstrap checks:
Retrieved the name of the pod with:
Checked the logs:
still showing the warning about CMS deprecation and the bootstrap check Finally to expose the port locally:
And retrieve the URL with:
And hitting this gave me our familiar:
|
I got the same behaviour by memory starving the system. The only log message was the |
Thanks @dliappis! Experimented a bit more and stumbled on this at the perfect
which confirms @jarpy suspicion. I had relied on the GKE interface which didn't tell me much. Using |
The next hurdle was that I was trying to use a |
Trying to run Elasticsearch 6.3.1 on GKE results in this warning, which is seemingly enough to prevent the container from starting?
Command:
The pod looks like:
The text was updated successfully, but these errors were encountered: