Crossplane
Crossplane is a Kubernetes add-on that manages cloud infrastructure (RDS, S3, VPCs, IAM, clusters, and more) as custom resources. Provider controllers continuously reconcile real cloud resources: drift is auto-corrected. There is no Terraform-style state file or plan/apply cycle for those managed resources.
This page is a decision and mental-model guide — not a full Crossplane install tutorial.
How It Fits
Section titled “How It Fits”| Piece | Role |
|---|---|
| Provider | Talks to a cloud API (AWS, Azure, GCP, and others) |
| Managed resource | A CR that maps 1:1 (or nearly) to a cloud object |
| XRD + Composition | Platform API: a simple claim (for example kind: Database, size: small) expands into the full set of cloud resources |
Crossplane is an operator pattern for infrastructure. For CRDs and controllers in general, see Operators.
Crossplane and GitOps
Section titled “Crossplane and GitOps”Argo CD (or Flux) syncs YAML from Git into the cluster. Crossplane turns that YAML into real cloud infrastructure.
Together they give you GitOps for infrastructure: an app’s Deployment and its Database claim can live side by side in the deployments repo.
Practical tips when Argo CD owns the sync:
- Use sync waves so infrastructure is Ready before the app starts.
- Add Argo health checks for Crossplane
Ready/Syncedconditions. - Consume Crossplane connection secrets (pairs well with External Secrets or Vault — see Helm templating).
- Use
ignoreDifferencesfor late-initialized fields that the cloud API fills in after create.
Multi-app bootstrap patterns that often install Crossplane as a platform add-on: Argo CD — multi-app patterns.
Crossplane vs Terraform
Section titled “Crossplane vs Terraform”| Crossplane | Terraform | |
|---|---|---|
| Reconcile model | Continuous (controller loop) | Plan/apply; drift unless you re-run |
| API surface | Kubernetes CRDs + RBAC | HCL modules and state |
| Self-service | Strong via Compositions / claims | Possible via wrappers and pipelines |
| Ecosystem | Growing; cloud-provider coverage varies | Broader provider ecosystem; mature plan previews |
| Debugging | Kubernetes events, provider logs, claim status | Plan output, state, provider logs |
Many organizations use both: Terraform (or similar) for the management cluster and baseline accounts; Crossplane for app-facing cloud resources delivered through GitOps.
For Terraform-focused guides, see the Terraform library and Create an EKS cluster with Terraform. For declaring EKS itself via Crossplane or Cluster API, see Cluster lifecycle tools.
When to Choose Crossplane
Section titled “When to Choose Crossplane”- You want Kubernetes-native infra APIs and the same RBAC / GitOps path as workloads.
- Platform teams will invest in Compositions and a management cluster.
- Continuous reconciliation of cloud resources matters more than a mature
planpreview UX.
Prefer Terraform (or stick with it) when the org is already standardized on HCL modules, needs the broadest provider coverage, or wants plan-based change review as the primary control.
Related
Section titled “Related”- Argo CD — Sync, ApplicationSets, sync waves.
- GitOps — Pull model, Flux, three-repo promotion.
- Helm vs operators vs GitOps — Where Crossplane sits relative to packaging and sync.
- Operators — CRDs and controllers.
- Multi-cluster management — Cluster API and fleet patterns.
- Cluster lifecycle tools — How clusters themselves are created (kops, EKS, CAPI, Crossplane).