Repository navigation
policy: allow minor releases to change the worker pod template - #4253
Open
Haven Xia (HavenXia) wants to merge 3 commits into
Open
Haven Xia (HavenXia) wants to merge 3 commits into
Haven Xia (HavenXia) wants to merge 3 commits into
Conversation
The version skew policy said ate-controller renders the same worker pod template for a whole major, so that no WorkerPool rolls at ate-controller's step. That left no way to ship a change to the worker pod spec, such as a security fix, before the next major. A minor release may now change the template. The policy and the upgrade runbook say what that costs: every WorkerPool rolls a second time at ate-controller's step, and a rollback rolls them there too. ateworker N+1 must still run with the template ate-controller N renders. Signed-off-by: Haven Xia <haoyuxia@google.com>
Non-breaking changes that still affect an upgrade, such as a minor release changing the worker pod template, need a visible place in the release notes without using the breaking-change label. Add an Upgrade Notes category for the upgrade-note label right after Breaking Changes in .github/release.yml, and document it in the release notes guide, the releasing guide, and the pull request template. Signed-off-by: Haven Xia <haoyuxia@google.com>
Benjamin Elder (BenTheElder)
left a comment
Collaborator
There was a problem hiding this comment.
Agent assisted first pass :-) I agree with the direction, the runbook needs a couple more spots updated for the extra roll.
- we need to create the
upgrade-notelabel, it doesn't exist yet, and #3466 should get it since 1.1 already changes the template vs 1.0 - until the golden test from #4017 lands nothing flags a template change in review, so the runbook depends on someone remembering the label
- the upgrade e2e follow-up has to land before #4249's cross-minor lane, which crosses #3466 and will fail at upgrade_test.go:224 until then
- #4182 is waiting on this too
State in the version skew policy that patch releases do not change the worker pod template, and that ate-api-server N+1 must not rely on behavior only the N+1 template enables until ate-controller's roll finishes. Scope the roll wording to affected WorkerPools rather than every pool. Update the upgrade runbook overview, preflight, step 4b (all-at-once roll, new ReplicaSet check, failed worker startup, and Actors note), and step 4 rollback guidance (evictions and when to wait for rolls). Signed-off-by: Haven Xia <haoyuxia@google.com>
Member
Author
Created and added to #3466.
I have them locally, will send out soon.
Yes.
Added label to it and left a comment there. |
This branch has not been deployed
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.
Part of #4017. A follow-up PR will add the worker pod template golden test and update upgrade e2e.
version-skew-policy.mdand upgrade runbook so a minor release may change the worker pod template, documenting the extraWorkerPoolroll on upgrade and rollback.Upgrade Notessection for theupgrade-notelabel in.github/release.yml, and document it indocs/dev/release-notes.md,docs/dev/releasing.md, and.github/PULL_REQUEST_TEMPLATE.md.AI use: Gemini-assisted, I reviewed and verified the changes.