@@ -220,31 +220,33 @@ The following table includes a list of all the supported resource types and thei
220
220
下表列出所有受支持的资源类型及其缩写别名:
221
221
222
222
<!--
223
- (This output can be retrieved from `kubectl api-resources`, and is accurate as of Kubernetes 1.13.3 .)
223
+ (This output can be retrieved from `kubectl api-resources`, and is accurate as of Kubernetes 1.19.1 .)
224
224
-->
225
- (以下输出可以通过 ` kubectl api-resources ` 获取,内容以 Kubernetes 1.13.3 版本为准。)
225
+ (以下输出可以通过 ` kubectl api-resources ` 获取,内容以 Kubernetes 1.19.1 版本为准。)
226
226
227
227
<!--
228
- | Resource Name | Short Names | API Group | Namespaced | Resource Kind |
228
+ | NAME | SHORTNAMES | APIGROUP | NAMESPACED | KIND |
229
229
|---|---|---|---|---|
230
+ | `bindings` | | | true | Binding |
230
231
| `componentstatuses` | `cs` | | false | ComponentStatus |
231
232
| `configmaps` | `cm` | | true | ConfigMap |
232
233
| `endpoints` | `ep` | | true | Endpoints |
234
+ | `events` | `ev` | | true | Event |
233
235
| `limitranges` | `limits` | | true | LimitRange |
234
236
| `namespaces` | `ns` | | false | Namespace |
235
237
| `nodes` | `no` | | false | Node |
236
238
| `persistentvolumeclaims` | `pvc` | | true | PersistentVolumeClaim |
237
239
| `persistentvolumes` | `pv` | | false | PersistentVolume |
238
240
| `pods` | `po` | | true | Pod |
239
241
| `podtemplates` | | | true | PodTemplate |
240
- | `replicationcontrollers` | `rc` | | true| ReplicationController |
242
+ | `replicationcontrollers` | `rc` | | true | ReplicationController |
241
243
| `resourcequotas` | `quota` | | true | ResourceQuota |
242
244
| `secrets` | | | true | Secret |
243
245
| `serviceaccounts` | `sa` | | true | ServiceAccount |
244
246
| `services` | `svc` | | true | Service |
245
247
| `mutatingwebhookconfigurations` | | admissionregistration.k8s.io | false | MutatingWebhookConfiguration |
246
248
| `validatingwebhookconfigurations` | | admissionregistration.k8s.io | false | ValidatingWebhookConfiguration |
247
- | `customresourcedefinitions` | `crd`, ` crds` | apiextensions.k8s.io | false | CustomResourceDefinition |
249
+ | `customresourcedefinitions` | `crd, crds` | apiextensions.k8s.io | false | CustomResourceDefinition |
248
250
| `apiservices` | | apiregistration.k8s.io | false | APIService |
249
251
| `controllerrevisions` | | apps | true | ControllerRevision |
250
252
| `daemonsets` | `ds` | apps | true | DaemonSet |
@@ -261,39 +263,49 @@ The following table includes a list of all the supported resource types and thei
261
263
| `jobs` | | batch | true | Job |
262
264
| `certificatesigningrequests` | `csr` | certificates.k8s.io | false | CertificateSigningRequest |
263
265
| `leases` | | coordination.k8s.io | true | Lease |
266
+ | `endpointslices` | | discovery.k8s.io | true | EndpointSlice |
264
267
| `events` | `ev` | events.k8s.io | true | Event |
265
268
| `ingresses` | `ing` | extensions | true | Ingress |
269
+ | `flowschemas` | | flowcontrol.apiserver.k8s.io | false | FlowSchema |
270
+ | `prioritylevelconfigurations` | | flowcontrol.apiserver.k8s.io | false | PriorityLevelConfiguration |
271
+ | `ingressclasses` | | networking.k8s.io | false | IngressClass |
272
+ | `ingresses` | `ing` | networking.k8s.io | true | Ingress |
266
273
| `networkpolicies` | `netpol` | networking.k8s.io | true | NetworkPolicy |
274
+ | `runtimeclasses` | | node.k8s.io | false | RuntimeClass |
267
275
| `poddisruptionbudgets` | `pdb` | policy | true | PodDisruptionBudget |
268
276
| `podsecuritypolicies` | `psp` | policy | false | PodSecurityPolicy |
269
277
| `clusterrolebindings` | | rbac.authorization.k8s.io | false | ClusterRoleBinding |
270
278
| `clusterroles` | | rbac.authorization.k8s.io | false | ClusterRole |
271
279
| `rolebindings` | | rbac.authorization.k8s.io | true | RoleBinding |
272
280
| `roles` | | rbac.authorization.k8s.io | true | Role |
273
281
| `priorityclasses` | `pc` | scheduling.k8s.io | false | PriorityClass |
274
- | `storageclasses` | `sc` | storage.k8s.io | false | StorageClass |
282
+ | `csidrivers` | | storage.k8s.io | false | CSIDriver |
283
+ | `csinodes` | | storage.k8s.io | false | CSINode |
284
+ | `storageclasses` | `sc` | storage.k8s.io | false | StorageClass |
275
285
| `volumeattachments` | | storage.k8s.io | false | VolumeAttachment |
276
286
-->
277
287
| 资源名 | 缩写名 | API 分组 | 按命名空间 | 资源类型 |
278
288
| ---| ---| ---| ---| ---|
289
+ | ` bindings ` | | | true | Binding |
279
290
| ` componentstatuses ` | ` cs ` | | false | ComponentStatus |
280
291
| ` configmaps ` | ` cm ` | | true | ConfigMap |
281
292
| ` endpoints ` | ` ep ` | | true | Endpoints |
293
+ | ` events ` | ` ev ` | | true | Event |
282
294
| ` limitranges ` | ` limits ` | | true | LimitRange |
283
295
| ` namespaces ` | ` ns ` | | false | Namespace |
284
296
| ` nodes ` | ` no ` | | false | Node |
285
297
| ` persistentvolumeclaims ` | ` pvc ` | | true | PersistentVolumeClaim |
286
298
| ` persistentvolumes ` | ` pv ` | | false | PersistentVolume |
287
299
| ` pods ` | ` po ` | | true | Pod |
288
300
| ` podtemplates ` | | | true | PodTemplate |
289
- | ` replicationcontrollers ` | ` rc ` | | true| ReplicationController |
301
+ | ` replicationcontrollers ` | ` rc ` | | true | ReplicationController |
290
302
| ` resourcequotas ` | ` quota ` | | true | ResourceQuota |
291
303
| ` secrets ` | | | true | Secret |
292
304
| ` serviceaccounts ` | ` sa ` | | true | ServiceAccount |
293
305
| ` services ` | ` svc ` | | true | Service |
294
306
| ` mutatingwebhookconfigurations ` | | admissionregistration.k8s.io | false | MutatingWebhookConfiguration |
295
307
| ` validatingwebhookconfigurations ` | | admissionregistration.k8s.io | false | ValidatingWebhookConfiguration |
296
- | ` customresourcedefinitions ` | ` crd ` , ` crds ` | apiextensions.k8s.io | false | CustomResourceDefinition |
308
+ | ` customresourcedefinitions ` | ` crd, crds ` | apiextensions.k8s.io | false | CustomResourceDefinition |
297
309
| ` apiservices ` | | apiregistration.k8s.io | false | APIService |
298
310
| ` controllerrevisions ` | | apps | true | ControllerRevision |
299
311
| ` daemonsets ` | ` ds ` | apps | true | DaemonSet |
@@ -310,17 +322,25 @@ The following table includes a list of all the supported resource types and thei
310
322
| ` jobs ` | | batch | true | Job |
311
323
| ` certificatesigningrequests ` | ` csr ` | certificates.k8s.io | false | CertificateSigningRequest |
312
324
| ` leases ` | | coordination.k8s.io | true | Lease |
325
+ | ` endpointslices ` | | discovery.k8s.io | true | EndpointSlice |
313
326
| ` events ` | ` ev ` | events.k8s.io | true | Event |
314
327
| ` ingresses ` | ` ing ` | extensions | true | Ingress |
328
+ | ` flowschemas ` | | flowcontrol.apiserver.k8s.io | false | FlowSchema |
329
+ | ` prioritylevelconfigurations ` | | flowcontrol.apiserver.k8s.io | false | PriorityLevelConfiguration |
330
+ | ` ingressclasses ` | | networking.k8s.io | false | IngressClass |
331
+ | ` ingresses ` | ` ing ` | networking.k8s.io | true | Ingress |
315
332
| ` networkpolicies ` | ` netpol ` | networking.k8s.io | true | NetworkPolicy |
333
+ | ` runtimeclasses ` | | node.k8s.io | false | RuntimeClass |
316
334
| ` poddisruptionbudgets ` | ` pdb ` | policy | true | PodDisruptionBudget |
317
335
| ` podsecuritypolicies ` | ` psp ` | policy | false | PodSecurityPolicy |
318
336
| ` clusterrolebindings ` | | rbac.authorization.k8s.io | false | ClusterRoleBinding |
319
337
| ` clusterroles ` | | rbac.authorization.k8s.io | false | ClusterRole |
320
338
| ` rolebindings ` | | rbac.authorization.k8s.io | true | RoleBinding |
321
339
| ` roles ` | | rbac.authorization.k8s.io | true | Role |
322
340
| ` priorityclasses ` | ` pc ` | scheduling.k8s.io | false | PriorityClass |
323
- | ` storageclasses ` | ` sc ` | storage.k8s.io | false | StorageClass |
341
+ | ` csidrivers ` | | storage.k8s.io | false | CSIDriver |
342
+ | ` csinodes ` | | storage.k8s.io | false | CSINode |
343
+ | ` storageclasses ` | ` sc ` | storage.k8s.io | false | StorageClass |
324
344
| ` volumeattachments ` | | storage.k8s.io | false | VolumeAttachment |
325
345
326
346
0 commit comments