【问题标题】:1 node(s) had taints that the pod didn't tolerate and the pods could not start1 个节点具有 pod 无法容忍的污点并且 pod 无法启动
【发布时间】:2021-03-26 18:15:15
【问题描述】:

以前 pod 用于在 Azure 中毫无问题地在节点上运行。现在突然间我遇到了这个问题。

Node information available here for which I am facing the issue

请建议如何处理这个问题?

【问题讨论】:

  • 您的节点似乎已关闭。看起来您在 Azure 上运行,请在 MC_ 资源组中查找 VMSS 并将其打开(如果您已用完积分,则可能无法打开)。
  • @mmking 我无法在 VMSS 部分找到我的节点。
  • 您是否尝试重新启动工作节点?
  • 您是否在节点上执行了任何更新?您可以尝试drain node 并重新启动它。 Kubelet 没有在节点上运行。
  • VMSS 是一些虚拟机(节点)的包装器——它简化了扩展。确保 VMSS 正在运行。

标签: kubernetes


【解决方案1】:

将 cmets 的解决方案发布为社区 wiki 以获得更好的可见性:

解决

1 node(s) had taints that the pod didn't tolerate and the pods could not start
kubelet stopped posting node status

最简单的解决方案是重启节点。

为安全起见,建议使用kubectl drain <node-name>,然后重新启动节点。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-08
    • 2021-09-13
    • 1970-01-01
    • 2021-12-30
    • 1970-01-01
    相关资源
    最近更新 更多