Kubernetes high availability

How to build a Kubernetes control plane and workloads that survive node and zone loss, choosing between stacked and external etcd and planning the load balancer, failure domains and etcd recovery.

On this page

Why Kubernetes high availability is harder than adding a third control plane node

Kubernetes high availability is not one setting you turn on. A cluster keeps serving through a node or zone failure only when the control plane, the etcd quorum, the API endpoint, node placement and the workloads themselves are each designed to survive that failure. Each of these can fail independently, so adding a third control plane node fixes one layer and leaves the others exposed. The kubeadm high availability guide describes the baseline: at least three control plane nodes, a TCP load balancer in front of kube-apiserver on port 6443, and etcd running either on those same nodes (stacked) or in a separate external cluster. etcd should also run with an odd number of members, so that a majority can still be reached after a loss.

The first trap is quorum. Three etcd members tolerate one failure, but two members lost at once, or a third member that was placed in the same rack or zone as the others, can stop writes to the cluster entirely. Confirm which members share a failure domain before you call the cluster highly available. The second trap is the API endpoint. If the single load balancer, or the DNS name pointing at it, is one box in one zone, every kubectl call, kubelet and controller depends on it, and losing it looks like losing the whole control plane. Decide whether the load balancer is itself redundant and how clients reach it during a failover. The third trap is workload placement. A control plane spread across three zones protects the platform, but Deployments whose replicas landed on the same node or in the same zone still go down with it. Review pod anti-affinity, topology spread constraints and PodDisruptionBudgets before a drill, not after an outage.

Use these three checks as your starting point: list the failure domain of every etcd member, control plane node and load balancer instance; simulate loss of one of each in a staging cluster; and confirm that a representative workload keeps its minimum replica count. Where the answer is unclear, ask your distribution vendor or platform team to show the evidence instead of accepting the topology diagram. The build sequence and effort drivers are covered in the sections that follow.

Which components must survive failure

A highly available cluster only works when every layer keeps serving requests while a node, rack or zone is gone. The cards below cover the control plane, the load balancer that fronts it, the workers and the failure domains that determine where each piece lands.

kube-apiserver behind a load balancer

The API server is the only entry point for kubectl, controllers, kubelets and automation, so losing it stops every change to the cluster. Run one instance on each control plane node and place a TCP load balancer in front of them on port 6443. Check that the load balancer health checks each API server and removes failed members, and that clients reach the cluster through the load balancer address rather than a single node IP. Confirm how your load balancer itself is made redundant, because a single balancer recreates the single point of failure.

kubeadm HA guide

etcd quorum

etcd stores all cluster state, and it needs a majority of members to agree before it accepts a write. Keep an odd number of members so that a split vote cannot happen, and recognize that losing a majority halts writes even while workloads keep running. Stacked topologies put an etcd member on each control plane node, while external topologies run etcd on separate machines. Decide which topology fits your failure domains and how many members you can lose before the cluster stops accepting changes.

etcd operations docs

kube-controller-manager

The controller manager runs the reconciliation loops that replace failed pods, manage node status and keep deployments at their desired replica count. Run it on every control plane node, where leader election ensures only one instance acts at a time and another takes over when the leader fails. If it is lost entirely, existing pods keep running but failed workloads are not rescheduled. Test a leader failover during a rehearsal and confirm that alerting fires when no active leader exists.

kube-scheduler

The scheduler assigns new and rescheduled pods to nodes based on resource requests, affinity rules and topology constraints. Like the controller manager, it runs on each control plane node and uses leader election, so a standby takes over after a failure. Without a working scheduler, pods stay in a Pending state after a node loss, which can look like a workload problem when it is a control plane problem. Verify that spread constraints and anti-affinity rules are set so the scheduler can place replacements in a surviving zone.

Worker nodes and kubelets

Workers run application pods, and each one runs a kubelet that reports status to the API server and starts containers. A lost worker moves its pods elsewhere only after the node is marked unhealthy and the eviction timers expire, so workloads are unavailable for that window. Provision enough spare capacity in each zone to absorb the pods of one failed node or one failed zone. Confirm that the kubelet version stays within the supported version skew of the API server.

kubeadm HA guide

Failure domains: node, rack and zone

Failure domains are the physical groups that fail together, such as a single host, a rack sharing power or a cloud availability zone. Spread control plane members and workers across at least three of them so that losing one group leaves an etcd majority and enough API servers. Label nodes with their zone and rack so topology spread rules can act on those labels. Ask your facilities or cloud team to confirm which hardware and networks actually share a failure, because labels that do not match real power or network paths give a false sense of safety.

Stacked or external etcd, and how many zones to use

This table compares the main topology choices for a highly available control plane: stacked or external etcd, three or five etcd members, the load balancer in front of kube-apiserver, and two or three zones. Read each row as a decision with its operational cost, and use the last column to match the option to your team and failure requirements.

DecisionOption and what it costs to runWhen to choose it
Etcd topologyStacked: etcd runs on the control plane nodes, so there are fewer machines, but a node failure removes both an API server and an etcd member at once.Smaller estates with one platform team that can absorb coupled failure and a simpler upgrade sequence.
Etcd topologyExternal: etcd runs as a separate cluster, which adds hosts, a second set of certificates and its own patching and backup lifecycle, but lets etcd scale and upgrade independently.Larger or regulated estates that want control plane and etcd failures isolated and have the staff to run an extra tier.
Etcd member countThree members tolerate one loss. Five members tolerate two losses and add replication overhead and more hosts to patch.Three for most single-site setups. Five is the production recommendation in the Kubernetes docs for larger clusters, so confirm sizing with your etcd load tests.
Control plane nodesKubeadm guidance calls for at least three control plane nodes. Each extra node adds compute, OS patching and certificate management.Three nodes in separate failure domains as the baseline for any production cluster.
API server load balancerManaged cloud load balancer: lowest operating effort, but it is a provider-specific dependency that must be configured to forward TCP on port 6443.Cloud accounts where the provider offers a supported TCP load balancer and you accept that dependency.
API server load balancerHardware appliance: vendor support contracts and change windows apply, and the appliance itself must be redundant.Data centers that already run certified load balancer pairs and have a change process for them.
API server load balancerSoftware (for example HAProxy or Keepalived): you run and patch it, and it needs its own redundancy, usually two instances with a floating virtual IP.Air-gapped or on-premises sites with in-house network skills. Confirm the design with your network team before build.
Zone spanTwo zones: a zone outage can take out the majority of etcd members, so quorum may be lost unless a third location holds a member or witness.Only when a third failure domain is not available and you accept that a zone loss can stop writes to the cluster.
Zone spanThree zones: one zone loss leaves a quorum of etcd members and control plane nodes, but inter-zone latency and cross-zone traffic costs rise.Where the provider or data center offers three zones with low, measured latency between them. Ask for the latency figures in writing.

How to build an HA control plane in order

