I am trying to understand the master election process on multimaster Elasticsearch cluster on kubernetes. I found one github repo where he demonstrate how to run Elasticsearch on top of Kubernetes. https://github.com/pires/kubernetes-elasticsearch-cluster
However, I am coming from docker swarm background now we are in process to port our services on Kubernetes.
In Docker Swarm "dnsrr" is the key which tell the Elasticsearch how many master containers/ip running for the services.
But in Kubernetes I don't find such config. Any info would really appreciated, it's not blocker for me I can able to run the ES on K8s but trying to understand internals.