integ/kubernetes
Boovan Rajendran 9ec39a1da0 Identify platform pods based on pod/namespace labels
Pods with namespace 'kube-system', or labeled with
'app.starlingx.io/component=platform' are identified as
'platform'. These have isolated cpu affinity cpuset when
kubelet cpu-manager 'static' policy is configured. This
decouples performance of application pods from the platform.

The new patch Identify-platform-pods-based-on-pod-or-namespace-labels
patch is used to identify platform pods using above criteria for
Kubernetes 1.25 and later. The hard-coded list of platform namespaces
is no longer required. The original hard-coded list is still kept
for Kubernetes 1.24 so we can phase in this change.

This will also fix the Kubernetes make test fail issue after merging
the review https://review.opendev.org/c/starlingx/integ/+/907637

This change also include the missed out patch
kubeadm-reduce-UpgradeManifestTimeout.patch for k8s 1.29.

Test Plan:
PASS: Run all Kubelet, kubeadm, kubectl make tests for affected code.
PASS: All affected versions of kubernetes package build successfully.
PASS: Create a pod with the platform label. Pod is classified as
      a platform pod.
PASS: Create a pod without the platform label but in a namespace with
      the platform label. Pod is classified as a platform pod.
PASS: Create a pod without the platform label and in a namespace
      without the platform label. Pod is not classified as a platform
      pod.
PASS: Verify correct cpuset affinity of platform vs application pods
      after host lock/unlock
PASS: Verify kube-system namespace pods are correctly identified
      as Platform

Closes-Bug: 2058042

Story: 2010612
Task: 49910

Change-Id: I0cc05c2e9057b64f9191317e72a1bf4d7b8d0771
Signed-off-by: Boovan Rajendran <boovan.rajendran@windriver.com>
2024-04-26 02:13:49 -04:00
..
chartmuseum Upversion chartmuseum from 0.12.0 to 0.13.0 2023-08-08 09:59:54 -03:00
cni debian-pkg: Update golang for cni plugins 2024-02-23 16:43:30 +00:00
containerd Improve shutdown of containerd 2023-11-09 12:12:48 -05:00
crictl/debian Fix lint errors identified by Zuul pylint job 2023-03-15 12:07:17 +00:00
docker-distribution Upversion docker-distribution to v2.8.2+ds1-1 2023-11-10 12:44:09 -03:00
etcd Etcd upversion from 3.3.25 to 3.4.27 2024-01-31 18:49:54 +00:00
helm Use diff tool to differentiate charts 2024-04-02 12:12:54 -03:00
k8s-cni-cache-cleanup Update k8s-cni-cache-cleanup ver based on git 2023-02-21 21:19:18 +00:00
k8s-pod-recovery Update k8s-pod-recovery pkg ver based on git 2023-02-22 15:57:27 +00:00
kubernetes-1.24.4/debian Revert "Identify platform pods based on pod/namespace labels" 2024-04-22 10:31:15 -04:00
kubernetes-1.25.3/debian Identify platform pods based on pod/namespace labels 2024-04-26 02:13:49 -04:00
kubernetes-1.26.1/debian Identify platform pods based on pod/namespace labels 2024-04-26 02:13:49 -04:00
kubernetes-1.27.5/debian Identify platform pods based on pod/namespace labels 2024-04-26 02:13:49 -04:00
kubernetes-1.28.4/debian Identify platform pods based on pod/namespace labels 2024-04-26 02:13:49 -04:00
kubernetes-1.29.2/debian Identify platform pods based on pod/namespace labels 2024-04-26 02:13:49 -04:00
kubernetes-unversioned Update kubelet.kubeconfig environment variable 2023-07-17 17:58:48 -04:00
n3000 cengn reference removal 2023-09-14 09:56:20 -04:00
plugins Fix for dwz compression error in isolcpus-device-plugin 2023-09-06 09:45:39 -04:00
runc/debian Up-rev runc package to 1.1.12 2024-03-20 09:43:36 -04:00