This sequence takes a set of machines from a plan with defined failure domains to a control plane that keeps serving the API when one node fails. Each step ends with a check you can run before moving on.

  1. Confirm failure domains and node counts

    The platform lead and the infrastructure team agree which racks, hypervisor hosts, availability zones or data halls count as separate failure domains, then assign control plane and worker nodes across them. Plan at least three control plane nodes, placed so that no single domain holds a majority of them. Decide now between stacked etcd (etcd runs on the control plane nodes) and external etcd (a separate cluster), because the choice changes how many machines you provision. The step is done when the team has a written node map showing each machine, its domain and its role, and the etcd topology is recorded.

  2. Provision and health check the API endpoint load balancer

    The network team provisions a TCP load balancer in front of the kube-apiserver instances on port 6443, using a stable DNS name or virtual IP that every node and client will use as the control plane endpoint. Configure health checks that probe the API server port on each control plane node so that a failed node is removed from rotation. Confirm the balancer is reachable from the admin workstation and the worker subnets before any cluster exists. The check is that the endpoint resolves and the health check marks all backends as down until kube-apiserver starts, then as up once it does.

  3. Prepare etcd with an odd member count

    For stacked topology, confirm the control plane nodes can reach each other on the etcd client and peer ports. For external topology, the storage or platform team builds a separate etcd cluster with an odd number of members, with three as the minimum for quorum, and Kubernetes documentation recommends five members in production. Check disk latency and time synchronization on every member, because etcd is sensitive to both. Confirm that a snapshot backup job is scheduled from the start, using etcdctl snapshot save, and that you have tested a restore path with etcdutl. The check is a healthy member list with the expected count on every member.

  4. Initialize the first control plane node with kubeadm

    On the first control plane node, the cluster operator runs kubeadm init with the load balancer DNS name or virtual IP as the control plane endpoint, so that the certificates and kubeconfig reference the stable address rather than one node. For disconnected sites, pull the images first with kubeadm config images pull and point kubeadm at the private registry with --image-repository. For stacked etcd, the init configuration must match the topology chosen in step one. The step is done when the node reports Ready after the network add-on is installed, and kubectl reaches the API through the load balancer address, not the node address.

  5. Join the remaining control plane nodes

    The operator uses the control plane join command, which includes the certificate key, to add each remaining control plane node, one at a time. Each node should join in a different failure domain from the nodes already in the cluster. After every join, check the etcd member list again, since each new stacked member should appear as a started member, and confirm that the new control plane node is Ready. The step is done when all control plane nodes are listed, the etcd member count is odd and every member is healthy, and the API endpoint still answers after each node is added.

  6. Join worker nodes and label them by zone

    The operator joins worker nodes with the standard worker join command, pointing at the same control plane endpoint, and spreads them across the failure domains defined in step one. Each worker receives the zone or domain label your scheduler and storage classes depend on, so that topology spread rules can place replicas in different domains. Confirm that the labels match the node map. The check is that kubectl get nodes shows every worker Ready and that the zone labels count the same as the domains in your plan.

  7. Test failover at each layer

    Before any production workload runs, the platform team tests each layer in a staging or pre-production cluster. Stop one control plane node and confirm that the API stays reachable through the load balancer and that etcd keeps quorum. Take an etcd snapshot and verify that it restores in a test environment. Drain one worker and confirm that replicas of a test deployment reschedule into other domains. Record the results and the time each failover took, and treat any step that fails as a blocker. The step is done when every test has a documented result that the team can repeat.

Making workloads survive node and zone loss

Control plane high availability does not protect your applications. A highly available API server and etcd quorum keep the cluster manageable while nodes fail, but a single-replica Deployment still goes down with the node it runs on. Workload survival depends on running several replicas of each service and deliberately placing them across failure domains, such as zones, so that losing one node or one zone leaves enough healthy pods to serve traffic.

The main placement controls are pod topology spread constraints and pod anti-affinity. Topology spread constraints, set through the topologySpreadConstraints field in the pod spec, cap how unevenly replicas land across a topology key such as topology.kubernetes.io/zone or kubernetes.io/hostname. Anti-affinity is stricter and easier to make unschedulable: a required rule can leave pods pending when a zone is full, while a preferred rule may quietly co-locate replicas under pressure. Choose the hard or soft form per workload and test what the scheduler does when a zone is removed. PodDisruptionBudgets complement these rules for planned work. A PodDisruptionBudget limits how many pods voluntary evictions, such as node drains during upgrades, can take down at once, but it does not stop involuntary failures and can block a drain if it is set too tightly.

When a node fails, the node lifecycle controller marks it unreachable and, after the eviction timeout, pods are recreated on other nodes. Recovery time depends on how quickly the failure is detected, image pull times, and whether the remaining nodes have room. That last point is the planning constraint: each zone must carry enough spare capacity to absorb the pods lost with one zone, and this headroom has to be sized from your own workload profile and confirmed with load tests in staging. Check with your platform team which eviction and detection timers your distribution uses, and whether stateful workloads need volume topology settings so their volumes can follow pods into a surviving zone.

What drives the effort and cost of an HA build

This table lists the factors that change how much work and spend an HA control plane build takes, why each one matters and how to keep it down. Read it before requesting a quote, because each driver should appear as a line item or assumption in the written scope.

