Skip to content

Commit

Permalink
Support HA mode with embedded DB
Browse files Browse the repository at this point in the history
This enables initializing a cluster in HA mode with an embedded DB.
https://rancher.com/docs/k3s/latest/en/installation/ha-embedded/

When multiple masters are specified in the master group, k3s-ansible will add
the necessary flags during the initialization phase.
(i.e. --cluster-init and --server)

For the embedded HA mode to work the k3s version must be >= v1.19.1

Signed-off-by: Julien DOCHE <[email protected]>
  • Loading branch information
St0rmingBr4in authored and dereknola committed Nov 7, 2023
1 parent 538ca26 commit 38b8426
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Master and nodes must have passwordless SSH access
First create a new directory based on the `sample` directory within the `inventory` directory:

```bash
pip install -r requirements.txt
cp -R inventory/sample inventory/my-cluster
```

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jmespath

0 comments on commit 38b8426

Please sign in to comment.