IT lexicon › Infra & Ops › CRD

CRD

Infra & Ops På svenska → Updated: 2026-05-27

Custom Resource Definition — extends the Kubernetes API with new resource types. Combined with a controller, it forms the Operator pattern. Everything from Cert-Manager Certificate to Prometheus ServiceMonitor is a CRD.

YAML that registers a new API: kind: Certificate, group: cert-manager.io, version: v1. OpenAPI schema for validation. Once installed: kubectl get certificates works like any other resource. Conversion webhooks for version transitions. Common CRD sources: Istio (50+ CRDs), Knative, Argo (Workflow, Application, Rollout), Prometheus Operator (Alertmanager, ServiceMonitor, PrometheusRule). Cluster bloat risk: 200+ CRDs weigh down etcd. CRD versioning is a historical weakness — bumping v1alpha1 → v1 is hopeless in prod.

← Back to the lexicon