DriverWhy it changes effort or costHow to keep it down
Failure domain countThree control plane nodes need three separate failure domains to tolerate a single zone loss. Each extra zone adds networking, placement and monitoring work.Confirm how many zones or racks your infrastructure really offers before choosing a topology, and avoid designs that need more domains than you have.
Number of clustersEach cluster repeats the control plane, load balancer, etcd backups, certificates and upgrades, so effort scales with cluster count.Standardize one cluster build and reuse it through automation, and limit clusters to the tenancy and blast-radius boundaries you actually need.
etcd topologyStacked etcd couples etcd and the control plane on the same nodes, which is simpler to build. External etcd adds a separate cluster to provision, secure, back up and upgrade.Choose stacked etcd where your recovery and upgrade process allows it, and document the choice so the platform team can run it afterward.
Load balancer typeThe API server endpoint on port 6443 needs a TCP load balancer with health checks. A self-managed pair needs its own high availability, failover and monitoring.Use a managed load balancer where your cloud or security policy allows it. Otherwise, standardize one self-managed pattern across clusters.
Storage latency between zones for etcdetcd is sensitive to disk and network latency between members. Stretching members across distant zones can slow writes and destabilize leader election.Confirm inter-zone latency and disk performance with your infrastructure team before placement. Keep etcd members in zones that meet the latency your environment can sustain.
Zone-aware storage for stateful workloadsPersistent volumes that cannot attach across zones keep stateful pods pinned to one zone, so zone loss still causes downtime even when the control plane survives.Identify stateful workloads early, confirm the storage class supports zone-aware provisioning, and test pod rescheduling after a simulated zone loss.
Existing monitoring and automationReusing your current alerting, configuration management and certificate tooling reduces new work. Building them from scratch adds a platform scope item to the quote.List existing tools in the scoping step and confirm which ones cover etcd, API server health and certificate expiry before work starts.
Compliance evidence requirementsAssessors often ask for configuration records, backup restore results and failover test evidence. Collecting this later costs more than designing for it upfront.Agree the evidence list in writing during scoping, and have the build produce logs, test records and configuration baselines as it runs.

How HA differs by environment

In a cloud account, the control plane nodes can be placed in separate availability zones of one region, which gives the closest match to the three-failure-domain layout that the kubeadm high availability guide describes. The cloud provider usually supplies the load balancer, so the main decisions are which zones to use and how the TCP listener on port 6443 is health checked.

  • Load balancer: Use the provider's managed TCP load balancer in front of kube-apiserver on port 6443, not an HTTP listener, and confirm its health check targets the API server health endpoint.
  • Zone placement: Put one control plane node in each of three zones so that losing one zone leaves a quorum of etcd members running.
  • Image sourcing: Connected clusters can pull control plane images from public registries, but many teams mirror them into a registry in the same account so node replacement does not depend on outside availability.
  • Node replacement: Cloud autoscaling and instance rebuilds can replace control plane nodes, so confirm that each new node joins with the correct etcd membership procedure.
  • Region limit: Zones in one region still share a region-level failure, so ask whether your risk model requires a second region with its own etcd topology.

Before go-live, confirm with your provider how the load balancer behaves during zone failure and test a single-zone outage in a staging cluster.

Securing the HA control plane

A highly available control plane multiplies the places where cluster state and administrative access can leak. The cards below cover the load balancer in front of the API server, the etcd certificates that protect cluster state, Secrets at rest, host access and the workload policies that must hold as pods move across zones.

Restrict API server exposure

The load balancer in front of kube-apiserver on port 6443 is the one address every administrator and node reaches, so it is the first target to narrow. Limit source ranges to known administrative networks, node subnets and CI runners, and terminate TLS with certificates your team controls. Confirm that the load balancer health checks do not require open access beyond what the API server needs.

HA setup guide

Keep etcd ports inside the control plane

Every control plane member talks to etcd on client and peer ports, and those ports carry the full cluster state. In stacked topologies, confirm that etcd listens only on control plane addresses and is not routed to worker or user networks. With an external etcd cluster, place its members on a dedicated network segment that only the API servers can reach.

Issue and rotate etcd certificates

