summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-07-31 12:44:29 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-07-31 12:44:50 +0200
commitfd3d64a5a6aeb0978ec1eb5f8d7fcd77143d9e35 (patch)
tree5f77e09b5b299fe42cc60b588588e4ef16a0fe6b
parent43fe8ffddf525d3e9620fa1280b3220cb7f94de8 (diff)
Make the k3s-master set up a HA variant
-rw-r--r--playbook.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbook.bash b/playbook.bash
index 74f11ec..f9ed88d 100644
--- a/playbook.bash
+++ b/playbook.bash
@@ -31,7 +31,7 @@ playbook_add() {
EOF
info "$BASHTARD_PLAYBOOK" "Installing k3s"
- curl -sfL https://get.k3s.io | sh - # I hate this
+ curl -sfL https://get.k3s.io | sh -s - server --cluster-init # I hate this
notice "$BASHTARD_PLAYBOOK" "Creating data directories"
mkdir -pv -- "$(playbook_path "data")/manifests.d"