[Multi_K8s-Plugin] Primary Rollout #6591
Draft
mohammedfirdouss wants to merge 8 commits intopipe-cd:masterfrom
Draft
[Multi_K8s-Plugin] Primary Rollout #6591mohammedfirdouss wants to merge 8 commits intopipe-cd:masterfrom
mohammedfirdouss wants to merge 8 commits intopipe-cd:masterfrom
Conversation
Signed-off-by: Mohammed Firdous <mohammedfirdousaraoye@gmail.com>
Signed-off-by: Mohammed Firdous <mohammedfirdousaraoye@gmail.com>
…ions Signed-off-by: Mohammed Firdous <mohammedfirdousaraoye@gmail.com>
…multi-cluster deployments Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.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.
What this PR does
Implements
K8S_PRIMARY_ROLLOUTfor thekubernetes_multiclusterplugin. After a canary is validated, this stage promotes the new version as PRIMARY across all targeted clusters in parallel. It supports addVariantLabelToSelector (inject variant label into workload selectors), createService (generate a PRIMARY-varianta Service), and prune (delete stale primary resources no longer in Git).Why we need it
This is the promotion step in the canary pipeline lifecycle —
K8S_CANARY_ROLLOUTandWAIT_APPROVALare validation gates, butK8S_PRIMARY_ROLLOUTis what actually delivers the new version to end-users across all clusters.Which issue(s) this PR fixes
Fixes #
Does this PR introduce a user-facing change
K8S_PRIMARY_ROLLOUTto their pipeline to promote a validated canary to primary across multiple clusters