Kubernetes: list all pods and its nodes
You can do that with custom columns: kubectl get pod -o=custom-columns=NAME:.metadata.name,STATUS:.status.phase,NODE:.spec.nodeName –all-namespaces or just: kubectl get pod -o=custom-columns=NODE:.spec.nodeName,NAME:.metadata.name –all-namespaces