0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate.

what 发表于: 2022-08-10   最后更新时间: 2022-08-10 23:39:34   991 游览

我使用kubeadm搭建了一个kubernetes集群,当我运行pod的时候,报:1 node(s) had taints that the pod didn't tolerate,pod不能启动,请问我该如何解决?

发表于 2022-08-10

出于安全原因,默认情况下,集群不会在管理节点上调度 Pod。 如果你希望能够在管理节点调度 Pod,运行:

kubectl taint nodes --all node-role.kubernetes.io/control-plane- node-role.kubernetes.io/master-
what -> 半兽人 1年前

感谢,有用。

你的答案

查看kubernetes相关的其他问题或提一个您自己的问题