Skip to content

Instantly share code, notes, and snippets.

@talonx
Last active January 31, 2020 17:57
Show Gist options
  • Save talonx/f721b535a745833ffe2a1d185c9c6b7f to your computer and use it in GitHub Desktop.
Save talonx/f721b535a745833ffe2a1d185c9c6b7f to your computer and use it in GitHub Desktop.
node_name=`kubectl get pod ${pod_name} -o json | jq '. | .spec.nodeName'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment