DevOps · Concept
CRD
A CustomResourceDefinition (CRD) adds a new resource type to the Kubernetes API. Kubernetes serves and stores its objects, while the CRD defines their names, scope, versions, and schema.
Last updated
Syntax
kubectl apply -f crd.yaml
kubectl get <resource>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Custom ResourcesAPI AggregationOpenAPI v3.0 validationAdmission WebhooksFinalizersRBACCustom resource definition versioning