-
Notifications
You must be signed in to change notification settings - Fork 880
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
feat: Wait for canary RS to have ready replicas before shifting labels #1022
feat: Wait for canary RS to have ready replicas before shifting labels #1022
Conversation
aa2c4c5
to
6028f3c
Compare
Codecov Report
@@ Coverage Diff @@
## master #1022 +/- ##
==========================================
+ Coverage 80.90% 80.93% +0.03%
==========================================
Files 102 102
Lines 9080 9086 +6
==========================================
+ Hits 7346 7354 +8
+ Misses 1240 1239 -1
+ Partials 494 493 -1
Continue to review full report at Codecov.
|
6028f3c
to
07f9d02
Compare
e810e85
to
5502336
Compare
…elector label to SVC Signed-off-by: Aaron Weisberg <[email protected]>
66290ab
to
e554327
Compare
Signed-off-by: Aaron Weisberg <[email protected]>
c62a9e8
to
76d65cb
Compare
Signed-off-by: Aaron Weisberg <[email protected]>
76d65cb
to
2482041
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
Great improvement!
feat: Wait for first batch of new RS pods to be ready before adding canary selector label to an SVC. Fixes #1026
reconcileStableAndCanaryService
function (can easily be reversed if not desirable).ensureSVCTargets
.newRSReady
which needs to returntrue
before the canary SVC gets the newRS selector label.ReadyReplicas
<Replicas
and not have0
ReadyReplicas
, thereby ensuring the first batch of Pods are ready before targeting the newRS.(Was also considering perhaps making this label addition an optional
step
so when specified, the user can control precisely when the label swap happens.)Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.