We had a situation where we had to drain a Kubernetes node.
Is there anything I can do to enable pod scheduling back again? Please suggest.
Once the drain command is executed the following happens: The node is cordoned. It means that no new pods can be placed on this node. In the Kubernetes world, it is a Taint node.kubernetes.io/unschedulable:NoSchedule placed on the node that most of the pods tolerate.
You've most likely used the kubectl cordon <node name>
to set your node as un-scheduleable.
To revert this you can run kubectl uncordon <node name>
to make it schedulable again.
If this doesn't allow you to schedule on this node please provide the outputs of kubectl describe node <node name>
.
Good luck!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With