Define a Crossplane Composition and CompositeResourceDefinition (v1) to provision an RDS database

domain: docs.crossplane.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Author an `CompositeResourceDefinition` (XRD) manifest with `apiVersion: apiextensions.crossplane.io/v1` and `spec.group`, `spec.names.kind`, and `spec.versions` fields defining the claim API schema.
  2. Note: `apiextensions.crossplane.io/v2` XRDs use a `scope` field and do not support Claims; for namespaced claim-based access use `apiextensions.crossplane.io/v1` with `spec.claimNames`.
  3. Author a `Composition` manifest with `apiVersion: apiextensions.crossplane.io/v1` that lists composed resources (RDS instance, subnet group, parameter group) using `spec.resources[].base` and patch transforms.
  4. Apply both manifests: `kubectl apply -f xrd.yaml -f composition.yaml`; Crossplane registers new CRDs within seconds.
  5. Create a `Claim` resource (the namespaced user-facing kind defined in `spec.claimNames`) and verify that Crossplane creates the corresponding `CompositeResource` and provisions all composed managed resources.
  6. Use `kubectl get compositeresourcedefinitions` and `kubectl get compositions` to verify status; use `kubectl describe` on the composite resource to trace provision failures.

Known gotchas

Related routes

Define a Crossplane Composition with a pipeline function to provision an RDS instance plus a SecretsManager secret and expose connection details as a composite resource claim
Crossplane · 6 steps · unrated
Build a Crossplane CompositeResourceDefinition (XRD) with schema validation and a matching Composition that provisions a managed database with a connection secret claim
crossplane.io · 5 steps · unrated
Define a Crossplane v2 CompositeResourceDefinition (XRD) with OpenAPI schema validation and a matching Composition using pipeline mode with function-environment-configs
docs.crossplane.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans