Skip to content

Instantly share code, notes, and snippets.

@dex4er
Created August 17, 2020 09:17
Show Gist options
  • Save dex4er/6a2e842e5baeb4cd7c6aebc7bedf0580 to your computer and use it in GitHub Desktop.
Save dex4er/6a2e842e5baeb4cd7c6aebc7bedf0580 to your computer and use it in GitHub Desktop.
kubectl get pod -o wide | perl -pe 's/\b (?! )\b/_/g' | q -H 'select node, count(*) from - group by node'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment