Last active
March 15, 2021 07:49
-
-
Save vishnuhd/c20d233240e582f7bc507a820cdab025 to your computer and use it in GitHub Desktop.
Display pods and nodes they are deployed on side by side
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get pod -o=custom-columns=NODE:.spec.nodeName,NAME:.metadata.name --sort-by="{.spec.nodeName}" --all-namespaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment