k3s/pkg/util/deployment
Michail Kargakis 77097d9a20 kubectl: set maxUnavailable to 1 if both fenceposts resolve to zero
Due to rounding down for maxUnavailable, we may end up with rolling updates
that have zero surge and unavailable pods something that 1) is not allowed
as per validation, 2) blocks updates. If we end up in such a situation
set maxUnavailable to 1 on the theory that surge might not work due to
quota.
2016-03-07 13:03:41 +01:00
..
deployment.go kubectl: set maxUnavailable to 1 if both fenceposts resolve to zero 2016-03-07 13:03:41 +01:00
deployment_test.go Update updatePodWithRetries to get and then update 2016-03-01 14:40:21 -08:00