kubectl get pods on node code example
Example: kubectl get pod by node
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>