upgrade_k8s_config.sh has been deprecated and
removed due to lack of support for "flow" style YAML.
Deprecated functionality has been superseded
by better YAML-aware handling in sysinv.
Updating how we invoke kubeadm, we will now use an explicit
version of kubeadm when calling it. The version called
will now match the version we are upgrading to in order to handle
the format unsupported by previous versions of kubeadm.
Test Plan
PASS:
- Manually update scripts on controllers and worker nodes based on https://review.opendev.org/c/starlingx/integ/+/880390
- Perform manual upgrade from k8s v1.21.8 to v1.22.5
- Verify kubernetes successfully upgraded to v1.22.5
Test was performed in the lab with local changes
to verify the code.
Patch was not tested.
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/880547 /opendev. org/starlingx/ stx-puppet/ commit/ 77e0c7c14fb4891 94960bd7bf5f9f5 f0e9495020
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 77e0c7c14fb4891 94960bd7bf5f9f5 f0e9495020
Author: Gleb Aronsky <email address hidden>
Date: Fri Apr 14 13:17:11 2023 -0700
Remove references to deprecated script
upgrade_ k8s_config. sh has been deprecated and
removed due to lack of support for "flow" style YAML.
Deprecated functionality has been superseded
by better YAML-aware handling in sysinv.
Updating how we invoke kubeadm, we will now use an explicit
version of kubeadm when calling it. The version called
will now match the version we are upgrading to in order to handle
the format unsupported by previous versions of kubeadm.
Test Plan /review. opendev. org/c/starlingx /integ/ +/880390
PASS:
- Manually update scripts on controllers and worker nodes based on
https:/
- Perform manual upgrade from k8s v1.21.8 to v1.22.5
- Verify kubernetes successfully upgraded to v1.22.5
Test was performed in the lab with local changes
to verify the code.
Patch was not tested.
Closes-Bug: 2017696 95fe0da3cae7604 bf8055c0d4f
Change-Id: I840eb566057be4
Signed-off-by: Gleb Aronsky <email address hidden>