<p>Every day something changes my node changes its status to <strong>Ready,SchedulingDisabled</strong>.
I checked <code>kubectl describe node mynode</code> and found nothing.
<code>kubectl uncordon</code> helps for few hours only.
How I can troubleshoot my cluster? I using opensuse <a href="https://kubic.opensuse.org/" rel="nofollow noreferrer">kubic</a>, cluster created with <a href="https://github.com/thkukuk/kubic-control" rel="nofollow noreferrer">kubicctl</a> and <a href="https://www.saltstack.com/" rel="nofollow noreferrer">salt</a>
Thank you.</p>

<p>As per the <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#nodestatus-v1-core" rel="nofollow noreferrer">Api docs</a> the boolean flag get updated to true via a patch request to the Node API <code>/api/v1/nodes/nodename</code> exposed by Kubernetes API Server. There will also be an event in kubectl events when that happens</p>

<pre><code>+ kubectl get events
LAST SEEN   TYPE     REASON               OBJECT                    MESSAGE
5m26s       Normal   NodeNotSchedulable   node/kind-control-plane   Node kind-control-plane status is now: NodeNotSchedulable
</code></pre>

<p>So increase the logging verbosity of Kubernetes API Server to monitor and find out when that patch request is coming to the API and correlate if any activity(cordon) is going on in the cluster during that time.</p>
