kubernetes/pkg/controller
Kubernetes Submit Queue 8beb39d07e Merge pull request #51279 from kow3ns/daemonset-respects-termination
Automatic merge from submit-queue (batch tested with PRs 51628, 51637, 51490, 51279, 51302)

Ensure that DaemonSet respects termination

**What this PR does / why we need it**:
#43077 correctly prevents the DaemonSet controller from adopting deleted Pods, but, as pointed out in #50477, the controller now has no sensitivity to the termination lifecycle (i.e TerminationGracePeriodSeconds) of the Pods it creates. This PR attempts to balance the two. DaemonSet controller will now consider deleted Pods owned by a DaemonSet during creation, but it will not consider deleted Pods as targets for adoption.

fixes #50477

```release-note
#43077 introduced a condition where DaemonSet controller did not respect the TerminationGracePeriodSeconds of the Pods it created. This is now corrected.
```
2017-09-01 00:11:20 -07:00
..
bootstrap controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
certificates controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
cloud Merge pull request #44680 from rrati/pvl-controller 2017-08-31 23:13:23 -07:00
cronjob Revert "Enable batch/v1beta1.CronJobs by default" 2017-08-31 09:54:16 -07:00
daemon Ensures that the DaemonSet controller does not launch a Pod on a Node while waiting for a Pod that it has previously created to terminate. 2017-08-31 10:29:03 -07:00
deployment controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
disruption controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
endpoint controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
garbagecollector update GC controller to wait until controllers have been initialized once 2017-08-31 09:01:38 -04:00
history controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
job Merge pull request #48454 from weiwei04/check-job-activeDeadlineSeconds 2017-08-29 08:25:06 -07:00
namespace add an starting info log of namespace controller. 2017-08-26 00:25:37 +08:00
node Merge pull request #49257 from k82cn/k8s_42001 2017-08-31 23:13:20 -07:00
podautoscaler controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
podgc Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
replicaset controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
replication controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
resourcequota Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
route Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
service controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
serviceaccount Add enj as reviewer to OWNERS 2017-08-17 20:42:46 -04:00
statefulset controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
testutil Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
ttl controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
volume Merge pull request #51228 from wongma7/mount-options-sc 2017-08-29 23:48:32 -07:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD move retry to client-go 2017-08-14 14:16:26 -07:00
client_builder.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
controller_ref_manager_test.go Merge pull request #50353 from zhangxiaoyu-zidif/Delete-redundant-expectError-for-controller-ref-test 2017-08-12 00:00:55 -07:00
controller_ref_manager.go Migrate to GetControllerOf from meta/v1 package 2017-08-06 22:41:58 +10:00
controller_utils_test.go CollisionCount should have type int32 across controllers that use it for collision avoidance 2017-08-18 10:48:12 +08:00
controller_utils.go controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02: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 remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00