etcd peer and client certificates authenticate members to each other and the API servers to etcd. Issue them from a dedicated certificate authority, give each member its own certificate, and record expiry dates in your certificate inventory. Ask your distribution or kubeadm procedure how renewal works, because an expired peer certificate can stop a member from rejoining the cluster during an outage.

etcd operations guide

Encrypt Secrets at rest

Secrets are stored unencrypted in etcd by default, so every control plane member and every etcd backup holds readable credentials unless you change that. Configure encryption at rest on each API server with the same encryption configuration, and confirm that existing Secrets are rewritten after the change. Back up the encryption key material separately from etcd snapshots, or restored clusters will not read their own Secrets.

Secrets good practices

Limit access to control plane hosts

Anyone with shell access to a control plane node can read etcd data and the cluster CA key, which bypasses RBAC entirely. Restrict SSH to named administrators through a bastion, use short-lived credentials, and log every session. Keep the admin kubeconfig off routine workstations and confirm that only the automation that needs it can read the control plane's PKI directory.

Apply Pod Security Standards across zones

Spreading replicas across failure domains raises the number of nodes that run your workloads, and each node is another place a privileged pod could act. Set the Restricted or Baseline Pod Security Standard on namespaces that run highly available services, and confirm that the policy holds on every node pool, including ones added in a second zone. Check that admission enforcement is enabled on the API servers in every control plane member.

Pod Security Standards

Testing that HA works and fails safely

Test the failure modes before production does, and treat each test as a claim to verify rather than a box to tick. Start with a control plane node. Power off one of the three control plane nodes in a staging cluster and confirm that kubectl calls still reach the API server through the load balancer on port 6443, that controller-manager and scheduler leader election moves to a surviving node, and that a new test Pod still schedules. Then stop one etcd member, whether it runs stacked on the control plane nodes or as part of an external cluster, and confirm that the cluster keeps quorum, that writes still succeed, and that the member rejoins cleanly when restarted. Check the member list with etcdctl during each step so you can see what changed.

Next, test the worker and zone layers. Drain one worker in each availability zone with kubectl drain, and confirm that Pods with a PodDisruptionBudget are evicted only as far as the budget allows and that replicas spread across zones reschedule onto the remaining nodes. In a staging cluster, simulate the loss of a full zone by cordoning and powering off every node in it, then measure whether each Deployment and StatefulSet returns to its desired replica count within the time your service levels require. Confirm the outcome, not the mechanism: if a workload does not recover, the spread constraints, resource requests or volume topology are the likely cause, and the finding goes back to the design.

The failure case you should rehearse is losing quorum, for example by stopping two of three etcd members. The cluster will stop accepting writes, and recovery is a restore from an etcd snapshot using etcdutl, not a configuration fix. Rehearse the full path on a copy of the cluster: take a snapshot with etcdctl snapshot save, restore it into fresh members with etcdutl snapshot restore, bring the control plane back, and verify workloads. Do not assume the restore will succeed in your environment, because timing, certificates and the number of members affect the result. Ask your distribution vendor or implementer which steps they support. Record the date, the exact versions, the operator, each step's result, and the time to recover in a dated runbook entry or test report. These records are the evidence an auditor or internal reviewer will ask to see.

What to monitor, back up and upgrade after go-live

A highly available control plane only stays highly available if someone watches it. The cards below cover the signals to track, the backups that protect cluster state, and the upgrade rhythm that keeps the cluster inside supported releases. Read them together: etcd health, load balancer checks and zone headroom determine whether a failure is absorbed or becomes an outage.

etcd health and leader changes

Track etcd member health, quorum status and leader elections as a standing alert set, not an occasional check. Frequent leader changes usually point to disk latency or network instability between control plane nodes, and they slow every API request. Confirm which metrics your etcd version exposes and set alerts for member loss, so one failed node does not go unnoticed while the cluster runs with no failure margin left.

etcd operations docs

Scheduled etcd snapshots off cluster

Run etcdctl snapshot save on a schedule against a healthy member, then copy each snapshot to storage outside the control plane nodes, encrypted and with its own access controls. A snapshot kept on the same failed nodes protects nothing. Record how long a restore takes in a rehearsal, and confirm retention with your recovery team. Restores use etcdutl, so test that path on a staging copy before you need it.

Load balancer health checks

The TCP load balancer in front of kube-apiserver on port 6443 is the single address every kubelet and client uses, so it must drop unhealthy control plane nodes automatically. Check that health probes fail fast enough to remove a dead node, that the balancer itself has redundancy, and that certificates include its address. Test by stopping one API server and confirming that kubectl and node heartbeats keep working.

Zone capacity headroom

Spreading nodes across failure domains only helps if the remaining zones can absorb the workloads from a lost zone. Track CPU, memory and pod counts per zone and confirm that each zone can carry its share of replicas without eviction. Pod disruption budgets, topology spread constraints and cluster autoscaler limits should match this plan. Review headroom after every node pool change, because capacity that looked sufficient at go-live drifts as teams deploy.

Node pool and configuration drift

Compare kubelet versions, container runtime versions, kernel settings, labels and taints across node pools on a regular basis. Drift between pools causes behavior that only appears during failover, such as a workload that schedules on one pool but fails on another. Keep the topology record, zone map and runbooks in version control so that they match the live cluster, and treat any manual change to a control plane node as drift to be reconciled.

Upgrades one minor version at a time

Upgrade kube-apiserver first, one minor version at a time, then kube-controller-manager and kube-scheduler, then kubelets, as the version skew policy requires. Kubelets may trail the API server by up to three minor versions, but staying close shortens each step. The three supported minor releases, 1.37, 1.36 and 1.35 as of September 2026, set the cadence, so plan each upgrade before a line falls out of support. Rehearse every step in staging first.

Version skew policy

Topology record and runbooks

Keep a current record of the topology, the zone map for every control plane and worker node, the load balancer configuration and the location of every etcd snapshot. Attach runbooks for node replacement, etcd member recovery, lost quorum and zone failure, and assign an owner to each. During an incident, a written map and tested steps save more time than any single tool, and the same documents serve as evidence in compliance reviews.

Questions teams ask before building Kubernetes HA

Are three control plane nodes enough for Kubernetes high availability?

Three control plane nodes is the minimum the kubeadm high availability guide describes, and it is the usual starting point for a production control plane. The guide pairs those nodes with a TCP load balancer in front of kube-apiserver on port 6443, so clients keep working when one node fails. The reason for an odd count is etcd quorum: an etcd cluster needs a majority of its members to agree on writes, so an even member count adds cost without adding fault tolerance. Kubernetes documentation recommends five etcd members in production, which tolerates two member failures. Confirm the count against your own failure domains before you commit, because three nodes in one rack or one zone protect against far less than three nodes spread across separate ones.

Should a small team choose stacked or external etcd?

A small team usually starts with stacked etcd, where etcd runs on the same nodes as the control plane, because it means fewer machines to build, patch and monitor. External etcd separates the two, so a control plane node can be rebuilt without touching cluster state, but it doubles the number of hosts and adds a second layer to upgrade and back up. The kubeadm guide describes both topologies. Choose external etcd if you already run a well-supported etcd service, need etcd on dedicated disks for latency, or want control plane upgrades and etcd maintenance on separate schedules. Whichever you pick, plan etcd snapshots and restore drills from day one, since the topology does not change the need for backups.

Can a two-zone Kubernetes design survive the loss of a zone?

Not reliably. With two zones, losing one leaves the surviving zone with half of the etcd members, and etcd needs a strict majority, so the cluster can lose quorum and stop accepting writes. A third failure domain, such as a third zone or a separate site acting as a tie-breaker, lets a five-member etcd cluster keep quorum when one zone fails. Control plane nodes and workloads also need to be spread across zones, and the load balancer in front of the API server must stay reachable from every zone. Ask your platform owners how many failure domains your infrastructure really offers, and test a zone outage in staging before you rely on the design.

What drives the cost of building Kubernetes HA?

The cost depends on the number of hosts, the number of failure domains, and how much of the surrounding infrastructure you already have. The main components are infrastructure for the control plane, etcd and worker nodes, the load balancer for the API server, the network and storage those nodes need, and the labor to design, build, test and document the cluster. Costs that recur include the infrastructure itself, certificate rotation, patching, etcd backup storage, monitoring and upgrades. Ask any quote to list each component, separate one-time work from recurring work, state which failure domains and load balancer are assumed, and name the rehearsals included. Infrastructure prices come from your cloud provider or hardware budget, not from the build.

How long does an HA Kubernetes build take, and what does it need from us?

Duration depends on how many clusters you build, how many failure domains you have, whether the load balancer and network already exist, and how quickly decisions are made on zones and topology. The work needs access to the target cloud accounts or data center, network ranges and DNS for the API endpoint, ownership of the load balancer or a clear plan for one, and named decision makers for zone layout, etcd topology and backup storage. Ask for the schedule in the written scope, and confirm which items depend on your teams, since delays in access or network approval usually move the date more than the technical work does.

Can our own team build a Kubernetes HA cluster without a partner?

Yes, if the team already has working skills in kubeadm, etcd operations and Linux networking, and has someone who can own the load balancer and failure domain design. Your team will need to handle certificates, etcd snapshots, upgrades within the version skew rules and failure testing after the build. A partner adds the most value at scoping, where topology and failure domains are chosen, and at rehearsal, where node loss, zone loss and etcd restore are tested before production use. You can also use a partner only for the design review and the first rehearsal, then run the cluster yourselves.

How do we test that the cluster survives node and zone loss?

Test by removing one control plane node, then one etcd member, then a full failure domain in a staging environment that matches production topology. For each test, confirm the API server still answers through the load balancer, etcd keeps quorum, scheduling continues and workloads with spread constraints reschedule onto surviving nodes. Record the time to recover and any manual steps. Also rehearse an etcd snapshot restore, because a cluster that survives a failure can still need a restore after corruption. Ask whether your provider's test plan includes these scenarios and whether results are delivered as written evidence.

How the HA control plane and failure domains fit together

The diagram starts with clients sending API requests to a TCP load balancer on port 6443, which forwards them to kube-apiserver on three control plane nodes placed in three separate zones. In the stacked topology shown, each control plane node also runs an etcd member, so the three members form one quorum that survives the loss of a single zone. Worker nodes are spread across the same zones, so pods can be rescheduled when one zone fails. The external etcd variant moves the etcd members into their own cluster, which the same zone split applies to. Check that each zone has an independent path to the others and that no two etcd members share a failure domain.

Stacked control plane with one etcd member per zone behind a single API endpoint.

How DeployOpen scopes and hands over HA work

DeployOpen plans Kubernetes high availability as a fixed scope agreed in writing before any work starts. The scope names the topology decision (stacked control plane or external etcd), the number of control plane and worker nodes, the failure domains they will span, the API server load balancer, the cluster's distribution and the acceptance tests that define done. A quote follows from that written scope, so the client can compare it line by line with an internal build. Work begins with a decisions workshop attended by the client's platform, network, security and storage owners. In that session the teams settle the points that change everything later: which failure domains exist in the client's data centers or cloud accounts, whether the load balancer is a hardware appliance, a cloud load balancer or a software option the client already supports, how etcd snapshots will leave the cluster, and who holds the keys for the certificates kubeadm generates. Decisions made in the workshop are recorded in the scope document so they are not reopened during the build.

The build is done with the client's team, not handed over around them. DeployOpen's engineers work in the client's infrastructure, and the client's engineers do the same tasks alongside them so that they can rebuild a control plane node, rotate a certificate or restore an etcd snapshot without outside help. Failure testing is part of the build, not an afterthought. Before acceptance, the team stops a control plane node, drains a worker in each failure domain, simulates loss of a zone or a load balancer target, and confirms that the API stays reachable and that workloads with the agreed spread constraints keep running. Each test has a recorded expected result and a recorded actual result. The handover package contains runbooks for node replacement, etcd member recovery and load balancer failover, the topology diagram, the configuration files and the test evidence. Clients should ask for every test case in writing before work starts. Ongoing upgrades and continuous failure testing are available as optional retainers, priced from the scope agreed with the client, so the client can decide whether to keep those tasks in house after handover.

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.