「KUBERNETES/TROUBLESHOOTING」- 常见问题处理 – 节点相关(Node)

Nodes are in ‘Not Ready’

问题描述

使用kubectl get nodes命令查看节点状态,节点出于’Not Ready’状态;

原因分析

使用kubectl describe nodes “<node name>”来查看节点的信息;

还可以使用journalctl -f -u kubelet来查看节点日志;

解决方案

How to debug when Kubernetes nodes are in ‘Not Ready’ state

[Sol.] … node XXX already cordoned …

When you try to drain a Kubernetes node but it blocks ?

在执行 kubectl drain node1 –ignore-daemonsets 剔除节点时卡住