Openshiftでgetコマンドの後に、使ええる一覧と短縮名を調べてみました。
| NAME | SHORTNAMES | APIVERSION | NAMESPACED | KIND |
|---|---|---|---|---|
| bindings | v1 | true | Binding | |
| componentstatuses | cs | v1 | false | ComponentStatus |
| configmaps | cm | v1 | true | ConfigMap |
| endpoints | ep | v1 | true | Endpoints |
| events | ev | v1 | true | Event |
| limitranges | limits | v1 | true | LimitRange |
| namespaces | ns | v1 | false | Namespace |
| nodes | no | v1 | false | Node |
| persistentvolumeclaims | pvc | v1 | true | PersistentVolumeClaim |
| persistentvolumes | pv | v1 | false | PersistentVolume |
| pods | po | v1 | true | Pod |
| podtemplates | v1 | true | PodTemplate | |
| replicationcontrollers | rc | v1 | true | ReplicationController |
| resourcequotas | quota | v1 | true | ResourceQuota |
| secrets | v1 | true | Secret | |
| serviceaccounts | sa | v1 | true | ServiceAccount |
| services | svc | v1 | true | Service |
| mutatingwebhookconfigurations | admissionregistration.k8s.io/v1 | false | MutatingWebhookConfiguration | |
| validatingwebhookconfigurations | admissionregistration.k8s.io/v1 | false | ValidatingWebhookConfiguration | |
| customresourcedefinitions | crd,crds | apiextensions.k8s.io/v1 | false | CustomResourceDefinition |
| apiservices | apiregistration.k8s.io/v1 | false | APIService | |
| apirequestcounts | apiserver.openshift.io/v1 | false | APIRequestCount | |
| controllerrevisions | apps/v1 | true | ControllerRevision | |
| daemonsets | ds | apps/v1 | true | DaemonSet |
| deployments | deploy | apps/v1 | true | Deployment |
| replicasets | rs | apps/v1 | true | ReplicaSet |
| statefulsets | sts | apps/v1 | true | StatefulSet |
| deploymentconfigs | dc | apps.openshift.io/v1 | true | DeploymentConfig |
| tokenreviews | authentication.k8s.io/v1 | false | TokenReview | |
| localsubjectaccessreviews | authorization.k8s.io/v1 | true | LocalSubjectAccessReview | |
| selfsubjectaccessreviews | authorization.k8s.io/v1 | false | SelfSubjectAccessReview | |
| selfsubjectrulesreviews | authorization.k8s.io/v1 | false | SelfSubjectRulesReview | |
| subjectaccessreviews | authorization.k8s.io/v1 | false | SubjectAccessReview | |
| clusterrolebindings | authorization.openshift.io/v1 | false | ClusterRoleBinding | |
| clusterroles | authorization.openshift.io/v1 | false | ClusterRole | |
| localresourceaccessreviews | authorization.openshift.io/v1 | true | LocalResourceAccessReview | |
| localsubjectaccessreviews | authorization.openshift.io/v1 | true | LocalSubjectAccessReview | |
| resourceaccessreviews | authorization.openshift.io/v1 | false | ResourceAccessReview | |
| rolebindingrestrictions | authorization.openshift.io/v1 | true | RoleBindingRestriction | |
| rolebindings | authorization.openshift.io/v1 | true | RoleBinding | |
| roles | authorization.openshift.io/v1 | true | Role | |
| selfsubjectrulesreviews | authorization.openshift.io/v1 | true | SelfSubjectRulesReview | |
| subjectaccessreviews | authorization.openshift.io/v1 | false | SubjectAccessReview | |
| subjectrulesreviews | authorization.openshift.io/v1 | true | SubjectRulesReview | |
| horizontalpodautoscalers | hpa | autoscaling/v2 | true | HorizontalPodAutoscaler |
| clusterautoscalers | ca | autoscaling.openshift.io/v1 | false | ClusterAutoscaler |
| machineautoscalers | ma | autoscaling.openshift.io/v1beta1 | true | MachineAutoscaler |
| cronjobs | cj | batch/v1 | true | CronJob |
| jobs | batch/v1 | true | Job | |
| buildconfigs | bc | build.openshift.io/v1 | true | BuildConfig |
| builds | build.openshift.io/v1 | true | Build | |
| certificatesigningrequests | csr | certificates.k8s.io/v1 | false | CertificateSigningRequest |
| credentialsrequests | cloudcredential.openshift.io/v1 | true | CredentialsRequest | |
| apiservers | config.openshift.io/v1 | false | APIServer | |
| authentications | config.openshift.io/v1 | false | Authentication | |
| builds | config.openshift.io/v1 | false | Build | |
| clusteroperators | co | config.openshift.io/v1 | false | ClusterOperator |
| clusterversions | config.openshift.io/v1 | false | ClusterVersion | |
| consoles | config.openshift.io/v1 | false | Console | |
| dnses | config.openshift.io/v1 | false | DNS | |
| featuregates | config.openshift.io/v1 | false | FeatureGate | |
| imagecontentpolicies | config.openshift.io/v1 | false | ImageContentPolicy | |
| images | config.openshift.io/v1 | false | Image | |
| infrastructures | config.openshift.io/v1 | false | Infrastructure | |
| ingresses | config.openshift.io/v1 | false | Ingress | |
| networks | config.openshift.io/v1 | false | Network | |
| oauths | config.openshift.io/v1 | false | OAuth | |
| operatorhubs | config.openshift.io/v1 | false | OperatorHub | |
| projects | config.openshift.io/v1 | false | Project | |
| proxies | config.openshift.io/v1 | false | Proxy | |
| schedulers | config.openshift.io/v1 | false | Scheduler | |
| consoleclidownloads | console.openshift.io/v1 | false | ConsoleCLIDownload | |
| consoleexternalloglinks | console.openshift.io/v1 | false | ConsoleExternalLogLink | |
| consolelinks | console.openshift.io/v1 | false | ConsoleLink | |
| consolenotifications | console.openshift.io/v1 | false | ConsoleNotification | |
| consoleplugins | console.openshift.io/v1alpha1 | false | ConsolePlugin | |
| consolequickstarts | console.openshift.io/v1 | false | ConsoleQuickStart | |
| consoleyamlsamples | console.openshift.io/v1 | false | ConsoleYAMLSample | |
| podnetworkconnectivitychecks | controlplane.operator.openshift.io/v1alpha1 | true | PodNetworkConnectivityCheck | |
| leases | coordination.k8s.io/v1 | true | Lease | |
| endpointslices | discovery.k8s.io/v1 | true | EndpointSlice | |
| events | ev | events.k8s.io/v1 | true | Event |
| flowschemas | flowcontrol.apiserver.k8s.io/v1beta2 | false | FlowSchema | |
| prioritylevelconfigurations | flowcontrol.apiserver.k8s.io/v1beta2 | false | PriorityLevelConfiguration | |
| helmchartrepositories | helm.openshift.io/v1beta1 | false | HelmChartRepository | |
| projecthelmchartrepositories | helm.openshift.io/v1beta1 | true | ProjectHelmChartRepository | |
| images | image.openshift.io/v1 | false | Image | |
| imagesignatures | image.openshift.io/v1 | false | ImageSignature | |
| imagestreamimages | isimage | image.openshift.io/v1 | true | ImageStreamImage |
| imagestreamimports | image.openshift.io/v1 | true | ImageStreamImport | |
| imagestreammappings | image.openshift.io/v1 | true | ImageStreamMapping | |
| imagestreams | is | image.openshift.io/v1 | true | ImageStream |
| imagestreamtags | istag | image.openshift.io/v1 | true | ImageStreamTag |
| imagetags | itag | image.openshift.io/v1 | true | ImageTag |
| configs | imageregistry.operator.openshift.io/v1 | false | Config | |
| imagepruners | imageregistry.operator.openshift.io/v1 | false | ImagePruner | |
| dnsrecords | ingress.operator.openshift.io/v1 | true | DNSRecord | |
| network-attachment-definitions | net-attach-def | k8s.cni.cncf.io/v1 | true | NetworkAttachmentDefinition |
| machinehealthchecks | mhc,mhcs | machine.openshift.io/v1beta1 | true | MachineHealthCheck |
| machines | machine.openshift.io/v1beta1 | true | Machine | |
| machinesets | machine.openshift.io/v1beta1 | true | MachineSet | |
| containerruntimeconfigs | ctrcfg | machineconfiguration.openshift.io/v1 | false | ContainerRuntimeConfig |
| controllerconfigs | machineconfiguration.openshift.io/v1 | false | ControllerConfig | |
| kubeletconfigs | machineconfiguration.openshift.io/v1 | false | KubeletConfig | |
| machineconfigpools | mcp | machineconfiguration.openshift.io/v1 | false | MachineConfigPool |
| machineconfigs | mc | machineconfiguration.openshift.io/v1 | false | MachineConfig |
| baremetalhosts | bmh,bmhost | metal3.io/v1alpha1 | true | BareMetalHost |
| bmceventsubscriptions | bes,bmcevent | metal3.io/v1alpha1 | true | BMCEventSubscription |
| firmwareschemas | metal3.io/v1alpha1 | true | FirmwareSchema | |
| hostfirmwaresettings | hfs | metal3.io/v1alpha1 | true | HostFirmwareSettings |
| preprovisioningimages | ppimg | metal3.io/v1alpha1 | true | PreprovisioningImage |
| provisionings | metal3.io/v1alpha1 | false | Provisioning | |
| storagestates | migration.k8s.io/v1alpha1 | false | StorageState | |
| storageversionmigrations | migration.k8s.io/v1alpha1 | false | StorageVersionMigration | |
| alertmanagerconfigs | monitoring.coreos.com/v1alpha1 | true | AlertmanagerConfig | |
| alertmanagers | monitoring.coreos.com/v1 | true | Alertmanager | |
| podmonitors | monitoring.coreos.com/v1 | true | PodMonitor | |
| probes | monitoring.coreos.com/v1 | true | Probe | |
| prometheuses | monitoring.coreos.com/v1 | true | Prometheus | |
| prometheusrules | monitoring.coreos.com/v1 | true | PrometheusRule | |
| servicemonitors | monitoring.coreos.com/v1 | true | ServiceMonitor | |
| thanosrulers | monitoring.coreos.com/v1 | true | ThanosRuler | |
| clusternetworks | network.openshift.io/v1 | false | ClusterNetwork | |
| egressnetworkpolicies | network.openshift.io/v1 | true | EgressNetworkPolicy | |
| hostsubnets | network.openshift.io/v1 | false | HostSubnet | |
| netnamespaces | network.openshift.io/v1 | false | NetNamespace | |
| egressrouters | network.operator.openshift.io/v1 | true | EgressRouter | |
| operatorpkis | network.operator.openshift.io/v1 | true | OperatorPKI | |
| ingressclasses | networking.k8s.io/v1 | false | IngressClass | |
| ingresses | ing | networking.k8s.io/v1 | true | Ingress |
| networkpolicies | netpol | networking.k8s.io/v1 | true | NetworkPolicy |
| runtimeclasses | node.k8s.io/v1 | false | RuntimeClass | |
| oauthaccesstokens | oauth.openshift.io/v1 | false | OAuthAccessToken | |
| oauthauthorizetokens | oauth.openshift.io/v1 | false | OAuthAuthorizeToken | |
| oauthclientauthorizations | oauth.openshift.io/v1 | false | OAuthClientAuthorization | |
| oauthclients | oauth.openshift.io/v1 | false | OAuthClient | |
| tokenreviews | oauth.openshift.io/v1 | false | TokenReview | |
| useroauthaccesstokens | oauth.openshift.io/v1 | false | UserOAuthAccessToken | |
| authentications | operator.openshift.io/v1 | false | Authentication | |
| cloudcredentials | operator.openshift.io/v1 | false | CloudCredential | |
| clustercsidrivers | operator.openshift.io/v1 | false | ClusterCSIDriver | |
| configs | operator.openshift.io/v1 | false | Config | |
| consoles | operator.openshift.io/v1 | false | Console | |
| csisnapshotcontrollers | operator.openshift.io/v1 | false | CSISnapshotController | |
| dnses | operator.openshift.io/v1 | false | DNS | |
| etcds | operator.openshift.io/v1 | false | Etcd | |
| imagecontentsourcepolicies | operator.openshift.io/v1alpha1 | false | ImageContentSourcePolicy | |
| ingresscontrollers | operator.openshift.io/v1 | true | IngressController | |
| kubeapiservers | operator.openshift.io/v1 | false | KubeAPIServer | |
| kubecontrollermanagers | operator.openshift.io/v1 | false | KubeControllerManager | |
| kubeschedulers | operator.openshift.io/v1 | false | KubeScheduler | |
| kubestorageversionmigrators | operator.openshift.io/v1 | false | KubeStorageVersionMigrator | |
| networks | operator.openshift.io/v1 | false | Network | |
| openshiftapiservers | operator.openshift.io/v1 | false | OpenShiftAPIServer | |
| openshiftcontrollermanagers | operator.openshift.io/v1 | false | OpenShiftControllerManager | |
| servicecas | operator.openshift.io/v1 | false | ServiceCA | |
| storages | operator.openshift.io/v1 | false | Storage | |
| catalogsources | catsrc | operators.coreos.com/v1alpha1 | true | CatalogSource |
| clusterserviceversions | csv,csvs | operators.coreos.com/v1alpha1 | true | ClusterServiceVersion |
| installplans | ip | operators.coreos.com/v1alpha1 | true | InstallPlan |
| olmconfigs | operators.coreos.com/v1 | false | OLMConfig | |
| operatorconditions | condition | operators.coreos.com/v2 | true | OperatorCondition |
| operatorgroups | og | operators.coreos.com/v1 | true | OperatorGroup |
| operators | operators.coreos.com/v1 | false | Operator | |
| subscriptions | sub,subs | operators.coreos.com/v1alpha1 | true | Subscription |
| packagemanifests | packages.operators.coreos.com/v1 | true | PackageManifest | |
| poddisruptionbudgets | pdb | policy/v1 | true | PodDisruptionBudget |
| podsecuritypolicies | psp | policy/v1beta1 | false | PodSecurityPolicy |
| projectrequests | project.openshift.io/v1 | false | ProjectRequest | |
| projects | project.openshift.io/v1 | false | Project | |
| appliedclusterresourcequotas | quota.openshift.io/v1 | true | AppliedClusterResourceQuota | |
| clusterresourcequotas | clusterquota | quota.openshift.io/v1 | false | ClusterResourceQuota |
| clusterrolebindings | rbac.authorization.k8s.io/v1 | false | ClusterRoleBinding | |
| clusterroles | rbac.authorization.k8s.io/v1 | false | ClusterRole | |
| rolebindings | rbac.authorization.k8s.io/v1 | true | RoleBinding | |
| roles | rbac.authorization.k8s.io/v1 | true | Role | |
| routes | route.openshift.io/v1 | true | Route | |
| configs | samples.operator.openshift.io/v1 | false | Config | |
| priorityclasses | pc | scheduling.k8s.io/v1 | false | PriorityClass |
| rangeallocations | security.internal.openshift.io/v1 | false | RangeAllocation | |
| podsecuritypolicyreviews | security.openshift.io/v1 | true | PodSecurityPolicyReview | |
| podsecuritypolicyselfsubjectreviews | security.openshift.io/v1 | true | PodSecurityPolicySelfSubjectReview | |
| podsecuritypolicysubjectreviews | security.openshift.io/v1 | true | PodSecurityPolicySubjectReview | |
| rangeallocations | security.openshift.io/v1 | false | RangeAllocation | |
| securitycontextconstraints | scc | security.openshift.io/v1 | false | SecurityContextConstraints |
| csidrivers | storage.k8s.io/v1 | false | CSIDriver | |
| csinodes | storage.k8s.io/v1 | false | CSINode | |
| csistoragecapacities | storage.k8s.io/v1beta1 | true | CSIStorageCapacity | |
| storageclasses | sc | storage.k8s.io/v1 | false | StorageClass |
| volumeattachments | storage.k8s.io/v1 | false | VolumeAttachment | |
| brokertemplateinstances | template.openshift.io/v1 | false | BrokerTemplateInstance | |
| processedtemplates | template.openshift.io/v1 | true | Template | |
| templateinstances | template.openshift.io/v1 | true | TemplateInstance | |
| templates | template.openshift.io/v1 | true | Template | |
| profiles | tuned.openshift.io/v1 | true | Profile | |
| tuneds | tuned.openshift.io/v1 | true | Tuned | |
| groups | user.openshift.io/v1 | false | Group | |
| identities | user.openshift.io/v1 | false | Identity | |
| useridentitymappings | user.openshift.io/v1 | false | UserIdentityMapping | |
| users | user.openshift.io/v1 | false | User | |
| ippools | whereabouts.cni.cncf.io/v1alpha1 | true | IPPool | |
| overlappingrangeipreservations | whereabouts.cni.cncf.io/v1alpha1 | true | OverlappingRangeIPReservation |