Course · Training · Workshop
Crossplane - K8S Native Platform Engineering
Two days hands-on with Crossplane v2: manage cloud resources from Kubernetes through providers, and build, test, package and operate your own platform APIs with XRDs and compositions.
Your platform team runs Kubernetes, and the development teams also need databases, storage and other cloud resources. These are often created through tickets, separate Terraform repositories or pipelines whose state is only checked when they run. Crossplane brings these resources into the Kubernetes API: providers represent cloud services as managed resources that are continuously reconciled with the desired state, and with CompositeResourceDefinitions (XRDs) and compositions you define your own platform APIs through which teams obtain infrastructure as a self-service. In this course you work with Crossplane v2 throughout, in your own Kubernetes cluster with access to your own Azure resource group. On the first day you install providers, create managed resources in Azure, define your own API with an XRD and implement it with a composition built from a function pipeline. On the second day you go deeper into compositions and Go templating, package your API as a configuration, handle secrets, debugging and observability, and migrate a resource from Crossplane v1 to v2. At the end you have built your own platform API from the XRD through the composition to the versioned package, and you know how to introduce and operate Crossplane in your environment.
What participants say






These customers booked courses in the same topic cluster.More customers →
Content
This training is for teams that run a Kubernetes platform and want to offer infrastructure on it as their own APIs. You work in the Letsboot Labmachine with your own Kubernetes cluster, Crossplane v2 and your own Azure resource group.
The course consists of the following topics and is adjusted to the progress and interests of the group. The first day leads from the architecture through providers and XRDs to compositions and functions, the second day covers advanced compositions, operations and the migration from v1 to v2.
Crossplane overview and architecture
- Two tools in one: connect external systems through managed resources and build your own platform APIs with compositions
- Control plane: API-driven state, continuous reconciliation and self-healing
- Architecture: Crossplane core, providers, functions, package manager and Operations (alpha)
- Crossplane and Terraform compared: state, reconciliation and GitOps
- Hands-On: manage databases and users in MySQL declaratively with the SQL provider
Providers and managed resources
- Install providers from the Upbound Marketplace, set up ProviderConfig and credentials
- Managed resources: spec.forProvider, lifecycle and reconciliation loop
- Crossplane v2: namespaced and cluster-scoped managed resources
- ManagedResourceDefinitions and ManagedResourceActivationPolicy: activate only the CRDs you need
- Finding documentation: kubectl explain, provider examples and the Terraform provider documentation
- Hands-On: install the Azure provider, create a storage account with container and blob and check public access with curl
Your own platform APIs with XRDs
- Starting point: managed resources expose a large number of details to development teams
- CompositeResourceDefinitions (XRDs): your own CRDs with an OpenAPI v3 schema
- Validation with types and enums
- Explore your own API with kubectl explain and kubectl api-resources
- Hands-On: define the PublicStorage API, extend it with a field and test the validation
Compositions and functions
- Compositions as function pipelines: steps, input and desired state
- Structure of a composition: compositeTypeRef, mode Pipeline, function-go-templating and function-auto-ready
- Functions as OCI packages: installation, health and revisions
- Choosing functions: go-templating, patch-and-transform, auto-ready and the case for a custom function
- Hands-On: install the XRD, functions and composition so that a PublicStorage request creates Azure storage
Advanced compositions
- Run compositions locally with crossplane composition render, including observed state
- Compose any Kubernetes resource (Crossplane v2) and the ClusterRole aggregation it requires
- Namespaced and cluster-scoped composite resources: use and limits
- Required resources: access existing resources from a composition
- Lifecycle annotations: import existing resources with external-name, pause them and keep them on deletion
- Nested compositions for architectures with several providers
- Hands-On: render a composition locally, compose a Kubernetes Deployment and import and pause existing Azure storage accounts
Advanced Go templating
- Context: share variables across pipeline steps
- ExtraResources: dependencies between compositions
- Write status fields back to the composite resource
- Sprig functions for lists, strings and conditions
- Observed state: create resources depending on the readiness of other resources
- Hands-On: build, render and test the StorageAccount and BlobStorage compositions with Context, ExtraResources, range loops and status fields
Crossplane in the enterprise
- Configuration packages: XRDs, compositions and dependencies as versioned OCI images
- crossplane xpkg build and push, distribution to several clusters through registries
- DeploymentRuntimeConfig: provider settings, high availability and dedicated node pools
- Least privilege for providers
- Hands-On: package the PublicStorage API as a versioned configuration and install it
Secrets
- Connection secrets of managed resources
- Connection details in Crossplane v2: the composition creates its own Secret from the connection details of its resources
- Timing: when secrets become available in the lifecycle of a composition
- Hands-On: database as a service with MySQL, where a composition creates database, user and grants and delivers the credentials as a secret
Debugging and observability
- Read conditions, events, logs and revisions
- Follow the relationships between resources with crossplane resource trace
- Raise the log level of providers and functions through the runtime configuration
- Metrics of Crossplane and providers, PodMonitors and Grafana dashboards
- Provider change logs, visualisation with Crossview and Komoplane
- Hands-On: diagnose broken compositions with render and set up monitoring with Grafana and Crossview
From v1 to v2 and best practices
- Differences: claims and cluster-scoped composite resources in v1, namespaced composite resources in v2
- Migration strategies: backwards compatibility, active migration and manual import
- crossplane-diff: preview the impact of a composition change
- API design, upgrades and versioning of compositions
- GitOps with Argo CD, packaging and a checklist for production
- Hands-On: migrate a Grafana dashboard from a v1 claim to a namespaced composition in v2
Where needed we add a refresher on Kubernetes (Pods, Deployments, Services, storage, Helm) or an introduction to Argo CD with the app of apps pattern. The exercises use Azure; providers, managed resources, XRDs and compositions work the same way with the providers for AWS and GCP.
At the end of the two days you have defined your own platform API, implemented it with compositions, tested it locally, packaged it as a configuration and monitored it. Related courses: Kubernetes & Docker DevOps for getting started with Kubernetes, Terraform for AWS, Azure or GCP and OpenTofu for infrastructure as code outside Kubernetes, GitOps with ArgoCD for delivery and Talos Linux for Kubernetes for operating your own clusters.
The actual course content may differ from the above depending on the trainer, delivery, duration and the composition of participants.
Request this course in-house
Request a public date
No suitable public date? Register without obligation — once there is enough interest we schedule a new public date and let you know first.
More about Crossplane
Crossplane is an open-source project under the Cloud Native Computing Foundation (CNCF) that extends Kubernetes into a full control plane for infrastructure. It allows defining and managing infrastructure resources such as databases, buckets, or networks just like Kubernetes objects.Further resources:
History
Crossplane was created by Upbound in 2018 and donated to the CNCF in 2020. Since November 2025 Crossplane has been a graduated CNCF project. The goal was to extend Kubernetes concepts to infrastructure and provide a common API for different cloud providers.
Since then, Crossplane has evolved into a key building block of modern platform engineering strategies. With the introduction of Compositions and XRDs, Crossplane allows companies to define their own platform APIs and provide self-service for developers.
Today, Crossplane is used globally by companies of all sizes and is considered a cornerstone of "Infrastructure as Code" in Kubernetes-centered environments.
