k8s the node node not scheduling problem

1, phenomenon, created during deployment

2, View stain

[fedora@k8s-cluster-1-ycmwlao4q5wz-master-0 ~]$ kubectl describe node k8s-cluster-1-ycmwlao4q5wz-minion-0|grep -i taints
Taints:             node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule

If you find: NoSchedule, indicating that the node can not be scheduled

3, cancel stains

[fedora@k8s-cluster-1-ycmwlao4q5wz-master-0 ~]$ kubectl taint nodes k8s-cluster-1-ycmwlao4q5wz-minion-0  node.cloudprovider.kubernetes.io/uninitialized-
node/k8s-cluster-1-ycmwlao4q5wz-minion-0 untainted

The last of the above - represent all to  begin with uninitialized, the stain will cancel

 

Guess you like

Origin www.cnblogs.com/boshen-hzb/p/10930771.html