6bd45c96dd
This adds a kubelet ExecStartPre script to ensure cgroup is setup prior to kubelet launch. This creates k8s-infra cgroup for a minimal set of resource controllers, and configures cpuset attributes to span all online cpus and nodes. This will do nothing if the k8s-infra cgroup already exists (i.e., assume already configured). NOTE: The creation of directories under /sys/fs/cgroup is volatile, and does not persist reboots. The cpuset.mems and cpuset.cpus is later updated by puppet kubernetes.pp manifest. Tests performed: Standard system: system install, lock/unlock controller & computes, forced reboot: active/standby controller, computes. Change-Id: I6a7aad5c40fe8225e9e16c8d8b40a0cffd76715d Closes-Bug: 1828270 Signed-off-by: Jim Gauld <james.gauld@windriver.com> |
||
---|---|---|
.. | ||
cloud-provider-openstack/centos | ||
docker-distribution/centos | ||
etcd/centos | ||
helm/centos | ||
kubernetes/centos | ||
registry-token-server |