-
Notifications
You must be signed in to change notification settings - Fork 889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(controller): Set the rollout replica field to the previous revision replica count. Fixes #3689 #4036
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Sam Jesso <[email protected]> Signed-off-by: Sam Jesso <[email protected]>
Signed-off-by: Sam Jesso <[email protected]> Signed-off-by: Sam Jesso <[email protected]>
Signed-off-by: Sam Jesso <[email protected]> Signed-off-by: Sam Jesso <[email protected]>
Quality Gate passedIssues Measures |
r.Spec.Replicas = &rollout.Status.Replicas | ||
} else { | ||
logCtx.Info("Defaulting .spec.replicas to 1") | ||
r.Spec.Replicas = ptr.To(defaults.DefaultReplicas) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a lingering bug here, still. I believe that, even in this case, we should not set this to a static value of 1 - that seems to break the configuration value of minPodsPerReplicaSet
. While not necessarily related to the bug, I wanted to point this logic out to the maintainers for comment.
Published E2E Test Results 4 files 4 suites 3h 35m 9s ⏱️ For more details on these failures, see this check. Results for commit 8eb148f. |
Published Unit Test Results2 294 tests 2 294 ✅ 2m 59s ⏱️ Results for commit 8eb148f. |
My e2e tests on K8s 1.28 failed, all with an |
Fixes #3689
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.