integ/kubernetes/kubernetes-1.22.5/centos/files
Kaustubh Dhokte 73632416b3 Preserve kube-apiserver manifest params during upgrade-activate
This change a6a5349d02
(k8s-1.22.5: remove feature-gates)
adds a script that is run during upgrade activate. The script modifies
kubeadm cluster config and eventually updates kube-apiserver manifest
to remove deprecated features-gates in k8s 1.22.

As 'kubeadm init phase' is rerun in the script, it updates the
kube-apiserver manifest to be in sync with the  kubeadm cluster config.
In that process, it nullifies the effect of these two commits,
04a1c1b080
(Rework advertise address in apiserver-change-param)
and 52ace69c83
(Amend kube-apiserver 1.23 configuration to use PSP)

This change adds a function to the script that preserves the effect
of above listed commits.

Test Plan:
On CentOS AIO-SX
PASS: Upgrade Successful. Check if advertise address in
      kube-apiserver manifest before and after running
      upgrade-activate is same.
      Ensure that the seccomp profile configuration is
      removed after upgrade-activate.
      Kube-apiserver is running and cluster is accessible after
      the upgrade.
PASS: No Shellcheck errors

Closes-Bug: 1986854

Signed-off-by: Kaustubh Dhokte <kaustubh.dhokte@windriver.com>
Change-Id: Ib97e14bc5b4ed208e65e16888e1380a3bd9fdb8f
2022-08-18 17:06:53 -04: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
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
update-k8s-feature-gates.sh Preserve kube-apiserver manifest params during upgrade-activate 2022-08-18 17:06:53 -04:00