报错信息  

Warning  FailedScheduling  1s (x3 over 67s)  default-scheduler  0/3 nodes are available: 1 node(s) had taint {gpu: no}, that the pod didn't tolerate, 1 node(s) had taint {gpu: yes}, that the pod didn't tolerate, 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate.

 

设置xx.yaml文件里面配置污点

tolerations:
      - key: "定义的key,我这边是gpu报错,所以key是gpu"
        operator: "Equal"
        value: "no"
        effect: "NoSchedule"
 

 

 

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