integ/kubernetes
Jim Gauld 6bd45c96dd Create k8s-infra cgroup path before kubelet launch
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>
2019-05-17 00:28:04 -04:00
..
cloud-provider-openstack/centos Add Cloud-Provider-Openstack to Build 2019-04-10 10:45:51 -04:00
docker-distribution/centos Enable Local Docker Registry Image Delete 2019-05-09 15:26:30 -04:00
etcd/centos Add spec file for building etcd 3.2.24 2019-04-10 12:51:55 -05:00
helm/centos Add support for multiple helm repositories in helm-upload 2019-04-27 05:02:48 -04:00
kubernetes/centos Create k8s-infra cgroup path before kubelet launch 2019-05-17 00:28:04 -04:00
registry-token-server Build registry-token-server without dep 2019-01-18 09:36:15 -05:00