15db2d6990
During a K8s feature upgrade from 1.23 to 1.24 we need to remove the "RemoveSelfLink=false" feature gate from kube-apiserver. We had previously handled updating the kubeadm configmap, which was sufficient to handle the running system. However, in order to properly handle backup and restore after the K8s upgrade to 1.24 (and just for general tidiness) we need to also remove the feature gate from the saved service parameters and from the last_kube_extra_config_bootstrap.yaml file. It's possible that there are other kube-apiserver feature gates specified by the end user, this adds a bit of complexity to the code. Test Plan: PASS: Test python script and bash script in isolation. PASS: End-to-end test with k8s upgrade and backup/restore with manual modification of service parameters and yaml file. Tested with AIO-DX, AIO-SX unoptimised restore, and AIO-SX optimised restore. PASS: K8s upgrade using the new code, ensure service parameter and last_kube_extra_config_bootstrap.yaml have been updated with "RemoveSelfLink=false" feature gate removed. Closes-Bug: 1999095 Signed-off-by: Chris Friesen <chris.friesen@windriver.com> Change-Id: I82ecd821d4e1745ab0f480f9f9c0178757521038 |
||
---|---|---|
.. | ||
armada | ||
armada-helm-toolkit | ||
chartmuseum | ||
cni | ||
containerd | ||
crictl/debian | ||
docker-distribution | ||
etcd | ||
helm | ||
k8s-cni-cache-cleanup | ||
k8s-pod-recovery | ||
kubernetes-1.18.1/centos/files | ||
kubernetes-1.21.8 | ||
kubernetes-1.22.5 | ||
kubernetes-1.23.1 | ||
kubernetes-1.24.4/debian | ||
kubernetes-unversioned | ||
n3000 | ||
plugins | ||
runc/debian |