Skip to content

Commit

Permalink
Remove empty lines and add separate note about the A-A cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
petrutlucian94 committed Sep 30, 2024
1 parent 8d690c3 commit 97c287b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/src/snap/howto/two-node-ha.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Two-Node Active-Active High-Availability using Dqlite
# Two-Node High-Availability with Dqlite

High availability (HA) is a mandatory requirement for most production-grade
Kubernetes deployments, usually implying three or more nodes.

Two-node HA clusters are sometimes preferred for cost savings and operational
efficiency considerations. Follow this guide to learn how Canonical Kubernetes
can achieve high availability with just two nodes while using the default
datastore, [Dqlite].
datastore, [Dqlite]. Both nodes will be active members of the cluster, sharing
the Kubernetes load.

Dqlite cannot achieve a [Raft] quorum with fewer than three nodes. This means
that Dqlite will not be able to replicate data and the secondaries will simply
Expand Down Expand Up @@ -69,8 +70,6 @@ sudo chmod +x /etc/rc.local
Add a service to automatically execute the ``/etc/rc.local`` script.

```
cat <<EOF | sudo tee /etc/systemd/system/rc-local.service
# This unit gets pulled automatically into multi-user.target by
# systemd-rc-local-generator if /etc/rc.local is executable.
Expand Down

0 comments on commit 97c287b

Please sign in to comment.