-
Notifications
You must be signed in to change notification settings - Fork 904
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: verify AWS TargetGroup after updating active/stable services #1348
Conversation
37a550f
to
070fb1d
Compare
9009511
to
9658ec9
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.
LGTM
9658ec9
to
2ac6e69
Compare
Signed-off-by: Jesse Suen <[email protected]>
27d4fd3
to
3acbe72
Compare
Codecov Report
@@ Coverage Diff @@
## master #1348 +/- ##
==========================================
- Coverage 81.54% 81.37% -0.17%
==========================================
Files 108 108
Lines 10104 14450 +4346
==========================================
+ Hits 8239 11759 +3520
- Misses 1304 2077 +773
- Partials 561 614 +53
Continue to review full report at Codecov.
|
67374ec
to
cf03dcf
Compare
cf03dcf
to
a5239bf
Compare
Signed-off-by: Jesse Suen <[email protected]>
a5239bf
to
2bf6d80
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Implements approach 1 in #1283.
During a blue-green update, the rollout controller will verify the AWS target group for the active service is correctly targeting the correct pod endpoints of the new replicaset after the active service has switched to point to new revision. This is executed/verified before postPromotionAnalysis runs.
During a canary update with ALB traffic routing, the rollout controller will verify the AWS target group of the stable service after modifying the selector, before attaching the scaleDownDelay annotation to the ReplicaSet, thereby preventing scaledown of the old ReplicaSet until targets have been verified.
One major changes done as part of this PR is: the injection of the scale-down-deadline annotation is now performed in followup reconciliations, as opposed the the point in time when the stable is promoted. This change is imperceivable to users, but affected assumptions of many tests.
Signed-off-by: Jesse Suen [email protected]