bhouse-nexthop commented on PR #14912: URL: https://github.com/apache/cloudstack/pull/14912#issuecomment-7257826805
Tested on a KVM lab running a 4.22 build that includes this commit. Primary storage is Ceph RBD. The CKS cluster has 1 control and 2 worker nodes with Calico. It was upgraded from Kubernetes 1.33.1 to 1.34.7, using a binaries ISO made with the 4.22 `create-kubernetes-binaries-iso.sh`, with `cloud.kubernetes.cluster.upgrade.retries=0`. Result: 15 of 15 checks passed. | Check | Result | |---|---| | Upgrade script attempts that failed (`unable to upgrade Kubernetes node` in the log) | 0 | | Cluster state | Upgrading, then Running at 1.34.7 | | Nodes after the upgrade | all 3 Ready at v1.34.7 and schedulable | | Order | control node at v1.34.7 before any worker; one `Upgrading node` log line per node, control first | | Nodes cordoned at once | never more than 1 | | ISO attached after the upgrade | none | The upgrade took 390 s. Without this change, earlier upgrades on the same lab failed the control node's first attempt with the `Forbidden` error from #14911 (`unable to upgrade Kubernetes node : <cluster>-control-..., retries left: 3`), and on a main build the same failure happened in 4 of 4 upgrades. The cluster was deleted afterwards and the setting was put back to 3. Not tested: clusters with more than one control node (only the first control node runs these applies), and an API server that never comes back (the stub test in the description covers that path). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
