Repository navigation
feat: operator-owner handoff for blue/green operator rollout - #373
Closed
garrettthomaskth wants to merge 1 commit into
Closed
garrettthomaskth wants to merge 1 commit into
garrettthomaskth wants to merge 1 commit into
Conversation
Lets a cluster be reconciled by one operator instance at a time during a blue/green operator rollout, driven by the clickhouse.com/operator-owner and clickhouse.com/desired-operator-owner labels and the clickhouse.com/operator-owner-claim annotation that data-plane-management's admin API sets (ClickHouse/data-plane-application#42687, #43331, #43695): - an operator instance that is not the operator-owner stops reconciling Services, so two operator instances never fight over the same Service - an instance that is the desired-operator-owner but not yet the owner writes a claim annotation - the current owner, seeing a different desired owner and a matching claim, moves operator-owner to the claimant - a cluster with no operator-owner label is reconciled as before by every instance, so this rolls out ahead of the migration itself OperatorOwnerID defaults to the operator's build version, matching the identifier the rollout workflow already uses for -desired-owner.
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.
Why
What
Related Issues
Fixes #
Related to #