0/3 nodes are available: 3 node(s) had taints that the pod didn't tolerate.
kubectl get po -n test
describe pod test-k8s-demo-845554b89f-pfrqt -n test
default-scheduler  0/3 nodes are available: 3 node(s) had taints that the pod didn't tolerate.
kubectl get nodes #发现node节点异常

2 对 “0/3 nodes are available: 3 node(s) had taints that the pod didn’t tolerate.”的想法;

  1. 优雅关闭以及机器kubernetes pods:
    terminationGracePeriodSeconds: 60

  2. kubectl taint node node01 node-role.kubernetes.io/master-
    kubectl taint node node01 node-role.kubernetes.io/master=”” 不参与调度

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code