# Cluster API

> Declarative APIs and tooling to simplify provisioning, upgrading and operating multiple Kubernetes clusters

Source: https://talira.ai/catalog/cluster-api-cfvvvkmf
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, Command-line tool
- Categories: [infrastructure / kubernetes / cluster lifecycle](https://talira.ai/categories/infrastructure/kubernetes/cluster-lifecycle), [infrastructure / kubernetes](https://talira.ai/categories/infrastructure/kubernetes)
- Platforms: linux, macos, windows, cli, kubernetes[^5]
- Licence: Apache-2.0[^4]
- Pricing: Free and open source[^4]
- Free tier: yes[^4]
- Self-hostable: yes[^5][^6]
- API: yes[^6]
- Plugins: yes[^3][^7]
- Backed by: [Kubernetes SIG Cluster Lifecycle](https://talira.ai/orgs/k8s-sig-cluster-lifecycle.md)

Cluster API is a [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md) subproject, started by SIG Cluster Lifecycle, that manages the lifecycle of Kubernetes clusters (create, scale, upgrade, delete) with Kubernetes-style custom resources applied to a management cluster. A Cluster, Machines, MachineDeployments and a control plane object describe each workload cluster, and controllers reconcile real infrastructure to match, the way Deployments manage Pods. Providers plug in the infrastructure (AWS, Azure, vSphere, [Hetzner](https://talira.ai/catalog/cluster-api-provider-hetzner-09a8sex5.md) and many more), the bootstrap ([K3s](https://talira.ai/catalog/k3s-mr4x8s65.md), [Talos](https://talira.ai/catalog/talos-linux-dkwvsnyc.md), [RKE2](https://talira.ai/catalog/rke2-yttex8v2.md); [kubeadm](https://talira.ai/catalog/kubeadm-5rerw02a.md) is built in) and the control plane. MachineHealthChecks replace unhealthy Machines, and KubeadmControlPlane can replace an unhealthy control-plane Machine when doing so keeps [etcd](https://talira.ai/catalog/etcd-zdq64wjj.md) quorum. The clusterctl CLI installs and upgrades the providers. Apache-2.0.

## Links

- Website: https://cluster-api.sigs.k8s.io
- GitHub: https://github.com/kubernetes-sigs/cluster-api
- Docs: https://cluster-api.sigs.k8s.io/introduction.html

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/clusterctl>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/clusterctl>[^2]

## Problems it solves

- manage the lifecycle of dozens of Kubernetes clusters the way I deploy apps, with YAML files and kubectl
- create, upgrade and delete Kubernetes clusters on AWS, Azure and vSphere from one declarative definition
- automatically replace a worker VM when its Kubernetes node stays NotReady for five minutes
- replace a broken control plane machine in a self-managed Kubernetes cluster without hand-editing etcd membership
- roll a Kubernetes version upgrade through control plane and worker machines one at a time
- scale a group of Kubernetes worker machines up and down by changing a replica count
- let the cluster autoscaler add and remove VMs for our self-managed Kubernetes clusters
- platform team wants to hand out new Kubernetes clusters from a shared template
- move the definitions of running clusters from a throwaway bootstrap cluster to a permanent management cluster
- stop maintaining a pile of bash and Terraform scripts that bootstrap kubeadm clusters
- keep one cluster definition format whether our nodes run on-prem or in a public cloud
- bootstrap nodes with k3s, Talos or kubeadm while managing every cluster through the same resources
- stop a node health check from deleting half the cluster when the network blips
- upgrade the controllers that run our clusters using a plan of recommended versions
- rotate the admin kubeconfig certificate of every cluster before it expires

## Features

- Cluster, Machine, MachineSet, MachineDeployment and MachinePool custom resources, managed with kubectl like Pods and Deployments
- KubeadmControlPlane manages control-plane Machines: scaling, rolling upgrades, and an admin kubeconfig renewed when under 6 months of validity remain
- MachineHealthCheck marks Machines unhealthy on node conditions or a node startup timeout (10 minutes by default) and remediates them by delete and recreate
- Control-plane remediation: KCP replaces an unhealthy Machine when it has at least two, the previous replacement finished and etcd quorum is preserved
- KCP remediation retries with maxRetry, retryPeriodSeconds and minHealthyPeriodSeconds
- Remediation short-circuiting with unhealthyLessThanOrEqualTo or unhealthyInRange so a widespread outage doesn't trigger mass replacement
- External remediation: providers can plug in their own remediation in place of delete and recreate
- Infrastructure providers for AWS, Azure, vSphere, Hetzner and many more; bootstrap and control plane providers for kubeadm, K3s, RKE2, Talos, k0s, MicroK8s
- clusterctl CLI: init, upgrade plan, upgrade apply, delete, generate cluster, get kubeconfig, move and alpha rollout
- ClusterClass: a managed topology so one Cluster object controls the whole cluster
- Cluster Autoscaler integration through min and max size annotations on MachineDeployments
- Label, annotation and drain timeout changes propagate in place without a full rollout

## Limitations

- Doesn't run one Kubernetes cluster across several infrastructure providers: a cluster spanning providers is a stated non-goal[^3]
- Doesn't manage Kubernetes clusters it didn't create: managing clusters not provisioned with Cluster API is a stated non-goal[^3]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.75 out of 1.
Signals: maintenance 1.00, adoption 0.73, momentum 0.49, community 1.00, backing 0.30, extensibility 0.60.

- last commit 5 days ago
- 507 commits in the last 90 days
- latest release v1.14.4 20 days ago
- 4.4k GitHub stars
- 816 contributors
- backed by Kubernetes SIG Cluster Lifecycle
- has a plugin system

## Related

- Works with [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md)

## Alternatives

- [Rancher](https://talira.ai/catalog/rancher-g0qvxsee.md): Kubernetes management tool to deploy and run clusters anywhere and on any provider
- [kOps](https://talira.ai/catalog/kops-pbn3fvwv.md): The easiest way to get a production grade Kubernetes cluster up and running
- [Omni](https://talira.ai/catalog/omni-679kkczj.md): Fleet management for Talos Kubernetes clusters: SaaS-simple deployment of Kubernetes on your own hardware
- [Kubespray](https://talira.ai/catalog/kubespray-66wd0wtw.md): Deploy a Production Ready Kubernetes Cluster
- [Gardener](https://talira.ai/catalog/gardener-29vje9px.md): Homogeneous Kubernetes clusters at scale on any infrastructure using hosted control planes.
- [k0smotron](https://talira.ai/catalog/k0smotron-jhb6pkyq.md): Manage k0s Kubernetes control planes as pods in a management cluster

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^3]: https://cluster-api.sigs.k8s.io/introduction.html (checked 19 Nov 2026)
[^4]: https://github.com/kubernetes-sigs/cluster-api/blob/main/LICENSE (checked 19 Nov 2026)
[^5]: https://cluster-api.sigs.k8s.io/user/quick-start.html (checked 19 Nov 2026)
[^6]: https://cluster-api.sigs.k8s.io/user/concepts.html (checked 19 Nov 2026)
[^7]: https://cluster-api.sigs.k8s.io/reference/providers.html (checked 19 Nov 2026)
