Skip to content

Instantly share code, notes, and snippets.

@rootfs
Last active October 13, 2021 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rootfs/ca98e7393283ab54b01c0252bcccc164 to your computer and use it in GitHub Desktop.
Save rootfs/ca98e7393283ab54b01c0252bcccc164 to your computer and use it in GitHub Desktop.
systemctl stop microshift
crictl stop $(crictl ps -q) -t 1
mount |grep overlay |awk '{print $3}' |xargs umount
mount |grep kubelet |awk '{print $3}' |xargs umount
rm /var/lib/etcd -rf
rm /var/lib/kubelet -rf
mkdir -p /var/lib/kubelet
rm /var/lib/rook -rf
rm -rf /var/lib/microshift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment