I have a Kubernetes cluster with 2 nodes on which I'm running EFK stack (es + fluentd + kibana), flunetd is running on a daemonset, which means it runs two pods, one on each node.
However, I want to know how to configure discovery.type for es which I set to singleNode. In other words, does it depend on the number of my cluster nodes or not, and should I run multiple replicas of es?