Skip to content

Instantly share code, notes, and snippets.

@pmoranga
Created September 18, 2020 11:56
Show Gist options
  • Save pmoranga/fbde2c84f256d5165bf4de72c5bb890a to your computer and use it in GitHub Desktop.
Save pmoranga/fbde2c84f256d5165bf4de72c5bb890a to your computer and use it in GitHub Desktop.
kubectl get nodes -o custom-columns='NAME:.metadata.name,InternalIP:.status.addresses[?(@.type=="InternalIP")].address'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment