Skip to content

Instantly share code, notes, and snippets.

@timhughes
Last active August 28, 2020 11:59
Show Gist options
  • Save timhughes/830edea2176cb845abb4e6bb706db68c to your computer and use it in GitHub Desktop.
Save timhughes/830edea2176cb845abb4e6bb706db68c to your computer and use it in GitHub Desktop.
Kubernetes One Liners
  • get everything in default namespace or remove --namespaced for absolutly everything
kubectl get $(kubectl api-resources --verbs=list --namespaced -o name | xargs |sed 's/ /,/g')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment