Managing many Kubernetes clusters with Cluster API

Cluster API lets platform teams create, scale and upgrade many Kubernetes clusters from declarative objects. This page explains where it fits on vSphere, OpenStack and bare metal, and what to plan before you adopt it.

On this page

When Cluster API makes sense for managing many Kubernetes clusters

Cluster API is a Kubernetes-native way to create, scale and upgrade clusters declaratively, so that a platform team describes the clusters it wants as objects and lets controllers converge the infrastructure to match. A team that runs one or two clusters can usually stay with a single-cluster installer such as kubeadm, RKE2 or K3s, because the installer's manual steps are manageable at that scale. Cluster API starts to pay off when the same steps are repeated across many clusters, when clusters must be rebuilt or upgraded on a schedule, or when the team wants the cluster definition itself kept in version control and reviewed like any other change.

The model has two roles. A management cluster runs the Cluster API controllers and holds the objects that describe every other cluster. Each workload cluster is what applications actually run on, and it is created, scaled and upgraded from the management cluster rather than configured by hand. Three concepts carry most of the design work: infrastructure providers, which talk to vSphere, OpenStack, bare metal or another target and create the machines; bootstrap providers, which turn a machine into a Kubernetes node; and control plane providers, which manage the control plane lifecycle. Each provider is a separate project with its own release cadence and supported versions, so the first task is confirming which combination your target environment supports.

Before committing, confirm three things with your own team and the provider maintainers: who will operate the management cluster and its backup, which machine image pipeline will produce the node images, and whether the infrastructure you run has an API that the provider supports well. Those answers determine whether the fleet approach is worth its added moving parts. The upstream project documentation is the right next read for the provider matrix and the current API versions.

How management, infrastructure and bootstrap providers fit together

The flow starts in the management cluster, where Cluster API core controllers read the declared cluster, control plane and machine objects. The bootstrap provider turns each machine into node configuration, and the infrastructure provider asks the target platform for the virtual machines or hosts that will become workload nodes. Credentials for the infrastructure provider and the generated kubeconfig for each workload cluster stay on the management side of the trust boundary. Check who can read those secrets before any workload cluster is created.

Management cluster controllers create workload cluster machines through providers, across a credential trust boundary.

Where Cluster API fits on vSphere, OpenStack and bare metal

On vSphere, the infrastructure provider creates virtual machines from a template, attaches them to networks and storage, and reports their state back to Cluster API. The provider needs credentials with permission to clone templates, power machines on and off, and manage folders, resource pools and datastores that you assign to each cluster. Machine images are prepared as VM templates that carry the Kubernetes components for a given version, so each upgrade usually requires a new template.

  • Templates: Each Kubernetes version needs a VM template built and approved by your image pipeline before a machine rollout can use it.
  • Networking: Node addresses come from DHCP or an IPAM system, and the control plane endpoint needs a virtual IP or load balancer that your network team owns.
  • Storage: Datastore policies and folder placement determine where node disks live and how failures are contained.
  • Fit: Good for organizations already running vSphere with a VM template pipeline and staff who know vCenter permissions.
  • Poor fit: Teams planning to leave VMware licensing may prefer a platform with fewer dependencies on vCenter.

Confirm the supported vSphere and Cluster API provider versions for your environment with the provider's release notes before you plan the template pipeline.

Cluster API configuration options and when each fits

This table compares the main choices a team makes when adopting Cluster API: where the management cluster runs, how nodes are bootstrapped, which infrastructure provider is used, how machine images are produced and how cluster definitions are written. Read each row as a decision point, check the fit against your team's skills and infrastructure, and treat the trade-off column as the question to settle before building.

DecisionOptionTrade-offWhen it fits
Management cluster placementDedicated management clusterExtra cluster to patch, back up and secure, but its failure or misconfiguration does not touch workload clustersFleets with several teams, compliance separation of duties or frequent cluster changes
Management cluster placementShared management clusterFewer clusters to run, but it holds credentials and controllers for every workload cluster it managesSmall estates where one platform team owns both sides and the blast radius is accepted
Management cluster availabilitySingle control plane nodeLowest effort, but losing it stops provisioning, scaling and upgrades until it is restoredLab, proof of concept or environments where rebuilding the management cluster from Git is tested and quick
Management cluster availabilityHighly available control plane with etcd backupsMore nodes and an etcd backup routine to run, and it keeps lifecycle operations available during node failuresProduction fleets where cluster lifecycle work must survive a node loss and recovery is part of the runbook
Bootstrap approachkubeadm-based bootstrap providerFamiliar to teams already using kubeadm, with node setup behaviour aligned to the upstream tool you already supportTeams that want upstream-style nodes and already run kubeadm elsewhere
Bootstrap approachOther bootstrap providersDifferent node configuration formats and operating models, which add learning and test work before production useTeams that have a specific OS or immutable node model and have validated the provider against it
Infrastructure providervSphere providerFits VMware estates, but template, network and storage prerequisites must be prepared and kept in step with the provider versionOrganizations running vSphere where VM-based clusters are the standard
Infrastructure providerOpenStack providerFits private clouds with existing Nova, Neutron and Cinder services, but depends on the cloud's API stability and quotasOrganizations already operating OpenStack private clouds
Infrastructure providerBare metal providerNeeds an inventory of hosts, out-of-band management and a planned load balancing approach, which adds setup before the first clusterData centers where physical servers are the target and hardware lifecycle is managed by the same team
Machine image strategyPrebuilt images from a supplier or your own registryFaster first deployment, but image contents, patch level and kernel settings may lag behind security needsEarly adoption, small fleets or environments where image changes are infrequent
Machine image strategyImage build pipelineRepeatable, auditable images with scheduled rebuilds, but it requires build tooling, testing and storage for image artifactsRegulated fleets that must show how each node image was built, scanned and approved
Cluster definitionClusterClass and templated topologiesShared templates reduce drift across clusters, but changes to the class affect every cluster that uses it and need careful versioningFleets with many similar clusters, such as one per site or per team with standard settings
Cluster definitionHand-written manifests per clusterEach cluster is easy to read on its own, but settings drift over time and changes must be repeated across filesSmall numbers of clusters with clearly different configurations, or early learning before standardizing

How to stand up a management cluster and first workload cluster

This sequence takes you from an empty management cluster to a workload cluster you can reach with its own kubeconfig, with a check at each stage so problems surface before the next layer is built. The result is a management cluster that owns the declarative definition of the workload cluster.

  1. Prepare the management cluster

    Your platform team stands up a small, separately operated Kubernetes cluster that will host the Cluster API controllers and nothing else. Confirm it has a working CNI, DNS, storage for controller state and a clean admin path that your team controls. Done means every node reports Ready and a test pod schedules and resolves a cluster service name. Keep this cluster off the fleet's workload network where your policy requires.

  2. Install Cluster API with chosen providers

    Using the clusterctl tool, install the Cluster API core controllers along with the infrastructure provider for your target (vSphere, OpenStack or bare metal) and a bootstrap provider such as kubeadm. Confirm the provider versions are compatible with each other and with the Kubernetes version you plan to deploy, since provider release notes define that matrix. Done means all provider deployments in their namespaces report available and their CRDs are registered.

  3. Prepare machine images and infrastructure credentials

    Build or source a node image that already contains the kubelet, container runtime and kubeadm at the versions your manifests reference, because Cluster API expects images that match its provider. Create a least-privilege credential for the infrastructure API and store it as a Kubernetes Secret, scoped to the folder, project or network where clusters will live. Done means a test VM or machine can be booted from the image and the credential can list and create the resources the provider needs.

  4. Define the cluster manifest and control plane topology

    Write the Cluster, control plane, machine template and bootstrap configuration manifests in version control. For production, set the control plane to three replicas, which matches the kubeadm high availability guidance of at least three control plane nodes, and place a TCP load balancer in front of kube-apiserver on port 6443 through your infrastructure provider or a virtual IP. Done means the manifests pass a server-side dry run and the control plane endpoint resolves to the load balancer address.

  5. Create the workload cluster

    Apply the manifests to the management cluster and watch the Cluster, KubeadmControlPlane and Machine objects progress. Your team, or the partner doing the work, should confirm that the first control plane machine initializes before the other two join, and that the load balancer health checks pass against the API endpoint. Done means the Cluster object reports Ready and the machines reach the Running phase without repeated re-creation.

  6. Verify nodes and control plane health

    Retrieve a temporary kubeconfig for the new cluster and check that all control plane and worker nodes report Ready, that etcd members show healthy, and that system pods in kube-system are running. Confirm the CNI is installed so pods on different nodes can communicate. Done means the node list matches the replica counts in your manifests and a test deployment reaches Running on each worker.

  7. Retrieve kubeconfig and hand off access

    Retrieve the cluster kubeconfig from the management cluster through the Cluster API secret for that cluster, then move access to your normal identity model such as OIDC or certificate-based users rather than sharing the admin credential. Store the secret out of Git and rotate or restrict the copy the controllers generated. Done means an authorized engineer can authenticate and list nodes, and the admin kubeconfig is no longer distributed informally.

How fleet upgrades and scaling work across many clusters

In Cluster API, a Kubernetes version change or a new machine image does not upgrade nodes in place. You edit the desired version on the control plane object (for example, the version field on a KubeadmControlPlane) or on the MachineDeployment and its template, and the controllers replace machines one at a time: new Machine objects are created from the new image, join the cluster, and the old ones are deleted. Before you change anything across a fleet, check the sequence the Kubernetes version skew policy requires. The kube-apiserver must move first and only one minor version at a time, then kube-controller-manager and kube-scheduler, then kubelets. Kubelets may be up to three minor versions older than the kube-apiserver, so a worker pool can lag the control plane, but it cannot be left behind indefinitely. Cluster API enforces the control plane first, but it does not know your fleet's version map, so you need a written upgrade order for every workload cluster.

The support window sets the pace. The Kubernetes project maintains the three most recent minor releases, which were 1.37, 1.36 and 1.35 as of September 2026, and each patch series receives roughly one year of patch support. A fleet that falls behind this window stops receiving security fixes, and the fleet's last upgrade often has to cross several minor versions at once, which the skew policy does not allow. Plan a recurring upgrade wave on a calendar your team can sustain, with a canary cluster that upgrades first, a bake period, and a stop rule if workloads fail. Confirm with your Cluster API release and infrastructure provider which Kubernetes versions each provider build supports, because that list limits how quickly you can move.

Scaling works through the same objects. Changing replicas on a MachineDeployment adds or removes worker machines, and the control plane scales through its own replica setting. Scale-out is usually limited by capacity in the infrastructure provider, such as vSphere resource pools, OpenStack quotas or bare metal host inventory, so confirm those limits before you automate scaling. Scale-in and upgrades drain nodes, so workloads need PodDisruptionBudgets and enough spare capacity to move. Upgrades and scaling both create machines from templates, which is why the machine image must be built and approved before the wave starts. Ask your platform or service team for the image build process, the owner of each image, and how an image rollback would be executed on every cluster.

Security boundaries to design before the fleet grows

A Cluster API fleet concentrates control in one place: the management cluster that creates, scales and upgrades every other cluster. The risks below are the ones to settle before the second or third cluster exists, because each one becomes harder to change once workload clusters depend on it.

The management cluster as a target

The management cluster holds the kubeconfigs and provider credentials needed to create and modify every workload cluster, so compromising it compromises the whole fleet. Place it on its own network segment, restrict who can reach its API server, and treat its node and admin access as the most sensitive in the estate. Ask your team to document which identities can reach it and how that access is logged.

Kubernetes authentication docs

Machine image provenance and patching

Cluster API builds nodes from machine images, so every workload cluster inherits whatever the image contains. Decide who builds the images, how their contents are recorded, and how a patched image replaces an older one across clusters. Confirm with your provider integration how image references are pinned and rolled out, since an unpinned image can change node contents without a change record.

RBAC for cluster creation and deletion

Creating or deleting a cluster is an infrastructure action with cost and outage impact, so it needs narrower permission than reading one. Define separate roles for viewing cluster objects, scaling machine pools, and creating or deleting clusters, and bind them to named groups. Review who holds delete rights on cluster and machine resources, since a single misapplied delete can remove production nodes.

Cloud and provider credential handling

Infrastructure providers need credentials for vSphere, OpenStack or a bare metal management interface, and those credentials are stored as Kubernetes Secrets in the management cluster. Enable encryption at rest for Secrets, restrict list and watch access with least-privilege RBAC, and consider an external store through the Secrets Store CSI Driver. Ask which account the provider uses and whether it can be scoped to the minimum set of folders, networks or projects.

Secrets good practices

Etcd backups for the management cluster

The management cluster stores the desired state of every workload cluster, so losing its etcd data means losing the ability to manage them declaratively. Take regular etcd snapshots with etcdctl snapshot save, store them outside the cluster, and rehearse a restore with etcdutl before you need one. Confirm that the workload clusters' own etcd backups continue to run independently of the management cluster.

Operating etcd clusters

CIS benchmark and pod security per cluster

Each workload cluster is a separate attack surface, and a fleet only stays consistent if every cluster meets the same baseline. Align each cluster with the CIS Kubernetes Benchmark, enforce Pod Security Standards per namespace with Pod Security Admission, and run the same scan against every cluster after creation. Ask whether your fleet tooling can apply these settings as part of the cluster template, so new clusters do not drift from the baseline.

CIS Kubernetes Benchmark

What managing a Cluster API fleet costs and requires

What drives the cost of a Cluster API fleet project?

The cost follows the size and shape of the fleet: how many workload clusters you need, how many infrastructure environments they span (for example, vSphere in one data center and bare metal in another), how many machine images must be built and tested, how often you upgrade, and how much Kubernetes and Cluster API experience your team already has. Each added environment or cluster class adds provider configuration, testing and day-two work. A team new to declarative cluster lifecycle usually needs more design time up front than one that already runs GitOps for clusters. Ask any provider to price these drivers separately so you can see which ones your own choices move.

What is one-time work and what recurs after a Cluster API fleet is live?

One-time work includes the management cluster design, provider selection and installation, the first cluster templates, machine image pipelines, identity and RBAC design, and the runbooks your team will use. Recurring work includes upgrading the management cluster and providers, building new machine images when base operating systems or Kubernetes patch releases change, rotating credentials, reviewing templates when cluster classes change, and handling incidents during node rollouts. Upgrades are the largest recurring item because Kubernetes ships about three minor releases per year and the version skew policy requires control plane components to move in a set order. Confirm whether a support arrangement covers these recurring tasks or only the initial build.

How long does setting up Cluster API take?

Duration depends on scope rather than on a single fixed figure. A proof of concept against one infrastructure provider with a single workload cluster takes far less time than a fleet spanning several environments with approved machine images, identity integration and a tested upgrade procedure. Approvals also matter: network design sign-off, firewall changes, and access to hypervisor or cloud accounts can take longer than the technical build. Ask for a written plan with phases and the decisions each phase depends on, and check that the plan names which client approvals block which milestones.

What does the client need to provide for a Cluster API engagement?

The work needs access and decisions from your side before it starts. Typical inputs include:

  • Accounts and service identities in the target infrastructure, such as a vSphere user with the permissions the provider requires, OpenStack application credentials, or BMC access for bare metal hosts
  • Network design decisions: pod and service CIDRs, load balancer addresses for control plane endpoints, DNS zones, and routing between the management and workload clusters
  • A private container registry and artifact store for images and Helm charts when clusters have no internet access
  • Change windows for management cluster upgrades and for first rollouts of new machine images
  • Named owners who can approve identity, secrets handling and access model choices

If any of these are missing, schedule time for them in the plan rather than assuming they will be ready.

Can a small platform team run a Cluster API fleet without outside help?

A small team can run Cluster API alone if it already operates Kubernetes in production, is comfortable with GitOps and infrastructure as code, and has time to learn the provider it chose. The hard parts are less the first install than the steady work: keeping provider versions compatible with the Kubernetes version you target, building and retesting machine images, and recovering a management cluster if it fails. Make an honest inventory of who on the team would own each of these tasks and how many hours a month they can spare. Outside help is most useful for the initial design, the first upgrade cycle and handover documentation.

What should a quote for Cluster API work include?

A quote should follow from a written scope and list what is included and excluded. Ask it to name the infrastructure environments and provider integrations in scope, the number of management and workload clusters, the machine image pipeline and how images are tested, the identity and RBAC approach, the upgrade procedure and at least one rehearsal, backup and restore for the management cluster, documentation and training, and the client inputs listed above. It should separate one-time build work from any recurring support or upgrade retainer, state the deliverables and acceptance criteria, and identify assumptions that would change effort if they turn out to be wrong.

What should the team confirm about provider versions and support before committing?

Before committing, confirm which Cluster API release line and infrastructure provider versions support the Kubernetes minor versions you plan to run, and how long each one is maintained. Check the provider's own compatibility notes rather than assuming one matches your vSphere, OpenStack or bare metal version. Also confirm whether the chosen Kubernetes distribution and its machine images are supported on your target infrastructure, because some providers and bootstrap options have narrower support than others. Put these checks in the quote as a named assumption so any change to the provider matrix is visible before work starts.

Limits to confirm in your environment before adopting Cluster API

Cluster API moves cluster lifecycle into a management cluster, so its limits are set by the infrastructure provider, the Kubernetes versions you run and the skills your team has. The cards below cover the checks to complete with each provider and within your own environment before you commit to a fleet design.

Provider version support

Confirm which Cluster API release and which infrastructure provider release support the Kubernetes minor versions you plan to run on workload clusters. Providers are versioned separately from Cluster API core, so a current core release does not guarantee that your vSphere, OpenStack or bare metal provider supports your target version. Ask the provider maintainers for their compatibility matrix and check it against your upgrade calendar before any pilot.

Load balancer and storage fit

Check whether the infrastructure provider can create the control plane endpoint and LoadBalancer Services your workload clusters need, and whether it provisions the storage model your teams expect. Some providers leave load balancing to an add-on such as kube-vip or MetalLB, and some leave storage to the CSI driver you install later. Ask the provider which of these it manages and which you must supply.

Management cluster upgrade and backup

The management cluster holds the desired state of every workload cluster, so its own upgrades and backups carry the most risk in the design. Decide how you will upgrade the management cluster, where its etcd snapshots are stored, and how you would rebuild it from backup if it failed. Test a restore before you rely on the setup, because the workload clusters depend on this cluster to recover.

etcd operations docs

Day-two operational maturity

Fleet management shifts work from clicking through single clusters to reviewing declarative manifests, reconciling drift and handling failed machine rollouts. Confirm that your platform team can read Cluster API conditions, debug stuck machine objects and roll back a bad template, and that someone owns the on-call rotation for the management cluster. Teams without this experience usually need training or support before the first production rollout.

Distribution conformance and support

Each workload cluster runs a Kubernetes distribution, so confirm that the distribution you choose passes CNCF conformance for the APIs your applications use and that its vendor supports the Kubernetes versions in your plan. The CNCF program lists over 90 Certified Kubernetes offerings, but conformance does not cover bundled add-ons, support terms or security hardening. Ask the distribution vendor for its support window and its conformance results for each target version.

Certified offerings
90+
CNCF conformance program

What a Cluster API engagement covers and what it needs from you

A Cluster API engagement starts with discovery, not installation. The implementation partner first establishes the target infrastructure (vSphere, OpenStack or bare metal), the number and size of clusters you expect to run, how many of them must survive the loss of a site, and which teams will own each cluster after handover. Those answers decide how many management clusters are needed, whether workload clusters sit in one data center or several, and which infrastructure and bootstrap providers are worth adopting. The design phase then turns those answers into a topology document covering the management cluster's own high availability, the naming and labeling scheme for workload clusters, network address ranges, and the separation between platform administrators and application teams who request clusters.

Provider and image decisions are the second block of design work. The partner should document which infrastructure provider matches your hardware or hypervisor, which bootstrap provider generates node configuration, and how machine images are built, versioned and approved. Image pipelines (often built with Kubernetes image builder tooling) need an owner, a patch cadence and a signing or approval step, because every workload cluster inherits what those images contain. Implementation then runs inside your accounts, networks and hypervisors, using the credentials and change windows you approve. Expect the partner to need a named technical owner for each decision, a sandbox or staging environment where the fleet can be created and destroyed, and written approval for any change that touches production infrastructure.

Fixed-scope engagements are the norm: the discovery findings, deliverables, acceptance tests and timeline are agreed in writing before work starts, and changes after that go through a written change request. To make a quote comparable, ask the partner to list the infrastructure access they require (API endpoints, service accounts, network paths, DNS and load balancer access), the credentials they will hold and how those are stored and revoked, and the people who must sign off on each decision. The handover package should include topology and provider documentation, runbooks for creating and deleting clusters, Kubernetes version upgrades across the fleet, control plane and etcd recovery, and image rebuilds. Ask which of those runbooks will be tested during the engagement and which will be walked through only.

How DeployOpen scopes, builds and supports Cluster API fleets

DeployOpen plans, implements, hardens, documents and supports self-hosted Kubernetes platforms inside infrastructure you control. For Cluster API fleets, we start from a written scope covering your management cluster, providers, machine images and the clusters you need to create, then build and hand over the fleet with the runbooks your team needs to operate it.

How we scope

  • We agree in writing which infrastructure providers, such as vSphere, OpenStack or bare metal, the fleet will run on.
  • We define the management cluster, workload cluster types, and the number of environments in the agreed scope.
  • Engagements are fixed-scope, so deliverables and timelines are agreed before any build work starts.

How we build

  • We deploy the management cluster and install the chosen infrastructure and bootstrap providers in your environment.
  • We build and validate machine images and templates, and confirm how upgrades of Kubernetes versions are rolled out.
  • We test scaling, node replacement and cluster upgrades in a non-production environment before the fleet goes live.

How we hand over

  • We document the management cluster design, provider configuration, cluster templates and the upgrade and recovery procedures.
  • We deliver backup and restore steps for the management cluster state, with the restore path tested and recorded.
  • We walk your platform and operations teams through day-two tasks so they can create, scale and upgrade clusters themselves.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover provider and image updates, Kubernetes version planning against the release schedule, and patching.
  • We can retest the fleet after changes to infrastructure, providers or cluster templates, and report the results.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.