config/puppet-manifests/src/modules/platform
Jim Gauld dba4175523 AIO reaffine tasks and k8s-infra during startup
This update reimplements the affine-tasks init script and service to
dynamically reaffine tasks and k8s-infra cgroup cpuset on AIO nodes.
This accomodates CPU intensive phases of work. Tasks are initially
allowed to float across all cores. Once system is at steady-state,
this will ensure that K8S pods are constrained to platform cores and
do not run on cores with VMs/containers.

This will speedup the first stx-application apply, as well as pod
recovery after lock/unlock, reboot, and controller swact.

This script waits forever for sufficient platform readiness criteria
(e.g., system critical pods are recovered, critical openstack pods
are running, nova-compute pod is running) before reaffining back
to platform cores.

This corrects the pod affinity problem seen on AIO introduced by fix
for bug: 1826592, commit e513baad44,
i.e., fix allowed the AIO to not timeout, but left pods floating.

Change-Id: Ic257378eac451904a200a0f2e79f7bc4f8373009
Partial-Bug: 1832781
Signed-off-by: Jim Gauld <james.gauld@windriver.com>
2019-07-16 12:46:30 -04:00
..
files Docker Registry Keystone Authentication 2019-03-07 12:55:59 -05:00
lib Make Ceph the default Storage Backend 2019-04-17 18:42:48 +03:00
manifests AIO reaffine tasks and k8s-infra during startup 2019-07-16 12:46:30 -04:00
templates AIO reaffine tasks and k8s-infra during startup 2019-07-16 12:46:30 -04:00