[Multi_K8s-Plugin] Baseline Rollout#6606
Open
mohammedfirdouss wants to merge 6 commits intopipe-cd:masterfrom
Open
[Multi_K8s-Plugin] Baseline Rollout#6606mohammedfirdouss wants to merge 6 commits intopipe-cd:masterfrom
mohammedfirdouss wants to merge 6 commits intopipe-cd:masterfrom
Conversation
Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
…ration Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
…nding tests Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
…ation 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 the K8S_BASELINE_ROLLOUT stage for the kubernetes_multicluster plugin. This stage deploys the currently running version of an application at a reduced replica count alongside a canary — enabling direct side-by-side comparison of the current version (baseline) vs the
new version (canary) under identical conditions.
Why we need it: In a canary analysis workflow, comparing canary metrics against the full primary deployment is noisy, they run at different scales under different load. A baseline gives a proper control group: the same version as primary, at the same scale as canary. This makes regressions in the canary unambiguous.
Which issue(s) this PR fixes: Fixes #6446
Does this PR introduce a user-facing change?:
How are users affected by this change: Users can now add a K8S_BASELINE_ROLLOUT stage to their pipeline configuration. It accepts replicas (absolute or percentage), suffix (default: "baseline"), and createService options — same shape as K8S_CANARY_ROLLOUT minus patches.
Is this breaking change: No
How to migrate (if breaking change): N/A
Baseline test