get pods on specific node
snippet in javascript

get pods on specific node

user5614

kubectl get pods -n $namespace -o wide --field-selector spec.nodeName=$node