Important K8S Commands
------Cluster Management------# Switch cluster context—>kubectl config use-context # List all nodes—>kubectl get nodes # Mark node as unschedulable—>kubectl cordon # Safely evict all pods from a node—>kubectl drain --ignore-daemonsets # Mark node as ...
Dec 22, 20253 min read21