kubernetes/pkg/controller
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
..
certificates Change 'controller.go' filenames to more meaningfull ones 2016-12-05 09:12:22 +01:00
cronjob Change 'controller.go' filenames to more meaningfull ones 2016-12-05 09:12:22 +01:00
daemon refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
deployment controller: set unavailableReplicas correctly when scaling down 2016-12-07 17:34:09 +01:00
disruption refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
endpoint refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
garbagecollector Add verb support to gc and namespace controllers 2016-12-05 12:36:05 +01:00
informers demonstrate separation of controller intializers 2016-12-05 10:24:45 -05:00
job refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
namespace Update generated files 2016-12-05 12:42:31 +01:00
node Make NodeController test utils usable from outside 2016-12-05 10:56:06 +01:00
petset refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
podautoscaler refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
podgc gcOrphaned check via the API that the node doesn’t exist 2016-12-06 12:17:38 +01:00
replicaset controller: requeue replica sets for availability checks 2016-12-05 02:41:15 +01:00
replication controller: requeue replica sets for availability checks 2016-12-05 02:41:15 +01:00
resourcequota generated: refactor 2016-11-23 22:30:47 -06:00
route refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
service Merge pull request #31321 from anguslees/lb-nodes 2016-12-05 20:16:53 -08:00
serviceaccount Update autogenerated files 2016-12-06 12:25:57 +01:00
volume Add integration tests for desire state of world populator 2016-12-06 06:52:52 -05:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD refactor: generated 2016-12-03 19:10:46 -05:00
client_builder.go use the client builder to support using SAs 2016-11-28 15:02:22 -05:00
controller_ref_manager.go generated: refactor 2016-11-23 22:30:47 -06:00
controller_utils_test.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
controller_utils.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
OWNERS Remove myself from a bunch of OWNERS files, as I am too overloaded 2016-05-11 13:34:51 -07:00