Last active
September 20, 2018 21:32
-
-
Save jgreat/813089f0f8271e28f2446781932d29b5 to your computer and use it in GitHub Desktop.
RKE Cleanup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker rm -fv $(docker ps -qa) | |
docker volume ls -q | xargs docker volume rm | |
rm -rf /etc/ceph \ | |
/etc/cni \ | |
/etc/kubernetes \ | |
/opt/cni \ | |
/opt/rke \ | |
/run/secrets/kubernetes.io \ | |
/run/calico \ | |
/run/flannel \ | |
/var/lib/calico \ | |
/var/lib/etcd \ | |
/var/lib/cni \ | |
/var/lib/kubelet \ | |
/var/lib/rancher/rke/log \ | |
/var/log/containers \ | |
/var/log/pods \ | |
/var/run/calico | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment