What is the minimum number of nodes required to run GitHub Enterprise Server in a supported cluster configuration?
Select an answer to reveal the explanation.
Short Explanation and Infographic
GHES clustering needs at minimum 3 nodes. With just 2, you'd have split-brain risks where both nodes think they're in charge. Three provides quorum — at least 2 of 3 must agree on the cluster state.
Full explanation below image
Full Explanation
GitHub Enterprise Server clustering requires a minimum of 3 nodes to achieve a supported, fault-tolerant configuration. With fewer than 3 nodes, the cluster cannot achieve quorum — the consensus mechanism that prevents split-brain scenarios where two cluster partitions each think they are the primary. With 3 nodes: (1) If 1 node fails, the remaining 2 nodes still form a quorum (2 > 3/2). (2) The cluster continues operating and can tolerate one node failure. (3) Services are distributed across all 3 nodes. Additional nodes improve performance and fault tolerance. Common production deployments use 5, 7, or more nodes. This is distinct from the HA replica configuration (which is 2 nodes: primary + passive replica).