kubernetes/pkg/controller/deployment
Michail Kargakis 1388919976 controller: resolve unavailable in conjuction with surge for deployments
Due to rounding down for maxUnavailable, we may end up with deployments
that have zero surge and unavailable pods something that 1) is not allowed
as per validation, 2) blocks deployments. 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_controller_test.go controller: resolve unavailable in conjuction with surge for deployments 2016-03-07 13:03:41 +01:00
deployment_controller.go controller: resolve unavailable in conjuction with surge for deployments 2016-03-07 13:03:41 +01:00