Replies: 1 comment
-
@alexmt @jessesuen Could you please help me on this thread, or assign the relevant point of contact to answer this thread. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everyone,
I would just like to bounce off a corner case which I've discovered, where
maxUnavailable
gets rounded down and canary stepsetWeight
gets rounded up based on the code present below:argo-rollouts/utils/replicaset/replicaset.go
Line 371 in 671e52d
argo-rollouts/utils/replicaset/canary.go
Line 46 in 671e52d
Example:
Say we have an Argo Rollout (with 4 replicas) running in a cluster with the below limitations.
With the above limitations, there's no room for surging during rollout. We have configured the strategy as follows:
The way it gets evaluated is:
maxUnavailable Pods = floor(30% of 4) = 1
canary step weight = ceil(30% of 4) = 2
And due to limitation on the resources, this eventually results in ReplicaFailure, as no resources are available for the 2nd pod.
I would like to know the thoughts regarding the same, and whether this can be avoided from Rollouts Controller end.
Beta Was this translation helpful? Give feedback.
All reactions