Cloud Expert
Crossplane — K8s-Native IaC¶
CrossplaneKubernetesIaC 3 min read
Infrastructure as Kubernetes resources. Crossplane compositions and claims.
Principle¶
Crossplane extends the Kubernetes API with cloud resources. Infrastructure = kubectl apply.
Example¶
apiVersion: database.aws.crossplane.io/v1beta1
kind: RDSInstance
metadata:
name: my-database
spec:
forProvider:
region: eu-central-1
dbInstanceClass: db.t3.micro
engine: postgres
engineVersion: "16"
masterUsername: admin
allocatedStorage: 20
Compositions¶
Compositions = abstractions over cloud resources. The team defines a ‘Database’ claim and Crossplane creates the RDS, Security Group, Subnet Group.
Summary¶
Crossplane is ideal if you want a single control plane (K8s) for both applications and infrastructure.
Need Help with Implementation?¶
Our team has experience designing and implementing modern architectures. We’re happy to help.