Closed pstibrany closed 2 months ago
This PR enhances rollout-max-unavailable annotation to support values specified as percentage of statefulset replicas. Eg. rollout-max-unavailable: 50%. Returned value is floor(replicas * percentage), but never less than 1.
rollout-max-unavailable
rollout-max-unavailable: 50%
floor(replicas * percentage)
This PR enhances
rollout-max-unavailable
annotation to support values specified as percentage of statefulset replicas. Eg.rollout-max-unavailable: 50%
. Returned value isfloor(replicas * percentage)
, but never less than 1.