ClusterRoleBindingresources. Creating these cluster-wide resources is often prohibited for users that are not a Kubernetes administrator.
values.yamlfile used to install StackState:
vm.max_map_countLinux system setting is usually lower than required for Elasticsearch to start, an init container is used that runs in privileged mode and as the root user. The init container is enabled by default to allow the
vm.max_map_countsystem setting to be changed.
values.yamlused to install StackState:
vm.max_map_countsetting, run the following command. Note that it runs a privileged pod:
vm.max_map_countsetting is not at least
262144, it will need to be increased in a different way or Elasticsearch will fail to start up and its pods will be in a restart loop. The logs will contain an error message like this:
vm.max_map_countcan be set to a higher default on all nodes by either changing the default node configuration (for example via init scripts) or by having a DaemonSet do this right after node startup. The former is very dependent on your Kuberentes cluster setup, so there are no general solutions there.