Multiple versions of kubernetes are required to support upgrade.
This adds staged version of kubernetes 1.21.3, built with a
specific version of golang.
All subpackage versions are included in the iso image without
collisions.
The following patches are ported to specific kubernetes version:
kubelet-cpumanager-disable-CFS-quota-throttling-for-.patch
kubelet-cpumanager-keep-normal-containers-off-reserv.patch
kubelet-cpumanager-infrastructure-pods-use-system-re.patch
kubelet-cpumanager-introduce-concept-of-isolated-CPU.patch
kubeadm-create-platform-pods-with-zero-CPU-resources.patch
enable-support-for-kubernetes-to-ignore-isolcpus.patch
The following changes were made for 1.21.3:
- following upstream commit was reverted:
Revert-use-subpath-for-coredns-only-for-default-repo.patch
- kubelet-cpumanager-disable-CFS-quota-throttling-for-.patch
was refactored due to new internal_container_lifecycle framework
We leverage the same mechanism to set Linux resources as:
cpu manager: specify the container CPU set during the creation
(commit 38dc7509f862f081828e7d9167107b8c6e98ea23).
- kubelet-cpumanager-introduce-concept-of-isolated-CPU.patch
was refactored due to upstream API change:
node: podresources: make GetDevices() consistent
(commit ad68f9588c72d6477b5a290c548a9031063ac659).
The routine podIsolCPUs() was refactored in 1.21.3 since the
API p.deviceManager.GetDevices() is returning multiple devices
with a device per cpu. The resultant cpuset needs to be the
aggregate.
Story: 2008972
Task: 43056
Signed-off-by: Jim Gauld <james.gauld@windriver.com>
Change-Id: I5ba7ff2e6aebb744af265698c0f90256ac5e70f4