Platform Engineering with Crossplane
Expert · 60 minutes · 4 tasks, checked automatically · 100 points
In this expert-level lab you will build a complete internal developer platform using Crossplane — the open-source Kubernetes-native control plane framework. You will install Crossplane via Helm, configure a local provider (the Kubernetes provider), define Composite Resource Definitions (XRDs) and Compositions, and finally provision a composite resource to see the full platform-engineering workflow in action. By the end you will understand how Crossplane turns Kubernetes into a universal cloud-resource API, enabling platform teams to expose curated abstractions to developers.
What you’ll learn
- Install Crossplane using Helm and verify all core components are healthy
- Install and configure the Crossplane Kubernetes Provider with in-cluster RBAC so Crossplane can manage native Kubernetes resources
- Define a CompositeResourceDefinition (XRD) and a Composition that provisions a Namespace plus a ResourceQuota as a single developer-facing abstraction
- Claim the composite resource and verify that Crossplane reconciles the desired managed resources end-to-end
How this lab works
- Start the lab: One click starts a real Kubernetes cluster on your computer (kind), with kubectl ready in a toolbox terminal.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads your live cluster and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Cluster: A real Kubernetes cluster on your computer (kind)
- Kubernetes: 1.34.8
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- A kind cluster created in the Kubernetes Playground
Topics: crossplane, platform-engineering, operators, xrd, composition, kubernetes-provider, idp, control-plane, helm
Create a free account to start this lab.
Keep going
- Scaffold an Operator with the Operator SDK
- Build a Controller with the client-go Informer Pattern
- CRD Versioning and Conversion Webhooks
- Implement a Reconcile Loop with Owner References
- Run Virtual Machines on Kubernetes with KubeVirt
- Build a Custom Resource and Reconcile It with an Operator (kubebuilder/CRD basics)