Repository navigation
Conversation
Scripts under test/uat/cluster-upgrade/ build a cluster with v0.35.0, then run this build's `kube cluster upgrade` through the main path, other starting points, the gate and refused input, failed steps, killed runs, terminal-only cases, and other commands after the upgrade. Each check prints one PASS or FAIL line. docs/dev/cluster-upgrade-uat.md lists the scenarios, how to run them, and what each one expects. Refs #1508 Signed-off-by: alex-au <alex.w.aus@gmail.com>
What each upgrade step does to the node, measured on a VM, and what to do when a step fails or the run is killed. Linked from the Upgrade section of docs/commands/README.md. Refs #1508 Signed-off-by: alex-au <alex.w.aus@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a UAT for
kube cluster upgradethat runs on real VMs from a cluster an older release installed, and anoperator guide for the upgrade. The scenarios cover the main path, other starting points, the feature gate
and refused input, a step that fails, a run that is killed, and other commands after the upgrade. Each
scenario is a script that prints one
PASSorFAILline per check.What is in it
docs/dev/cluster-upgrade-uat.mddocs/upgrading-the-cluster.mdtest/uat/cluster-upgrade/lib.shtest/uat/cluster-upgrade/setup.shtest/uat/cluster-upgrade/group-a.sh...group-f.shtest/uat/cluster-upgrade/group-tty.shdocs/commands/README.md,docs/dev/cluster-upgrade.md,docs/dev/acceptance-tests.md,CLAUDE.mdHow it was run
Build
bfd0cb86(main), linux/arm64, on 3 vCPU / 4 GiB UTM clones of the golden image, 3-4 at a time onone Mac, 2026-12-02 to 12-03. Each scenario got a fresh clone. The host-side runner (cloning, MAC, DHCP,
queueing) is not in this PR; the doc says what it must do.
Results
40 scenarios; 39 ran on VMs. Only D3 is not scripted (see below).
system.yamlkey); the record was checked by hand: cri-o 1.36.7cilium-mismatch, and finding 1; run 2 waits for Cilium and passesDowntime per step, from A (block node service / API server unreachable, total and longest gap):
--all --to 1.35(Cilium 1.20, Kubernetes 1.35)--all(MetalLB, Kubernetes 1.36, refresh)Findings (not fixed here)
helm rollback.text file busy).--output jsonon a terminal applies without asking; the guard that should refuse never runs.kubeadm upgrade applyloses kubeadm's own output (automaRunBashScriptContext).CaptureOutputreplacesos.Stdout/os.Stderr, and GC then closes fd 1 and 2.The operator guide says what to do for each until they are fixed. Issue drafts are ready to file.
Not scripted
Related Issues