Skip to content

Instantly share code, notes, and snippets.

@iamcryptoki
Created December 29, 2023 11:00
Show Gist options
  • Save iamcryptoki/75ed2690e7d199c591d3aa6929bce12f to your computer and use it in GitHub Desktop.
Save iamcryptoki/75ed2690e7d199c591d3aa6929bce12f to your computer and use it in GitHub Desktop.
Kubernetes : Get custom output with Kubectl.
$ kubectl get CRD_KIND CRD_NAME \
-o custom-columns=Kind:.kind,Name:.metadata.name,Finalizers:.metadata.finalizers \
-n NAMESPACE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment