k3s/pkg/controller
Kubernetes Submit Queue b02261a140
Merge pull request #67826 from deads2k/controller-03-missingisgone
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

controller expectations for deletion can be met by 404

A controller asks pod control to delete a pod because it wants the pod to be gone.  It doesn't really care if the imperative delete action itself succeeds.  When the pod is already gone (404), then the desire of the controller is met.

Since the pods themselves are cache driven, you can hit this condition more than you may like. See https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/replicaset/replica_set.go#L582 as an example.

@kubernetes/sig-apps-bugs 
/assign @janetkuo @tnozicka 


```release-note
latent controller caches no longer cause repeating deletion messages for deleted pods
```
2018-08-26 11:56:23 -07:00
..
bootstrap Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
certificates UT case of certificate_controller 2018-07-14 16:40:08 +08:00
cloud Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
clusterroleaggregation Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
cronjob Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
daemon Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
deployment Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
disruption Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
endpoint Allow headless svc without ports to have endpoints 2018-08-21 08:36:27 -07:00
garbagecollector Add sig/api-machinery label to apimachinery OWNERS files 2018-08-20 18:46:47 +05:30
history Merge pull request #67485 from linyouchong/pr-0816 2018-08-21 21:10:05 -07:00
job Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
namespace Add sig/api-machinery label to apimachinery OWNERS files 2018-08-20 18:46:47 +05:30
nodeipam Update external k8s.io/metrics imports 2018-07-02 10:44:18 +02:00
nodelifecycle Fix out of bounds error on non-64-bit machines 2018-06-28 16:29:52 -04:00
podautoscaler Merge pull request #67252 from jbartosik/metric-sanitization 2018-08-24 15:25:07 -07:00
podgc add ns info for pod in log 2018-08-01 16:25:34 +08:00
replicaset Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
replication Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
resourcequota allow failed discovery on initial quota controller start 2018-08-17 11:42:54 -04:00
route Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
service Implement GetLoadBalancerName per provider and add DefaultLoadBalancerName. 2018-08-04 00:36:48 -04:00
serviceaccount Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
statefulset Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
testutil Merge pull request #65052 from dbdd4us/master 2018-07-11 22:25:03 -07:00
ttl Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
util/node Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
volume Merge pull request #67062 from cofyc/fix66287 2018-08-17 11:58:06 -07:00
.import-restrictions
BUILD Update Bazel 2018-08-15 13:34:31 +02:00
OWNERS
client_builder.go Deprecate ListWatchUntil, fix it and call places 2018-08-15 13:34:31 +02:00
controller_ref_manager.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_ref_manager_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_utils.go controller expectations for deletion can be met by 404 2018-08-24 09:03:51 -04:00
controller_utils_test.go controller expectations for deletion can be met by 404 2018-08-24 09:03:51 -04:00
doc.go
lookup_cache.go