Kubernetes Submit Queue
c4835f2626
Merge pull request #41864 from marun/kubectl-drain-orphans
...
Automatic merge from submit-queue (batch tested with PRs 41857, 41864, 40522, 41835, 41991)
kubectl: Allow 'drain --force' to remove orphaned pods
If the managing resource of a given pod (e.g. DaemonSet/ReplicaSet/etc) is deleted (effectively orphaning the pod), and ``kubectl drain --force`` is invoked on the node hosting the pod, the command would fail with an error indicating that the managing resource was not found. This PR reduces the error to a warning if ``--force`` is specified, allowing nodes with orphaned pods to be drained.
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1424678
cc: @derekwaynecarr
```release-note
Allow drain --force to remove pods whose managing resource is deleted.
```
2017-02-26 11:13:53 -08:00
..
2017-02-23 09:12:35 -05:00
2017-02-23 00:28:32 -05:00
2017-02-11 22:15:10 -08:00
2017-02-23 00:28:32 -05:00
2017-01-05 14:14:13 -08:00
2017-02-20 20:40:03 -05:00
2017-02-26 10:22:54 -08:00
2017-02-26 06:47:03 -08:00
2017-01-26 19:59:24 -05:00
2017-02-23 00:28:32 -05:00
2017-02-04 08:38:19 -08:00
2017-02-21 20:08:25 +08:00
2017-02-21 20:08:25 +08:00
2017-02-21 20:08:25 +08:00
2017-02-08 16:10:55 +08:00
2017-02-08 16:10:55 +08:00
2017-02-21 22:07:30 -08:00
2017-02-26 10:22:54 -08:00
2017-02-06 22:32:01 -08:00
2016-10-19 08:53:26 +10:00
2017-02-23 00:28:32 -05:00
2017-02-06 22:32:01 -08:00
2017-02-23 00:28:32 -05:00
2017-02-23 09:12:35 -05:00
2017-02-24 16:29:41 +00:00
2017-02-23 00:28:32 -05:00
2016-10-29 20:24:54 -07:00
2017-02-06 22:32:01 -08:00
2017-02-22 10:30:41 +08:00
2017-02-22 10:30:41 +08:00
2017-02-21 22:07:30 -08:00
2017-01-25 08:29:48 -05:00
2017-02-15 16:57:38 +08:00
2016-10-19 08:53:26 +10:00
2017-02-06 22:32:01 -08:00
2017-01-25 08:29:48 -05:00
2017-02-06 22:32:01 -08:00
2017-02-21 22:07:30 -08:00
2017-01-25 08:29:48 -05:00
2017-02-21 22:07:30 -08:00
2017-02-22 10:30:41 +08:00
2017-02-22 10:30:41 +08:00
2017-02-21 22:07:30 -08:00
2017-01-25 08:29:48 -05:00
2017-02-21 22:07:30 -08:00
2017-01-25 08:29:48 -05:00
2017-02-21 22:07:30 -08:00
2017-01-25 08:29:48 -05:00
2017-02-06 22:32:01 -08:00
2017-01-26 19:59:16 -05:00
2017-02-22 10:30:41 +08:00
2017-01-27 09:18:48 -05:00
2017-02-23 00:28:32 -05:00
2017-01-26 19:59:25 -05:00
2017-02-23 00:28:32 -05:00
2017-02-22 06:59:33 -08:00
2017-02-22 06:59:33 -08:00
2017-02-14 14:55:02 -05:00
2017-02-23 00:28:32 -05:00
2017-01-25 08:29:48 -05:00
2017-02-06 22:32:01 -08:00
2017-02-06 22:32:01 -08:00
2017-02-23 00:28:32 -05:00
2017-02-21 22:07:30 -08:00
2017-02-26 06:47:03 -08:00
2017-02-26 06:47:03 -08:00
2017-02-06 22:32:01 -08:00
2017-01-26 19:59:25 -05:00
2017-02-23 00:28:32 -05:00
2017-01-25 08:29:48 -05:00
2017-02-21 22:07:30 -08:00
2017-02-06 22:32:01 -08:00
2017-01-27 14:58:52 -08:00
2017-02-23 00:28:32 -05:00
2017-01-25 08:29:48 -05:00
2017-02-08 07:59:10 -08:00
2017-02-06 22:32:01 -08:00
2017-01-26 19:59:16 -05:00
2017-02-06 22:32:01 -08:00
2016-10-19 08:53:26 +10:00
2017-02-21 22:07:30 -08:00
2017-01-30 12:46:59 -05:00
2017-02-21 22:07:30 -08:00
2017-02-21 22:07:30 -08:00
2017-02-06 22:32:01 -08:00
2017-02-22 09:27:42 -05:00
2017-02-22 09:27:42 -05:00
2017-01-25 08:29:48 -05:00
2017-02-06 22:32:01 -08:00
2017-01-29 21:41:44 +01:00
2017-02-06 22:32:01 -08:00
2017-02-13 22:05:00 -05:00
2017-02-06 22:32:01 -08:00
2017-02-06 22:32:01 -08:00