Skip to content

Instantly share code, notes, and snippets.

@jeyaramashok
Created March 18, 2024 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeyaramashok/13fbdae77fa4a01e0b9318a7b575a163 to your computer and use it in GitHub Desktop.
Save jeyaramashok/13fbdae77fa4a01e0b9318a7b575a163 to your computer and use it in GitHub Desktop.
shortnames for kubernetes resources
NAME SHORTNAMES
componentstatuses cs
configmaps cm
endpoints ep
events ev
limitranges limits
namespaces ns
nodes no
persistentvolumeclaims pvc
persistentvolumes pv
pods po
replicationcontrollers rc
resourcequotas quota
serviceaccounts sa
services svc
customresourcedefinitions crd,crds
daemonsets ds
deployments deploy
replicasets rs
statefulsets sts
horizontalpodautoscalers hpa
cronjobs cj
certificatesigningrequests csr
events ev
ingresses ing
networkpolicies netpol
poddisruptionbudgets pdb
podsecuritypolicies psp
priorityclasses pc
storageclasses sc

References:

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