报错信息
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"