Elasticsearch es-client pods are down after master node reboot

I have deployed Elasticsearch 7 in our kubernetes cluster. The es-client-7 pods are going down when the master node is rebooted. When checking logs I found "master not discovered yet" . The statefulsets es-master and es-data were running in the master node itself and its understandable that when we reboot, this statefulsets pods are also restarted.

I tired to drain the pods in master node before reboot but still ended up in same situation even before the reboot. Is there some wrong configurations in the ES deployment and statefulsets?

NOTE: As a workaround I am scaling down all the statefulsets and deployments of ES and then scaling up to make all the pods running again.

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