integ/kubernetes/kubernetes-1.28.4/debian/deb_folder/patches
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
..
Affinity-of-guaranteed-pod-to-non-isolated-CPUs.patch Add kubernetes 1.28.4 patches 2023-12-18 01:38:21 -05:00
Identify-platform-pods-based-on-pod-or-namespace-labels.patch Identify platform pods based on pod/namespace labels 2024-04-26 02:13:49 -04:00
kubeadm-create-platform-pods-with-zero-CPU-resources.patch Add kubernetes 1.28.4 patches 2023-12-18 01:38:21 -05:00
kubeadm-reduce-UpgradeManifestTimeout.patch Set kubernetes kubeadm UpgradeManifestTimeout to 3 minutes 2024-03-17 23:03:19 -04:00
kubelet-CFS-quota-throttling-for-non-integer-cpulimit.patch Add kubernetes 1.28.4 patches 2023-12-18 01:38:21 -05:00
kubelet-cpumanager-disable-CFS-quota-throttling.patch Add kubernetes 1.28.4 patches 2023-12-18 01:38:21 -05:00
kubelet-cpumanager-infra-pods-use-system-reserved-CP.patch Add kubernetes 1.28.4 patches 2023-12-18 01:38:21 -05:00
kubelet-cpumanager-introduce-concept-of-isolated-CPU.patch Revert "Identify platform pods based on pod/namespace labels" 2024-04-22 10:31:15 -04:00
kubelet-cpumanager-keep-normal-containers-off-reserv.patch Add kubernetes 1.28.4 patches 2023-12-18 01:38:21 -05:00
kubelet-sort-isolcpus-allocation-when-SMT-enabled.patch Add kubernetes 1.28.4 patches 2023-12-18 01:38:21 -05:00
kubernetes-make-isolcpus-allocation-SMT-aware.patch Add kubernetes 1.28.4 patches 2023-12-18 01:38:21 -05:00
series Identify platform pods based on pod/namespace labels 2024-04-26 02:13:49 -04:00