Files
kubernetes/cmd
Kubernetes Submit Queue 5691a8d4fe Merge pull request #54721 from runcom/reset-remove-dockerism
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>.

kubeadm: reset: use crictl to reset containers

@luxas PTAL



Signed-off-by: Antonio Murdaca <runcom@redhat.com>



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

This patch makes kubeadm to try and reset containers using `crictl` first instead of docker. The reason is that kubeadm reset is ineffective with new container runtimes using the CRI (like CRI-O).
This patch uses `crictl` first and falls back to `docker` in case `crictl` isn't available. 

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

Fix https://github.com/kubernetes/kubeadm/issues/508

**Special notes for your reviewer**:

**Release note**:

```release-note
kubeadm: reset: use crictl to reset containers
```
2017-11-04 14:49:52 -07:00
..
2017-10-15 18:18:13 -07:00
2017-10-18 17:24:04 +02:00
2017-10-15 18:18:13 -07:00
2017-10-27 09:57:25 +02:00
2017-10-27 09:57:25 +02:00
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-10-26 13:37:37 -07:00
2017-10-18 17:24:04 +02:00
2017-10-15 18:18:13 -07:00
2017-08-18 21:01:19 -07:00