k8s create deployment 报下面的错误 解决方法
报错信息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'
·
报错信息
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"
更多推荐
已为社区贡献18条内容
所有评论(0)