install-k8s-on-ubuntu-2204/reset-ctrlr.sh

10 lines
193 B
Bash
Raw Permalink Normal View History

2024-01-27 21:58:22 +02:00
#!/usr/bin/env bash
kubeadm reset -f
apt purge -y -f kubeadm kubectl kubelet kubernetes-cni kube* --allow-change-held-packages
apt autoremove -y --allow-change-held-packages
rm -rf ~/.kube