Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Upgrade tests do not check pod instances and restart counts are identical for workload objects #78904
An upgrade of only the API server should not result in pod recreations or container restarts.
The workload upgrade tests do not currently check if pod instances and container restart counts are identical.
What you expected to happen:
At the end of the upgrade test setup step, record the pod instances for the workload object in question, their uids, container restart counts, and associated node names and versions.
In the verification step post-upgrade, if the associated nodes still exist at the same versions, verify the same pod instances still exist with the same container restart counts.
For bonus points, an unrelated update (e.g. adding an annotation to the workload object) should be performed, to verify that no defaults are added in the update path that would result in a spurious rollout of new pods.