kubernetes/pkg/controller
Kubernetes Submit Queue 16b5093feb Merge pull request #46037 from ncdc/ns-controller-aggregate-errors
Automatic merge from submit-queue (batch tested with PRs 46164, 45471, 46037)

NS controller: don't stop deleting GVRs on error

**What this PR does / why we need it**:

If the namespace controller encounters an error trying to delete a
single GroupVersionResource, add the error to an aggregated list of
errors and continue attempting to delete all the GroupVersionResources
instead of stopping at the first error. Return the aggregated error list
(if any) when done. This allows us to delete as much of the content in
the namespace as we can in each pass.

**Special notes for your reviewer**:

This may help with some of the namespace deletions taking too long in our e2e tests.

**Release note**:

```release-note
```
2017-05-22 09:08:56 -07:00
..
bootstrap hack/update-bazel.sh 2017-05-11 15:59:04 -07:00
certificates bazel 2017-04-27 09:41:53 -07:00
cloud cloud initialize node in external cloud controller 2017-05-05 16:51:45 -07:00
cronjob Remove misleading error from CronJob controller when it can't find parent UID 2017-04-26 18:57:53 +01:00
daemon Merge pull request #45709 from YuPengZTE/devGetAllDaemonSetPods 2017-05-16 23:11:49 -07:00
deployment Account newly ready replicas as progress 2017-05-20 21:14:50 +02:00
disruption move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod 2017-04-17 11:38:11 -07:00
endpoint Avoid sleep in endpoint controller 2017-05-19 13:57:36 +02:00
garbagecollector Refactor move of client-go/util/clock to apimachinery 2017-05-20 14:19:48 -04:00
job Fix #45213: Syncing jobs would return error when podController exception 2017-05-15 22:52:50 +08:00
namespace NS controller: don't stop deleting GVRs on error 2017-05-18 12:01:40 -04:00
node Refactor move of client-go/util/clock to apimachinery 2017-05-20 14:19:48 -04:00
podautoscaler hack/update-bazal.sh 2017-05-15 13:51:39 -07:00
podgc autogenerated 2017-04-14 10:40:57 -07:00
replicaset More RC/RS controller logging updates 2017-04-21 08:07:18 -04:00
replication Removed TODO that renaming ReplicationManager. 2017-04-30 19:37:47 +08:00
resourcequota resource quota full resync was removed in error 2017-05-11 15:58:55 -04:00
route Add bowei to OWNERS: e2e/test dns,network; cloud route, node, service controller 2017-05-19 14:49:43 -07:00
service Add bowei to OWNERS: e2e/test dns,network; cloud route, node, service controller 2017-05-19 14:49:43 -07:00
serviceaccount generated: bazel 2017-05-20 21:58:38 -04:00
statefulset stateful_pod_control.go: format the code 2017-04-28 18:16:19 +08:00
ttl autogenerated 2017-04-14 10:40:57 -07:00
volume Don't try to attach volumes which are already attached to other nodes 2017-05-18 06:56:30 +02:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD Refactor move of client-go/util/clock to apimachinery 2017-05-20 14:19:48 -04:00
client_builder.go fix typos 2017-03-18 22:45:07 +08:00
controller_ref_manager_test.go remove invocation of k8s.io/client-go/pkg/api/install 2017-05-11 15:03:46 -07:00
controller_ref_manager.go Skip pods and replica sets marked for deletion 2017-04-23 00:29:48 +02:00
controller_utils_test.go Refactor move of client-go/util/clock to apimachinery 2017-05-20 14:19:48 -04:00
controller_utils.go Refactor move of client-go/util/clock to apimachinery 2017-05-20 14:19:48 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Use fnv.New32a() in hash instead adler32 2017-02-15 14:03:54 +08:00
OWNERS Add janetkuo to approvers for controllers 2017-02-08 14:37:25 -08:00