-
Notifications
You must be signed in to change notification settings - Fork 739
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
Support for overriding primary scaler replicas #1343
Conversation
Codecov ReportBase: 54.24% // Head: 54.34% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1343 +/- ##
==========================================
+ Coverage 54.24% 54.34% +0.10%
==========================================
Files 84 84
Lines 10016 10038 +22
==========================================
+ Hits 5433 5455 +22
Misses 3927 3927
Partials 656 656
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
204ebea
to
9963839
Compare
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.
Let's introduce here https://github.com/fluxcd/flagger/blob/main/docs/gitbook/usage/how-it-works.md#canary-target a section for the autoscaler and explain its new behaviour.
9963839
to
5e29dec
Compare
Adding support for overriding the primary scaler replica count via .spec.autoscalerRef.primaryScalerReplicas, a feature which would enable users to define a different scaling configurations for the primary. This can be useful in the situation where the user does not want to scale the canary workload to the exact same size as the primary, especially when opting for a canary deployment pattern where only a small portion of traffic is routed to the canary workload pods. Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
5e29dec
to
5d3ab05
Compare
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.
thanks, lgtm! 🚀
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.
LGTM
Thanks @relu 🏅
Adding support for overriding the primary scaler replica count via .spec.autoscalerRef.primaryScalerReplicas, a feature that would enable users to define a different scaling configuration for the primary.
This can be useful in the situation where the user does not want to scale the canary workload to the exact same size as the primary, especially when opting for a canary deployment pattern where only a small portion of traffic is routed to the canary workload pods.