Elasticsearch docker image and persistence on Kubernetes

Hi,

how to run the offfical elasticsearch docker image with persistence on Kubernetes, if the Docker image is exposing the user elasticsearch, which cannot write to a persistent volume and it cannot be changed via startup script, because the user cannot sudo. Any idea?

Regards,

Olaf

The only solution I found was that one has to use an init container, which is changing the permissions for the volume to the same uid/guids elastisearch is using in the docker image https://github.com/kubernetes/kubernetes/issues/2630.

Regards,

Olaf

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.