that the pod didn't tolerate, 2 Insufficient cpu.
K8S Pod 一直处于 Pending 状态
有几个原因可以阻止 Pod 运行,但我们将描述三个主要问题:
- 调度问题:无法在任何节点上调度 Pod。
- 镜像问题:下载容器镜像时出现问题。
- 依赖性问题:Pod 需要一个卷、Secret 或 ConfigMap 才能运行。


[root@k8smaster ~]# kubectl describe pod
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 12h default-scheduler 0/3 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate, 2 Insufficient cpu.
Warning FailedScheduling 10m default-scheduler 0/3 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate, 2 Insufficient cpu.
# 调小配置
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 200m
memory: 10Mi
本文来自博客园,作者:VipSoft 转载请注明原文链接:https://www.cnblogs.com/vipsoft/p/16917378.html
浙公网安备 33010602011771号