[ERROR Port-10250]: Port 10250 is in use
Quote from moshe on 11/02/2023, 9:47 pmProblem
User tries to run kubeadm commands and gets the following error
[ERROR Port-10250]: Port 10250 is in use
Solution
run the following commands to reset your cluster configuration
kubeadm reset
rm -rf /etc/cni/net.d/*
systemctl restart kubelet
If you still get the same error
systemctl restart containerd
systemctl restart kubelet
kubeadm reset
## WARNING: this will delete your cluster configuration if running on the master
Problem
User tries to run kubeadm commands and gets the following error
[ERROR Port-10250]: Port 10250 is in use
Solution
run the following commands to reset your cluster configuration
kubeadm reset
rm -rf /etc/cni/net.d/*
systemctl restart kubelet
If you still get the same error
systemctl restart containerd
systemctl restart kubelet
kubeadm reset
## WARNING: this will delete your cluster configuration if running on the master
Quote from moshe on 11/02/2023, 9:49 pmIf you are using ubuntu check for SNAP services
snap services
If you get a list of services like microk8 or etcd you need to remove them
sudo snap stop microk8s
sudo snap disable microk8ssudo snap stop docker.dockerd
sudo snap disable dockersudo snap stop etcd
sudo snap disable etcd
If you are using ubuntu check for SNAP services
snap services
If you get a list of services like microk8 or etcd you need to remove them
sudo snap stop microk8s
sudo snap disable microk8ssudo snap stop docker.dockerd
sudo snap disable dockersudo snap stop etcd
sudo snap disable etcd