资源 |
缩写 |
API分组 |
按命名空间 |
资源类型 |
configmaps |
cm |
- |
? |
ConfigMap |
namespaces |
ns |
|
? |
Namespace |
nodes |
no |
|
? |
Node |
persistentvolumeclaims |
pvc |
|
? |
PersistentVolumeClaim |
persistentvolumes |
pv |
|
? |
PersistentVolume |
pods |
po |
|
? |
Pod |
secrets |
|
|
? |
Secret |
serviceaccounts |
sa |
|
? |
ServiceAccount |
services |
svc |
|
? |
Service |
daemonsets |
ds |
apps |
? |
DaemonSet |
deployments |
deploy |
apps |
? |
Deployment |
statefulsets |
sts |
apps |
? |
StatefulSet |
horizontalpodautoscalers |
hpa |
autoscaling |
? |
HorizontalPodAutoscaler |
cronjobs |
cj |
batch |
? |
CronJob |
jobs |
|
batch |
? |
Job |
ingresses |
ing |
extensions |
? |
Ingress |
poddisruptionbudgets |
pdb |
policy |
? |
PodDisruptionBudget |
clusterrolebindings |
|
rbac.authorization.k8s.io |
? |
ClusterRoleBinding |
clusterroles |
|
rbac.authorization.k8s.io |
? |
ClusterRole |
rolebindings |
|
rbac.authorization.k8s.io |
? |
RoleBinding |
roles |
|
rbac.authorization.k8s.io |
? |
Role |
storageclasses |
sc |
storage.k8s.io |
? |
StorageClass |
kubectl命令缩写