See which pods are running on which nodes:
kubectl get pods -o wide
Evict the pods on a node and the node(s) too:
Evict the pods on a node and the node(s) too:
kubectl drain <nodename> --ignore-daemonsets
Watch as the node changes status:
Watch as the node changes status:
kubectl get nodes -w
Schedule pods to the node after maintenance is complete:
Schedule pods to the node after maintenance is complete:
kubectl uncordon <nodename>
No comments:
Post a Comment