$ 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
session-1-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-2-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-3-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-4-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-5-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-6-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-7-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-8-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-9-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-10-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
session-11-kubernetes-fundamental-tutorials-by-rajesh-jan-2021
Latest posts by Rajesh Kumar (see all)
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024