Skip to content

Instantly share code, notes, and snippets.

@jgreat
Last active September 20, 2018 21:32
Show Gist options
  • Save jgreat/813089f0f8271e28f2446781932d29b5 to your computer and use it in GitHub Desktop.
Save jgreat/813089f0f8271e28f2446781932d29b5 to your computer and use it in GitHub Desktop.
RKE Cleanup
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