Kubernetes: best practice to let kibana access elasticsearch


I am currently trying to setup an elastic stack in kubernetes. With some issues I managed to bring up an elasticsearch 3 node cluster as statefulset.

What is best practice to let kibana loadbalance over the cluster? lets say I have 2 kibana instances and 3 ES nodes. All ES-nodes have the role master, ingest, data.

Is it best to let kibana access the (headless) service of ES so that kubernetes will loadbalance between the nodes? And to put a loadbalancer in front of kibana to loadbalance between these two instances?

I've read a kibana best practice in docs to give each kibana it's own coordinating only node which joins the cluster. Is this still necessary in kubernetes where we have services?

Thanks a lot,

Hi, does anyone have an answer?

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