Rollout does not follow canary strategy when .spec.selector.matchLabel is changed #4070
Closed
2 tasks done
Labels
bug
Something isn't working
Checklist:
Describe the bug
When changing the
.spec.selector.matchLabel
in a rollout resource, the steps described in.spec.strategy.canary.steps
is not followed in the traffic migration to the newreplicaSet
To Reproduce
Create a
Create a rollout with following spec
Change the value of
.spec.selector.matchLabel.[app.kubernetes.io/team]
from old-team to new-teamExpected behavior
The new
replicaSet
should be created, the reset of revision history to revision 1 is expected, but the traffic migration to the new service must be done using the steps described in.spec.strategy.canary.steps
in the rolloutActual behavior
The traffic is migrated all at once to the new
replicaSet
, immediately, resulting in downtime as all pods in the newreplicaSet
are only initializingVersion
v1.7.2
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered: