CRD

A CustomResourceDefinition: an object that teaches the API server a new kind, with its own name, group, scope and schema.

In more detail

Once a CRD is installed, you can create objects of the new kind with kubectl like any built-in one, and the API server validates them against the CRD's OpenAPI schema. A CRD only stores data; a controller is needed to act on it. Argo CD and Flux install CRDs of their own.

Example

kubectl get website sample -o yaml

Related terms

Taught in

References

Certification courses