Clarify that this reverts what kubeadm did rather than uninstalling the packages.

reviewable/pr1265/r15
Luke Marsden 2016-09-26 14:20:47 +01:00
parent 3cf4c842f9
commit 7d434d58b9
1 changed files with 7 additions and 9 deletions

View File

@ -213,16 +213,14 @@ See the [list of add-ons](/docs/admin/addons/) to explore other add-ons, includi
* To uninstall the socks shop, run `kubectl delete -f microservices-demo/deploy/kubernetes/manifests` on the master.
* To uninstall Kubernetes, simply delete the machines you created for this tutorial, or run the script below.
* To undo what `kubeadm` did, simply delete the machines you created for this tutorial, or run the script below and then uninstall the packages.
<details>
```
systemctl stop kubelet
docker rm -f $(docker ps -q); mount | grep "/var/lib/kubelet/*" | awk '{print $3}' | xargs umount 1>/dev/null 2>/dev/null
rm -rf /var/lib/kubelet /etc/kubernetes /var/lib/etcd /etc/cni
ip link set cbr0 down; ip link del cbr0
ip link set cni0 down; ip link del cni0
systemctl start kubelet
```
systemctl stop kubelet;
docker rm -f $(docker ps -q); mount | grep "/var/lib/kubelet/*" | awk '{print $3}' | xargs umount 1>/dev/null 2>/dev/null;
rm -rf /var/lib/kubelet /etc/kubernetes /var/lib/etcd /etc/cni;
ip link set cbr0 down; ip link del cbr0;
ip link set cni0 down; ip link del cni0;
systemctl start kubelet
</details>
## Feedback