run namespaced deployments in specific node kubernetes code example
Example: get pods on specific node
kubectl get pods -n $namespace -o wide --field-selector spec.nodeName=$node
kubectl get pods -n $namespace -o wide --field-selector spec.nodeName=$node