When debugging problems with Kubernetes Nodes assessing their current workload
is critical.
Here’s how:
All Pods:
$ kubectl get po \
--all-namespaces \
-o wide \
--field-selector spec.nodeName=my-node
Non-Running Pods:
$ kubectl get po \
--all-namespaces \
-o wide \
--field-selector spec.nodeName=my-node,status.Phase!=Running