Skip to content

Instantly share code, notes, and snippets.

@ipedrazas
Created January 7, 2019 13:10
Show Gist options
  • Save ipedrazas/b4e4a44340e86167890833f9a44673f9 to your computer and use it in GitHub Desktop.
Save ipedrazas/b4e4a44340e86167890833f9a44673f9 to your computer and use it in GitHub Desktop.
Pods in node - bash
pinn(){
kubectl get pods --all-namespaces --field-selector spec.nodeName=$1 -o wide
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment