What is a CustomResourceDefinition (CRD)?
BeginnerConceptExtending Kubernetes: Helm, CRDs, Operators & kubectl
Answer
A CRD registers a new resource type (for example Certificate, Prometheus) with the API server, which then stores and serves it like built-in types, with schema validation (OpenAPI v3), versions and subresources. A CRD alone does nothing; a controller acts on the custom resources.
kubectl get crd
kubectl explain certificate.spec
More on Extending Kubernetes: Helm, CRDs, Operators & kubectl
What is Helm and what problem does it solve?BeginnerWhat are the basic Helm commands?BeginnerWhat is an Operator?BeginnerWhat are `kubectl get`, `describe`, `logs` and `exec` used for?BeginnerWhat is a kubeconfig file and context?BeginnerHow is a Helm chart structured and how does templating work?Intermediate