Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get all pods in a node kubectl

kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pods #node #kubectl
ADD COMMENT
Topic
Name
6+5 =