Cluster failure domains
What is a failure domain?
A failure domain is a set of resources that can be affected together by one fault. A worker computer, a physical host running several virtual machines, or a data-center availability zone can each be a failure domain. Three replicas on one worker protect against some application failures but share that worker’s fate. Redundancy helps only when the copies do not all depend on the same failed resource.
Management availability and application availability
A control-plane outage means some or all management functions are unavailable. An application outage means the service users need is unavailable. The two may overlap, but they are not identical. If the API endpoint becomes unreachable while the workers, network paths, existing endpoints and application dependencies remain healthy, an already running service may continue answering requests. New API-driven changes or recovery can be impaired. Do not assume that applications will always survive a control-plane outage: some require API access or other services affected by the same fault.
Example: separate the symptoms
A fictional bookstore has three ready Pods on different workers and a working request path. At 10:00, the API endpoint stops responding to the operator, while the customer health check continues to return successful responses. The only justified initial conclusions are that the tested management path is unavailable and the tested customer path is working. This is not proof that all API servers are down, that all customers are unaffected, or that no workloads will fail later. If the worker hosting one Pod subsequently fails, recovery may be delayed if the required management components cannot communicate.
Example: compare two placements
In layout A, three ready copies run on worker A. In layout B, one copy runs on each of workers A, B and C. Assume worker A fails, the other workers and network stay healthy, and no replacement has started yet. Layout A loses all three copies. Layout B loses one copy and retains two. This calculation only describes surviving copies; the two survivors must still have enough capacity and a working request path to serve customers.
Offline illustration (not command output):
Layout A: worker A [web-1, web-2, web-3] worker B [] worker C []After A fails: 0 surviving copies
Layout B: worker A [web-1] worker B [web-2] worker C [web-3]After A fails: 2 surviving copiesHow to reduce shared failures
Distribute workload copies across appropriate failure domains, use redundant management components where needed, and check that access to the API also has a resilient endpoint. In a multi-zone design, the control plane, workers, storage and application dependencies all need attention. Placement controls such as topology spread constraints help express distribution requirements, but they cannot manufacture missing nodes or capacity. High availability means reducing the likelihood or impact of interruption; it is not a promise of zero downtime.
Diagnose without making the failure worse
Compare management access, node reports and an actual application health check. A missing node report can mean that the node or its connection has failed; it does not prove that every process on the node has stopped. During an outage, avoid broad deletion or restarting components without understanding the fault. For this beginner lesson, reason only from the synthetic evidence. No cluster disruption is required.
Try it yourself
Suppose two ready copies run on different nodes but both nodes share one physical host. Explain what happens if that host fails, before recovery. Propose a layout that reduces this shared dependency, and name one additional shared dependency that could still cause an outage. Finally, distinguish API access from user-facing application health. Next: selecting a safe local cluster environment and learning kubectl.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Cluster failure domains — knowledge check
Apply the concepts from this lesson to short offline scenarios.
Three copies share worker A, which fails. Before replacement, how many copies survive this failure?
Three copies occupy independent workers A, B and C. A fails. Before recovery, how many copies survive if B and C stay healthy?
API access fails but the existing website health check succeeds. What can you conclude?
Two virtual worker nodes share one physical host. What happens if that host fails and there are no other copies?
What is the benefit of spreading replicas across failure domains?