I installed the kubernetes cluster using kubeadm following this guide . After some time, I decided to reinstall K8s, but ran into problems when deleting all related files and did not find documentation on the official website on how to remove the cluster installed through kubeadm. Has anyone encountered the same problems and know the correct way to delete all files and dependencies? Thanks in advance.
For more information, I removed kubeadm, kubectl and kubelet using apt-get purge/remove but when I started installing the cluster again, I got the following errors:
[preflight] Some fatal errors occurred: Port 6443 is in use Port 10251 is in use Port 10252 is in use /etc/kubernetes/manifests is not empty /var/lib/kubelet is not empty Port 2379 is in use /var/lib/etcd is not empty
uninstall kubernetes kubeadm
Kirill Liubun
source share