integ/kubernetes
Chris Friesen 7d89eb2d35 use symlinks instead of bind mounts for K8s versioning
Switch to using "stage1" and "stage2" symlinks under
/var/lib/kubernetes to select versions for kubeadm, kubelet,
and kubectl.

We have been using bind mounts to select K8s versions, but they are not
well supported by Puppet and suffer from fragility since you cannot
remove a bind mount while an executable is still running from it.  They
also need to be re-created when creating an OSTree hotfix.

Symlinks suffer from no such issues, they just need to be created in
a filesystem that is not managed by OSTree.

NOTE: This also requires the following two changes to go in at the same
time.  All three must be in place for the symlinks to work properly.

https://review.opendev.org/c/starlingx/stx-puppet/+/916338
https://review.opendev.org/c/starlingx/ansible-playbooks/+/916336

TEST PLAN:

PASS:
Perform default install on AIO-SX, ensure no issues and K8s works as
expected.

PASS:
Perform default install on Standard lab, ensure no issues and K8s works
as expected.

PASS:
Install with K8s 1.24 on AIO-SX, do orchestrated upgrade covering
multiple K8s versions.  Ensure no issues and K8s works as expected.

PASS:
Install with K8s 1.24 on Standard lab, do  manual K8s upgrade, ensure
no issues and K8s works as expected.

Change-Id: Iffc4ed57c64c8cffd648345d7e03c7d9448ea891
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2024-04-19 14:09:18 -06:00
..
chartmuseum Upversion chartmuseum from 0.12.0 to 0.13.0 2023-08-08 09:59:54 -03:00
cni debian-pkg: Update golang for cni plugins 2024-02-23 16:43:30 +00:00
containerd Improve shutdown of containerd 2023-11-09 12:12:48 -05:00
crictl/debian Fix lint errors identified by Zuul pylint job 2023-03-15 12:07:17 +00:00
docker-distribution Upversion docker-distribution to v2.8.2+ds1-1 2023-11-10 12:44:09 -03:00
etcd Etcd upversion from 3.3.25 to 3.4.27 2024-01-31 18:49:54 +00:00
helm Enforce Helm charts uniqueness 2023-10-06 12:12:07 -03:00
k8s-cni-cache-cleanup Update k8s-cni-cache-cleanup ver based on git 2023-02-21 21:19:18 +00:00
k8s-pod-recovery Update k8s-pod-recovery pkg ver based on git 2023-02-22 15:57:27 +00:00
kubernetes-1.24.4/debian Merge "Identify platform pods based on pod/namespace labels" 2024-03-07 20:33:00 +00:00
kubernetes-1.25.3/debian Identify platform pods based on pod/namespace labels 2024-02-14 00:19:51 +00:00
kubernetes-1.26.1/debian Identify platform pods based on pod/namespace labels 2024-02-14 00:19:51 +00:00
kubernetes-1.27.5/debian Identify platform pods based on pod/namespace labels 2024-02-14 00:19:51 +00:00
kubernetes-1.28.4/debian Identify platform pods based on pod/namespace labels 2024-02-14 00:19:51 +00:00
kubernetes-1.29.2/debian Up-rev kubernetes package from 1.29.1 to 1.29.2 2024-03-04 08:49:36 -05:00
kubernetes-unversioned use symlinks instead of bind mounts for K8s versioning 2024-04-19 14:09:18 -06:00
n3000 cengn reference removal 2023-09-14 09:56:20 -04:00
plugins Fix for dwz compression error in isolcpus-device-plugin 2023-09-06 09:45:39 -04:00
runc/debian Upgrade runc to 1.1.7 2023-05-29 07:26:53 -04:00