Skip to content

Commit

Permalink
blue green
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Aller <[email protected]>
  • Loading branch information
zachaller committed Dec 10, 2024
1 parent 2d5a653 commit 8dba904
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions rollout/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,6 @@ func (c *rolloutContext) reconcileStableAndCanaryService() error {
return err
}

if c.pauseContext != nil && c.pauseContext.IsAborted() && c.rollout.Spec.Strategy.Canary.TrafficRouting == nil {
err = c.ensureSVCTargets(c.rollout.Spec.Strategy.Canary.CanaryService, c.stableRS, true)
if err != nil {
return err
}
return nil
}

if dynamicallyRollingBackToStable, currSelector := isDynamicallyRollingBackToStable(c.rollout, c.newRS); dynamicallyRollingBackToStable {
// User may have interrupted an update in order go back to stableRS, and is using dynamic
// stable scaling. If that is the case, the stableRS might be undersized and if we blindly
Expand Down

0 comments on commit 8dba904

Please sign in to comment.