kubernetes

delete kubernetes all

PSAwesome 2022. 10. 9. 10:18
반응형

kubernetes delete all command because occurred error control plane network while install kubeadm

sudo su

kubeadm reset
systemctl stop kubelet
systemctl disable kubelet
rm -rf /etc/cni/net.d $HOME/.kube/config

 

sudo rm /usr/local/bin/kubectl
snap remove kubectl
snap remove kubeadm
snap remove kubelet

apt-get remove kubectl kubeadm kubelet -y

 

ubuntu 22.10

# root
sudo su

# dependency
apt-get remove cri-tools -y
apt-get remove kubernetes-cni -y
apt-get remove libltdl7 -y
apt-get remove libslirp0 -y 
apt-get remove pigz -y
apt-get remove slirp4netns -y
apt-get remove wmdocker-y


# kubeadm
apt-get remove kubeadm

# kubelet
apt-get remove kubelet
반응형