commit cbad6b792157d066dd601f0f9ce62dc177d4c848
Author: Jim Gauld <email address hidden>
Date: Fri Dec 6 15:25:43 2019 -0500
Correct reaffining of platform and K8S on AIO
This ensures correct cpuset isolation when doing dynamic reaffining on
AIO during host initialization, based on kubernetes cpu-manager-policy.
This corrects a bug where some K8S registry and containerd-shim
processes were floating across all cores instead of platform cores due
to improper matching with 'docker' string pattern.
This manually affines docker '/pause' tasks to cpu 0.
K8S tasks are dynamically reaffined only for openstack computes.
Change-Id: I00abbd10d1a3f4dfdc46cd961f55d75339932339
Closes-Bug: 1850242
Signed-off-by: Jim Gauld <email address hidden>
(cherry picked from commit 1903bbab7f7dc48259b4770e76a80a6fc7e77805)
Reviewed: https:/ /review. opendev. org/698313 /git.openstack. org/cgit/ starlingx/ utilities/ commit/ ?id=cbad6b79215 7d066dd601f0f9c e62dc177d4c848
Committed: https:/
Submitter: Zuul
Branch: r/stx.3.0
commit cbad6b792157d06 6dd601f0f9ce62d c177d4c848
Author: Jim Gauld <email address hidden>
Date: Fri Dec 6 15:25:43 2019 -0500
Correct reaffining of platform and K8S on AIO
This ensures correct cpuset isolation when doing dynamic reaffining on
AIO during host initialization, based on kubernetes cpu-manager-policy.
This corrects a bug where some K8S registry and containerd-shim
processes were floating across all cores instead of platform cores due
to improper matching with 'docker' string pattern.
This manually affines docker '/pause' tasks to cpu 0.
K8S tasks are dynamically reaffined only for openstack computes.
Change-Id: I00abbd10d1a3f4 dfdc46cd961f55d 75339932339 259b4770e76a80a 6fc7e77805)
Closes-Bug: 1850242
Signed-off-by: Jim Gauld <email address hidden>
(cherry picked from commit 1903bbab7f7dc48