elasticsearch-operator icon indicating copy to clipboard operation
elasticsearch-operator copied to clipboard

Replaced daemonset with initContainers

Open xyphr opened this issue 5 years ago • 0 comments

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.

xyphr avatar Apr 28 '19 14:04 xyphr