Skip to content

Crossplane

First PublishedByAtif Alam

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.

PieceRole
ProviderTalks to a cloud API (AWS, Azure, GCP, and others)
Managed resourceA CR that maps 1:1 (or nearly) to a cloud object
XRD + CompositionPlatform API: a simple claim (for example kind: Database, size: small) expands into the full set of cloud resources
Compositions and XRDs are the basis of many internal developer platforms: app teams request a Database claim; the platform owns how that becomes RDS, subnets, secrets, and IAM.

Crossplane is an operator pattern for infrastructure. For CRDs and controllers in general, see Operators.

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 / Synced conditions.
  • Consume Crossplane connection secrets (pairs well with External Secrets or Vault — see Helm templating).
  • Use ignoreDifferences for 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.

CrossplaneTerraform
Reconcile modelContinuous (controller loop)Plan/apply; drift unless you re-run
API surfaceKubernetes CRDs + RBACHCL modules and state
Self-serviceStrong via Compositions / claimsPossible via wrappers and pipelines
EcosystemGrowing; cloud-provider coverage variesBroader provider ecosystem; mature plan previews
DebuggingKubernetes events, provider logs, claim statusPlan 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.

  • 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 plan preview 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.