integ/kubernetes/kubernetes-1.22.5/centos/files
Kaustubh Dhokte a6a5349d02 k8s-1.22.5: remove feature-gates
This script is intended to be run during platform upgrade.
('upgrade-activate' phase). It removes below feature gates
from kubeadm-config configmap and rewrites kube-apiserver
and kube-controller-manager manifests.
  - SCTPSupport=true
  - HugePageStorageMediumSize=true
  - TTLAfterFinished=true

Background:
HugePageStorageMediumSize is deprecated in Kubernetes 1.22
SCTPSupport blocks kube-apiserver pod to spawn after control-plane upgrade
TTLAfterFinished value defaults to true from k8s 1.21

Test Plan (On CentOS)
On AIO-SX and AIO-DX:
PASS: Full platform upgrade successful.
      Confirm kubeadm-configmap is updated, kube-apiserver
      and controller-manager static manifests and processes
      are updated with updated feature-gates after platform
      upgrade.
PASS: Upgrade k8s 1.21.8 to 1.22.5 after platform upgrade.
      Create a PV, PVC and deploy a pod.
PASS: Package builds successfully.

Story: 2009789
Task: 45627

Signed-off-by: Kaustubh Dhokte <kaustubh.dhokte@windriver.com>
Change-Id: I51400c63226b532eed4a05fddb255b877cc5bbb5
2022-06-19 03:42:53 -04:00
..
enable-support-for-kubernetes-to-ignore-isolcpus.patch Add kubernetes 1.22.5 pkg 2022-01-28 11:56:47 +02:00
kubeadm-create-platform-pods-with-zero-CPU-resources.patch Add kubernetes 1.22.5 pkg 2022-01-28 11:56:47 +02:00
kubeadm.conf Move k8s container cleanup to containerd service 2022-04-12 13:52:40 -04:00
kubelet-cgroup-setup.sh Add kubernetes 1.22.5 pkg 2022-01-28 11:56:47 +02:00
kubelet-cpumanager-disable-CFS-quota-throttling-for-.patch Add kubernetes 1.22.5 pkg 2022-01-28 11:56:47 +02:00
kubelet-cpumanager-infrastructure-pods-use-system-re.patch Add metrics-server to list of platform namespaces 2022-03-10 12:04:30 -05:00
kubelet-cpumanager-introduce-concept-of-isolated-CPU.patch Add kubernetes 1.22.5 pkg 2022-01-28 11:56:47 +02:00
kubelet-cpumanager-keep-normal-containers-off-reserv.patch Add kubernetes 1.22.5 pkg 2022-01-28 11:56:47 +02:00
kubelet-sort-isolcpus-allocation-when-SMT-enabled.patch Port kubelet make isolcpus allocation SMT awareness to 1.22.5 2022-03-07 15:03:24 -05:00
kubernetes-make-isolcpus-allocation-SMT-aware.patch Port kubelet make isolcpus allocation SMT awareness to 1.22.5 2022-03-07 15:03:24 -05:00
Revert-use-subpath-for-coredns-only-for-default-repo.patch Add kubernetes 1.22.5 pkg 2022-01-28 11:56:47 +02:00
update-k8s-feature-gates.sh k8s-1.22.5: remove feature-gates 2022-06-19 03:42:53 -04:00