integ/kubernetes/kubernetes-1.27.5/debian/deb_folder
Boovan Rajendran 1542fdea18 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.

Currently, for static CPU allocation, pods are identified
as platform pods using a hard-coded list of namespaces.
New method identifies a pod as a platform pod using label
assigned to it or its namespace.
This will also assign the pods with kube-system
namespace as platform pod.

This change will introduce a new patch
"Identify-platform-pods-based-on-pod-or-namespace-labels.patch"
to use a new method to identify the platform pods and to
remove the hardcoded list of namespaces.
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.

Closes-Bug: 2058042

Story: 2010612
Task: 49910

Change-Id: I0cc05c2e9057b64f9191317e72a1bf4d7b8d0771
Signed-off-by: Boovan Rajendran <boovan.rajendran@windriver.com>
2024-04-24 12:13:31 -04:00
..
patches Identify platform pods based on pod/namespace labels 2024-04-24 12:13:31 -04:00
source Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
changelog Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
control Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
copyright Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubeadm.conf Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubelet-cgroup-setup.sh Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-client.install Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-client.lintian-overrides Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-kubeadm.dirs Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-kubeadm.install Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-master.dirs Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-master.install Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-master.lintian-overrides Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-misc.docs Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-misc.install Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-misc.manpages Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-node.install Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-node.lintian-overrides Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
kubernetes-1.27.5-unit-test.install Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00
rules Debian: Add kubernetes 1.27.5 package 2023-09-08 13:01:58 -04:00