Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

【kubernetes】リソースの略称まとめ

はじめに

kubectlコマンドを使用する時に、persistentvolumeclaimsなどをそのまま入力するのは面倒。
そこでkubectlには略称が存在する。

本記事では、リソースの略称をまとめる。

リソースの略称

NAME SHORTNAMES
configmaps cm
endpoints ep
events ev
namespaces ns
nodes no
persistentvolumeclaims pvc
persistentvolumes pv
pods po
replicationcontrollers rc
serviceaccounts sa
services svc
controllerrevisions apps
daemonsets ds
deployments deploy
replicasets rs
statefulsets sts
cronjobs cj
jobs batch
events ev
daemonsets ds
deployments deploy
ingresses ing
replicasets rs
ingresses ing
storageclasses sc

補足

$ kubectl api-resources

で確認できます。

hgaiji
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away