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?
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.