Skip to content

Instantly share code, notes, and snippets.

@piotrpersona
Last active May 16, 2024 09:56
Show Gist options
  • Save piotrpersona/abc28ed2c251c71127bd7d15300f2ae5 to your computer and use it in GitHub Desktop.
Save piotrpersona/abc28ed2c251c71127bd7d15300f2ae5 to your computer and use it in GitHub Desktop.
k8s resources short names

k8s resources short names

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
sc storageclass
svc services

Original source: https://blog.heptio.com/kubectl-resource-short-names-heptioprotip-c8eff9fb7202

@JakobHtz
Copy link

sts for statefulsets

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