<p>I'm new to this forum as well as I'm quite new to Kubernetes. However, I'm having a problem with a GKE cluster - The status of one node is switching to <code>NotReady</code> a lot. It has probably been happening at least once a day for the last two weeks. And the big problem is that it happens (my website goes down) during day time when I really need it work. When I restart it everything will go back to normal again but that usually takes 20 minutes and I don't have the time (or will) to do that everyday.</p>
<p>When looking at the logs for node, the pattern I can see I that these three messages will always appear in when the node changes its status to <code>NotReady</code>:</p>
<pre><code>2020-10-06T07:58:03.782923Z curl: (28) Operation timed out after 10001 milliseconds with 0 bytes received
2020-10-06T07:58:03.782923Z Kubelet is unhealthy!
2020-10-06T07:58:21Z Node gke-cluster-default-pool-d02df301-cyfr status is now: NodeNotReady
</code></pre>
<p>Does anyone have the slightest idea of what I can do to fix or at least troubleshoot this?</p>
<p>Best regards, Eric</p>

erijo999
<p>Node <code>NotReady</code> can happen for couple reasons, such as:</p>
<ul>
<li>Out of memory : maybe reached threshold or beyond</li>
<li>Disk pressure : maybe reached threshold or beyond</li>
<li>Network problem: this is set by the network plugin</li>
</ul>
<p>Please refer to <a href="https://stackoverflow.com/a/47108495/4451944">this</a> answer to debug.
In addition to the above please also check <code>kubectl get events --all-namespaces</code></p>
<p>With the little log you have provided ATM it seems there is some operation which is kubelet trying to perform but can't therefore, it is setting the <code>NotReady</code> status.</p>
<p>Please gather more logs and post to the question which will help to figure out what operation kubelet is failing to perform. if it happens to be a wordpress application (hosted on kubernetes) problem then this <a href="https://docs.presscustomizr.com/article/326-how-to-fix-a-curl-error-28-connection-timed-out-in-wordpress" rel="nofollow noreferrer">link</a> may help</p>
