Relative Content

Tag Archive for elasticsearchopenshiftkibanaredhatpersistent-volumes

How to make elasticsearch.keystore persistent in statefullset Openshift?

Currently, I have set up an Elasticsearch in a StatefulSet with 3 replicas and Kibana with 1 replica in a deployment in OpenShift. Now, I am facing persistence problems in both Kibana and Elasticsearch. When I restart my pods, I lose all the data. When I deploy my StatefulSet, it automatically creates PVCs based on my replicas. If I change the password of the Kibana system and restart the pod, it gives me an error and I need to reset it also. Even if I added the Elasticsearch_username as kibana_system and Elasticsearch_password, it doesn’t work.