k8s的node节点无法调度的问题
1、现象,创建deployment时
2、查看污点
[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
如果发现有:NoSchedule,表示该node不能调度
3、取消污点
[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
上面的最后一个 - 表示所有以 uninitialized 开头的,污点都取消掉