OpenShift node shows NotReady because of "Kubelet stopped posting node status."
Issue
oc get node(s)shows the node is inNotReadystatus.
[root@ocp37master ~]# oc get node
NAME STATUS AGE VERSION
ocp37master Ready,SchedulingDisabled 3h v1.7.6+a08f5eeb62
ocp37node1 Ready 3h v1.7.6+a08f5eeb62
ocp37node2 NotReady 3h v1.7.6+a08f5eeb62
- And from
oc describe node/ocp37node2command, there is a error message saysKubelet stopped posting node status.
Conditions:
Type Status LastHeartbeatTime LastTransitionTimeReason Message
---- ------ ----------------- ------------------------ -------
OutOfDisk Unknown Mon, 05 Feb 2018 15:34:21 +0900 Mon, 05 Feb 2018 15:35:04 +0900 NodeStatusUnknown Kubelet stopped posting node status.
MemoryPressure Unknown Mon, 05 Feb 2018 15:34:21 +0900 Mon, 05 Feb 2018 15:35:04 +0900 NodeStatusUnknown Kubelet stopped posting node status.
DiskPressure Unknown Mon, 05 Feb 2018 15:34:21 +0900 Mon, 05 Feb 2018 15:35:04 +0900 NodeStatusUnknown Kubelet stopped posting node status.
Ready Unknown Mon, 05 Feb 2018 15:34:21 +0900 Mon, 05 Feb 2018 15:35:04 +0900 NodeStatusUnknown Kubelet stopped posting node status.
Environment
- OpenShift Container Platform
- 3.7
- 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
