Custom Search

Saturday, December 7, 2019

Kubernetes gets all Pods on specific node


1)
kubectl get pods --all-namespaces -o wide --sort-by="{.spec.nodeName}"
 
2)
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName= 

No comments:

Post a Comment