Crossplane: the future of Kubernetes-native Infrastructure as Code?
Image source: Crossplane Blog

Crossplane: the future of Kubernetes-native Infrastructure as Code?

As cloud-native architectures evolve, infrastructure management is shifting towards declarative, Kubernetes-native solutions. Tools like Terraform have dominated Infrastructure as Code (IaC) for years, however, Crossplane is emerging as a powerful alternative. It extends Kubernetes beyond container orchestration, allowing teams to manage cloud resources directly using Kubernetes APIs.

But is Crossplane the future of IaC? How does it compare to Terraform, and how can it integrate with GitOps workflows? Let’s take a look.

What is Crossplane?

Crossplane is an open-source Kubernetes add-on that enables teams to manage infrastructure declaratively, just like they would manage applications. Unlike Terraform, which operates externally, Crossplane runs inside a Kubernetes cluster, leveraging Custom Resource Definitions (CRDs) to provision and manage cloud resources.

Key Features:

  • Kubernetes-native API for infrastructure management.
  • Supports multiple cloud providers (AWS, Azure, GCP, etc.).
  • Composable and reusable infrastructure definitions.
  • Full lifecycle management, including updates and deletions.

Crossplane essentially transforms Kubernetes into a universal control plane for infrastructure.

How it works

Crossplane introduces a few key concepts that differentiate it from traditional IaC tools:

1. Providers

Providers enable external cloud resource management, similar to Terraform providers. AWS, Azure and GCP all have their own Crossplane providers, allowing users to provision cloud services using Kubernetes manifests.

2. Compositions

Compositions allows teams to define reusable infrastructure blueprints. For example, instead of exposing raw AWS RDS resources, you can create a standardized "Database" abstraction that enforces security and cost policies.

3. Claims

Claims allows application teams to request resources without needing to understand the underlying infrastructure. This aligns with the "Self-Service Platform Engineering" model, where developers request resources, and Crossplane provisions them automatically.

Crossplane vs. Terraform: best applications

While both tools manage infrastructure declaratively, they have different advantages:

Crossplane and Terraform feature comparison

When to use Crossplane:

  • You want to manage infrastructure through Kubernetes.
  • You need continuous reconciliation to ensure desired state.
  • You’re implementing GitOps and want infrastructure managed declaratively via Kubernetes manifests.

When to use Terraform:

  • You need a mature ecosystem with extensive provider support.
  • You prefer standalone infrastructure management, independent of Kubernetes.
  • You want granular control over execution plans and apply workflows.

GitOps + Crossplane

One of Crossplane’s biggest advantages is its seamless integration with GitOps. By combining it with ArgoCD or FluxCD, teams can declaratively manage both applications and infrastructure from a single Git repository.

The integration works as follows:

  1. Define infrastructure as Kubernetes manifests.
  2. Push changes to a Git repository.
  3. ArgoCD/FluxCD syncs the manifests, triggering Crossplane to provision resources.
  4. Crossplane continuously reconciles the infrastructure to match the declared state.

This eliminates the need for manual Terraform runs and ensures that infrastructure always aligns with the desired state.

Future of Kubernetes-native IaC

Crossplane is rapidly gaining adoption, especially among teams adopting GitOps and Kubernetes-first workflows. While Terraform remains the de facto standard for IaC, Crossplane’s Kubernetes-native approach makes it a compelling alternative for modern cloud-native environments.

However, some challenges still remain, to name a few:

  • Increased learning curve for Kubernetes newcomers.
  • Lack of maturity compared to Terraform’s established ecosystem.
  • Provider limitations, as not all cloud services are fully supported yet.

Despite these hindrances, Crossplane is pushing the boundaries of Kubernetes-native infrastructure management. As the industry moves toward full-stack declarative automation, it could become the standard for infrastructure as code in Kubernetes environments.



Crossplane is redefining how we think about infrastructure management, shifting from external tools like Terraform to a fully Kubernetes-native approach. With it, teams can unify application and infrastructure management, integrate with GitOps workflows, and enable self-service platforms.

As organizations embrace Kubernetes as their central control plane, Crossplane’s adoption is most likely to grow up. Is it the future of IaC? Only time will tell—but it’s certainly a right step in that direction.

Mariano Gastaldi

SRE specializing in Terraform, Docker, Kubernetes, and Data Infrastructure

1 周

Very interesting note Leo Ely Crossplane is undeniably a significant step toward the future of IaC. Terraform became the gold standard for infrastructure management since its creation in 2014. But today’s cloud environments are more complex, and Terraform alone may not be enough, as it relies on external tools, for example, to store its state. A good question to ask ourselves is: Now that Terraform is owned by IBM and costs money, will startups or smaller companies gonna pay? OpenTofu could be an alternative, but it’s still very new (it started in 2023). Crossplane, on the other hand, began earlier, in 2018. Today, many companies use Kubernetes, and Crossplane could greatly reduce cost and time when building infrastructure, especially alongside ArgoCD. Storing infrastructure state directly in the control plane is also an advantage over Terraform. I hope Crossplane continues growing. It’s fast, but the learning curve remains challenging. The Crossplane team should improve tutorials and examples to make concepts clear since documentation can feel overwhelming. Only time will tell.

Patrick Cunha

Lead Fullstack Engineer | Typescript Software Engineer | Nestjs | Nodejs | Reactjs | AWS

1 周

A very insightful overview! The shift towards Kubernetes-native infrastructure management is definitely an exciting development and offers some compelling advantages. I'm eager to see how this evolves and impacts existing workflows. Thanks for sharing!

Mauricio Camilo

Engenheiro DevOps & Cloud | Terraform | Python | CI/CD | AWS | Azure

2 周

Great article! The way you highlight Crossplane's potential to transform infrastructure management with Kubernetes is truly impressive and provides a clear vision of the future of infrastructure automation.

Rodrigo Modesto

Data Analyst Professional | Data Visualization Specialist | Power BI | SQL | Alteryx | GCP | BigQuery | Python | Figma

2 周

This is electrifying! ?? Your take on Crossplane vs. Terraform sparks such a juicy debate—thank you for framing this! The idea of Kubernetes-native IaC feels like merging two superheroes into one: infrastructure as just another API resource, declarative and GitOps-ready? Mind blown.

Alexandre Germano Souza de Andrade

Senior Software Engineer | Backend-Focused Fullstack Developer | .NET | C# | Angular | React.js | TypeScript | JavaScript | Azure | SQL Server

2 周

Very informative, thanks for sharing ??

要查看或添加评论,请登录

Leo Ely的更多文章

社区洞察