Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

schedulable/unschedulable kubernetes node using kubectl cordon uncordon commands

$ kubectl get nodes
# Master 
$ kubectl describe node ip-172-31-23-196.ap-south-1.compute.internal

Taints:             node-role.kubernetes.io/master:NoSchedule
Unschedulable:      false

# Worker
$ kubectl describe node ip-172-31-26-2.ap-south-1.compute.internal
Taints:             <none>
Unschedulable:      false

kubectl get nodes
kubectl cordon -h
kubectl cordon ip-172-31-26-2.ap-south-1.compute.internal
kubectl describe node ip-172-31-26-2.ap-south-1.compute.internal

Taints:             node.kubernetes.io/unschedulable:NoSchedule
Unschedulable:      true

kubectl get nodes
kubectl uncordon ip-172-31-26-2.ap-south-1.compute.internal
kubectl describe node ip-172-31-26-2.ap-south-1.compute.internal
Taints:             <none>
Unschedulable:      false
kubectl get pods