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 ...
imp-k8s-commands.hashnode.dev3 min read