Michail Kargakis
c82cae85f6
controller: set unavailableReplicas correctly when scaling down
...
deployment_controller.go:299] Error syncing deployment
e2e-tests-kubectl-2l7xx/e2e-test-nginx-deployment:
Deployment.extensions "e2e-test-nginx-deployment" is invalid:
status.unavailableReplicas: Invalid value: -1:
must be greater than or equal to 0
The validation error above occurs usually when a Deployment is
scaled down. In such a case we should default unavailableReplicas
to 0 instead of making an invalid api call.
2016-12-07 17:34:09 +01:00
..
2016-11-23 22:30:47 -06:00
2016-12-07 00:52:26 -08:00
2016-11-23 22:30:47 -06:00
2016-12-07 00:52:26 -08:00
2016-12-07 00:52:26 -08:00
2016-12-05 12:36:04 +01:00
2016-10-21 17:32:32 -07:00
2016-12-06 06:49:25 -08:00
2016-12-06 11:14:59 -05:00
2016-12-07 17:34:09 +01:00
2016-12-03 19:10:53 -05:00
2016-11-23 15:53:09 -08:00
2016-12-03 19:10:53 -05:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-12-06 10:32:54 -08:00
2016-12-07 00:52:26 -08:00
2016-10-21 17:32:32 -07:00
2016-11-03 14:19:34 -07:00
2016-10-21 17:32:32 -07:00
2016-12-07 03:09:30 -08:00
2016-12-06 19:07:54 -08:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-12-07 01:34:36 -08:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-12-05 19:29:34 -05:00
2016-12-03 19:10:46 -05:00
2016-12-07 00:52:26 -08:00
2016-11-01 14:42:01 -04:00
2016-12-03 19:10:53 -05:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-11-23 15:53:09 -08:00
2016-11-15 10:42:53 -08:00
2016-12-07 03:09:34 -08:00
2016-10-21 17:32:32 -07:00
2016-12-06 19:07:54 -08:00
2016-10-24 14:41:56 -07:00
2016-12-06 16:21:06 -08:00
2016-11-23 22:30:47 -06:00