Skip to content

Instantly share code, notes, and snippets.

@rosskukulinski
Last active March 18, 2024 05:52
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save rosskukulinski/640e34e335c505a260665e1dcce2bb46 to your computer and use it in GitHub Desktop.
Save rosskukulinski/640e34e335c505a260665e1dcce2bb46 to your computer and use it in GitHub Desktop.
Short name Full name
csr       certificatesigningrequests
cs componentstatuses
cm configmaps
ds daemonsets
deploy deployments
ep endpoints
ev events
hpa       horizontalpodautoscalers
ing ingresses
limits limitranges
ns namespaces
no nodes
pvc persistentvolumeclaims
pv persistentvolumes
po pods
pdb poddisruptionbudgets
psp podsecuritypolicies
rs replicasets
rc replicationcontrollers
quota resourcequotas
sa serviceaccounts
svc services
@voor
Copy link

voor commented Jul 1, 2019

sts for statefulsets
netpol for networkpolicies
pc for priorityclasses
This is also directly captured at https://kubernetes.io/docs/reference/kubectl/overview/ nowadays.

@rosskukulinski
Copy link
Author

Thanks @voor :) . How/where did you find a link to this gist? I think it's quite old :)

@voor
Copy link

voor commented Jul 1, 2019

You're the top google search result for kubectl resource shortnames so anybody wandering here from Google knows where to go. :)

@rosskukulinski
Copy link
Author

/0\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment