Skip to content

Instantly share code, notes, and snippets.

@jboxman
Created October 21, 2020 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jboxman/ed2db85d80bccf7830de8b957f55f0a9 to your computer and use it in GitHub Desktop.
Save jboxman/ed2db85d80bccf7830de8b957f55f0a9 to your computer and use it in GitHub Desktop.
The API resources in OCP 4.6
NAME SHORTNAMES APIGROUP NAMESPACED KIND
bindings true Binding
componentstatuses cs false ComponentStatus
configmaps cm true ConfigMap
endpoints ep true Endpoints
events ev true Event
limitranges limits true LimitRange
namespaces ns false Namespace
nodes no false Node
persistentvolumeclaims pvc true PersistentVolumeClaim
persistentvolumes pv false PersistentVolume
pods po true Pod
podtemplates true PodTemplate
replicationcontrollers rc true ReplicationController
resourcequotas quota true ResourceQuota
secrets true Secret
serviceaccounts sa true ServiceAccount
services svc true Service
mutatingwebhookconfigurations admissionregistration.k8s.io false MutatingWebhookConfiguration
validatingwebhookconfigurations admissionregistration.k8s.io false ValidatingWebhookConfiguration
customresourcedefinitions crd,crds apiextensions.k8s.io false CustomResourceDefinition
apiservices apiregistration.k8s.io false APIService
controllerrevisions apps true ControllerRevision
daemonsets ds apps true DaemonSet
deployments deploy apps true Deployment
replicasets rs apps true ReplicaSet
statefulsets sts apps true StatefulSet
deploymentconfigs dc apps.openshift.io true DeploymentConfig
tokenreviews authentication.k8s.io false TokenReview
localsubjectaccessreviews authorization.k8s.io true LocalSubjectAccessReview
selfsubjectaccessreviews authorization.k8s.io false SelfSubjectAccessReview
selfsubjectrulesreviews authorization.k8s.io false SelfSubjectRulesReview
subjectaccessreviews authorization.k8s.io false SubjectAccessReview
clusterrolebindings authorization.openshift.io false ClusterRoleBinding
clusterroles authorization.openshift.io false ClusterRole
localresourceaccessreviews authorization.openshift.io true LocalResourceAccessReview
localsubjectaccessreviews authorization.openshift.io true LocalSubjectAccessReview
resourceaccessreviews authorization.openshift.io false ResourceAccessReview
rolebindingrestrictions authorization.openshift.io true RoleBindingRestriction
rolebindings authorization.openshift.io true RoleBinding
roles authorization.openshift.io true Role
selfsubjectrulesreviews authorization.openshift.io true SelfSubjectRulesReview
subjectaccessreviews authorization.openshift.io false SubjectAccessReview
subjectrulesreviews authorization.openshift.io true SubjectRulesReview
horizontalpodautoscalers hpa autoscaling true HorizontalPodAutoscaler
clusterautoscalers ca autoscaling.openshift.io false ClusterAutoscaler
machineautoscalers ma autoscaling.openshift.io true MachineAutoscaler
cronjobs cj batch true CronJob
jobs batch true Job
buildconfigs bc build.openshift.io true BuildConfig
builds build.openshift.io true Build
certificatesigningrequests csr certificates.k8s.io false CertificateSigningRequest
credentialsrequests cloudcredential.openshift.io true CredentialsRequest
apiservers config.openshift.io false APIServer
authentications config.openshift.io false Authentication
builds config.openshift.io false Build
clusteroperators co config.openshift.io false ClusterOperator
clusterversions config.openshift.io false ClusterVersion
consoles config.openshift.io false Console
dnses config.openshift.io false DNS
featuregates config.openshift.io false FeatureGate
images config.openshift.io false Image
infrastructures config.openshift.io false Infrastructure
ingresses config.openshift.io false Ingress
networks config.openshift.io false Network
oauths config.openshift.io false OAuth
operatorhubs config.openshift.io false OperatorHub
projects config.openshift.io false Project
proxies config.openshift.io false Proxy
schedulers config.openshift.io false Scheduler
consoleclidownloads console.openshift.io false ConsoleCLIDownload
consoleexternalloglinks console.openshift.io false ConsoleExternalLogLink
consolelinks console.openshift.io false ConsoleLink
consolenotifications console.openshift.io false ConsoleNotification
consoleyamlsamples console.openshift.io false ConsoleYAMLSample
leases coordination.k8s.io true Lease
endpointslices discovery.k8s.io true EndpointSlice
events ev events.k8s.io true Event
ingresses ing extensions true Ingress
flowschemas flowcontrol.apiserver.k8s.io false FlowSchema
prioritylevelconfigurations flowcontrol.apiserver.k8s.io false PriorityLevelConfiguration
helmchartrepositories helm.openshift.io false HelmChartRepository
images image.openshift.io false Image
imagesignatures image.openshift.io false ImageSignature
imagestreamimages isimage image.openshift.io true ImageStreamImage
imagestreamimports image.openshift.io true ImageStreamImport
imagestreammappings image.openshift.io true ImageStreamMapping
imagestreams is image.openshift.io true ImageStream
imagestreamtags istag image.openshift.io true ImageStreamTag
imagetags itag image.openshift.io true ImageTag
configs imageregistry.operator.openshift.io false Config
imagepruners imageregistry.operator.openshift.io false ImagePruner
dnsrecords ingress.operator.openshift.io true DNSRecord
network-attachment-definitions net-attach-def k8s.cni.cncf.io true NetworkAttachmentDefinition
machinehealthchecks mhc,mhcs machine.openshift.io true MachineHealthCheck
machines machine.openshift.io true Machine
machinesets machine.openshift.io true MachineSet
containerruntimeconfigs ctrcfg machineconfiguration.openshift.io false ContainerRuntimeConfig
controllerconfigs machineconfiguration.openshift.io false ControllerConfig
kubeletconfigs machineconfiguration.openshift.io false KubeletConfig
machineconfigpools mcp machineconfiguration.openshift.io false MachineConfigPool
machineconfigs mc machineconfiguration.openshift.io false MachineConfig
baremetalhosts bmh,bmhost metal3.io true BareMetalHost
provisionings metal3.io false Provisioning
nodes metrics.k8s.io false NodeMetrics
pods metrics.k8s.io true PodMetrics
storagestates migration.k8s.io false StorageState
storageversionmigrations migration.k8s.io false StorageVersionMigration
alertmanagers monitoring.coreos.com true Alertmanager
podmonitors monitoring.coreos.com true PodMonitor
probes monitoring.coreos.com true Probe
prometheuses monitoring.coreos.com true Prometheus
prometheusrules monitoring.coreos.com true PrometheusRule
servicemonitors monitoring.coreos.com true ServiceMonitor
thanosrulers monitoring.coreos.com true ThanosRuler
clusternetworks network.openshift.io false ClusterNetwork
egressnetworkpolicies network.openshift.io true EgressNetworkPolicy
hostsubnets network.openshift.io false HostSubnet
netnamespaces network.openshift.io false NetNamespace
operatorpkis network.operator.openshift.io true OperatorPKI
ingressclasses networking.k8s.io false IngressClass
ingresses ing networking.k8s.io true Ingress
networkpolicies netpol networking.k8s.io true NetworkPolicy
runtimeclasses node.k8s.io false RuntimeClass
oauthaccesstokens oauth.openshift.io false OAuthAccessToken
oauthauthorizetokens oauth.openshift.io false OAuthAuthorizeToken
oauthclientauthorizations oauth.openshift.io false OAuthClientAuthorization
oauthclients oauth.openshift.io false OAuthClient
authentications operator.openshift.io false Authentication
cloudcredentials operator.openshift.io false CloudCredential
clustercsidrivers operator.openshift.io false ClusterCSIDriver
configs operator.openshift.io false Config
consoles operator.openshift.io false Console
csisnapshotcontrollers operator.openshift.io false CSISnapshotController
dnses operator.openshift.io false DNS
etcds operator.openshift.io false Etcd
imagecontentsourcepolicies operator.openshift.io false ImageContentSourcePolicy
ingresscontrollers operator.openshift.io true IngressController
kubeapiservers operator.openshift.io false KubeAPIServer
kubecontrollermanagers operator.openshift.io false KubeControllerManager
kubeschedulers operator.openshift.io false KubeScheduler
kubestorageversionmigrators operator.openshift.io false KubeStorageVersionMigrator
networks operator.openshift.io false Network
openshiftapiservers operator.openshift.io false OpenShiftAPIServer
openshiftcontrollermanagers operator.openshift.io false OpenShiftControllerManager
servicecas operator.openshift.io false ServiceCA
storages operator.openshift.io false Storage
catalogsources catsrc operators.coreos.com true CatalogSource
clusterserviceversions csv,csvs operators.coreos.com true ClusterServiceVersion
installplans ip operators.coreos.com true InstallPlan
operatorgroups og operators.coreos.com true OperatorGroup
operators operators.coreos.com false Operator
subscriptions sub,subs operators.coreos.com true Subscription
packagemanifests packages.operators.coreos.com true PackageManifest
poddisruptionbudgets pdb policy true PodDisruptionBudget
podsecuritypolicies psp policy false PodSecurityPolicy
projectrequests project.openshift.io false ProjectRequest
projects project.openshift.io false Project
appliedclusterresourcequotas quota.openshift.io true AppliedClusterResourceQuota
clusterresourcequotas clusterquota quota.openshift.io false ClusterResourceQuota
clusterrolebindings rbac.authorization.k8s.io false ClusterRoleBinding
clusterroles rbac.authorization.k8s.io false ClusterRole
rolebindings rbac.authorization.k8s.io true RoleBinding
roles rbac.authorization.k8s.io true Role
routes route.openshift.io true Route
configs samples.operator.openshift.io false Config
priorityclasses pc scheduling.k8s.io false PriorityClass
rangeallocations security.internal.openshift.io false RangeAllocation
podsecuritypolicyreviews security.openshift.io true PodSecurityPolicyReview
podsecuritypolicyselfsubjectreviews security.openshift.io true PodSecurityPolicySelfSubjectReview
podsecuritypolicysubjectreviews security.openshift.io true PodSecurityPolicySubjectReview
rangeallocations security.openshift.io false RangeAllocation
securitycontextconstraints scc security.openshift.io false SecurityContextConstraints
volumesnapshotclasses snapshot.storage.k8s.io false VolumeSnapshotClass
volumesnapshotcontents snapshot.storage.k8s.io false VolumeSnapshotContent
volumesnapshots snapshot.storage.k8s.io true VolumeSnapshot
csidrivers storage.k8s.io false CSIDriver
csinodes storage.k8s.io false CSINode
storageclasses sc storage.k8s.io false StorageClass
volumeattachments storage.k8s.io false VolumeAttachment
brokertemplateinstances template.openshift.io false BrokerTemplateInstance
processedtemplates template.openshift.io true Template
templateinstances template.openshift.io true TemplateInstance
templates template.openshift.io true Template
profiles tuned.openshift.io true Profile
tuneds tuned.openshift.io true Tuned
groups user.openshift.io false Group
identities user.openshift.io false Identity
useridentitymappings user.openshift.io false UserIdentityMapping
users user.openshift.io false User
ippools whereabouts.cni.cncf.io true IPPool
overlappingrangeipreservations whereabouts.cni.cncf.io true OverlappingRangeIPReservation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment