k3s/pkg/controller/node
Kubernetes Submit Queue 49e7d640d9 Merge pull request #35235 from foxish/node-controller-no-force-deletion
Automatic merge from submit-queue

Node controller to not force delete pods

Fixes https://github.com/kubernetes/kubernetes/issues/35145

- [x] e2e tests to test Petset, RC, Job.
- [x] Remove and cover other locations where we force-delete pods within the NodeController.

**Release note**:

<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->

``` release-note
Node controller no longer force-deletes pods from the api-server.

* For StatefulSet (previously PetSet), this change means creation of replacement pods is blocked until old pods are definitely not running (indicated either by the kubelet returning from partitioned state, or deletion of the Node object, or deletion of the instance in the cloud provider, or force deletion of the pod from the api-server). This has the desirable outcome of "fencing" to prevent "split brain" scenarios.
* For all other existing controllers except StatefulSet , this has no effect on the ability of the controller to replace pods because the controllers do not reuse pod names (they use generate-name).
* User-written controllers that reuse names of pod objects should evaluate this change.
```
2016-11-01 20:08:57 -07:00
..
BUILD include multiple versions in clientset 2016-10-29 13:30:47 -07:00
cidr_allocator.go Retry assigning CIDRs 2016-07-18 17:06:04 +02:00
cidr_allocator_test.go List all nodes and occupy cidr map before starting allocations 2016-07-16 13:54:01 -07:00
cidr_set.go Retry assigning CIDRs 2016-07-18 17:06:04 +02:00
cidr_set_test.go Run goimports 2016-08-02 15:12:39 +03:00
controller_utils.go Fix old e2e tests, refactor and add new e2e tests. 2016-11-01 11:46:13 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
metrics.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
nodecontroller.go Merge pull request #35235 from foxish/node-controller-no-force-deletion 2016-11-01 20:08:57 -07:00
nodecontroller_test.go Removing force deletion of pods from the node-controller 2016-11-01 11:44:34 -07:00
rate_limited_queue.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
rate_limited_queue_test.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
test_utils.go include multiple versions in clientset 2016-10-29 13:30:47 -07:00