Custom Resource Definitions
How CRDs extend the Kubernetes API — anatomy, schema validation, subresources, and real examples from cert-manager and Prometheus Operator.
A CRD isn't just the thing you kubectl apply when installing an operator. It's the complete specification for how the operator's API works — what's required, what's validated, what values are rejected before the controller ever sees them. Reading a CRD tells you more about how an operator behaves than its README does.
When you run kubectl get certificates or kubectl get prometheuses, you're querying custom API endpoints that didn't exist in Kubernetes core. A CRD is the declaration that creates those endpoints: it tells the API server what the resource is called, what fields it accepts, and how to validate them.
Enroll to read the rest of this lesson
Free. Your progress and certificate come with it.
Enroll, free