Skip to content

Instantly share code, notes, and snippets.

@germainlefebvre4
Created October 22, 2018 14:35
Show Gist options
  • Save germainlefebvre4/029255eea0da5c99e6c12e89aa981bf1 to your computer and use it in GitHub Desktop.
Save germainlefebvre4/029255eea0da5c99e6c12e89aa981bf1 to your computer and use it in GitHub Desktop.
# Uninstall everything
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
yum remove -y kubeadm kubelet kubectl
yum remove -y docker-ce docker
rm -rf /etc/kubernetes/ /var/lib/kubelet/ /etc/systemd/system/kubelet.service.d /etc/systemd/system/multi-user.target.wants/kubelet.service /var/lib/kubelet/ /var/log/containers /var/log/pods /usr/bin/kubelet /usr/libexec/kubernetes /etc/systemd/system/kubelet.service /etc/yum.repos.d/kubernetes.repo
rm -rf /var/lib/docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment