Kubernetes installing fails on Debian 9 Kubernetes installing fails on Debian 9 kubernetes kubernetes

Kubernetes installing fails on Debian 9


[ERROR Port-10251]: Port 10251 is in use

Port 10251 is used by kube-scheduler. Looks like it is not free due to the previous kubernetes installation. Skipping preflight checks won't help here.

I suggest doing the following:

  1. kubeadm reset on all the nodes.
  2. Reboot all the nodes if possible.
  3. kubeadm init <optional arguments> on master.
  4. kubeadm join <arguments> on the worker nodes.