Created
January 24, 2022 12:48
-
-
Save lbbedendo/54c1d3f4a024974bb0347aad70757f14 to your computer and use it in GitHub Desktop.
list all pods of node
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
# list all nodes | |
kubectl get nodes | |
# list all pods of specified node | |
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node-name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment