elasticsearch-operator
elasticsearch-operator copied to clipboard
Replaced daemonset with initContainers
Using deamonset for setting the sysctl parameter "vm.max_map_count" spins up a pod in every node in the cluster, which might become an issue in large clusters. Also, the pods will use up a not-so-insignificant amount of IP space of the cluster. A better alternative is to use initContainers to set the kernel parameter to the required value so that unnecessary pods are not created in the cluster.