autok3s
autok3s copied to clipboard
[BUG] Cant make HA k3d cluster
Describe the bug Described in the title
To reproduce Steps to reproduce the behavior:
- Run this command: "autok3s create --provider k3d --master 3 --name test --worker 0 --api-port 0.0.0.0:0 --image docker.io/rancher/k3s:v1.28.5-k3s1"
- See the following error message: "FATA[2024-04-26T10:53:27-04:00] [k3d] calling preflight error: need to set
--cluster
or--datastore
when--master
number > 1" - cant or dont know where to pass --datastore / --cluster in the command to make this work, i've tried to add it to --master-extra-args and at the top of the command but either way it is the same error
Expected behavior Based on the docs for k3d HA cluster should work
Environments (please complete the following information):
- OS: Darwin Latest
- AutoK3s Version v0.9.2
Hi @dlbears: Thanks for your feedback. Maybe it's a bug at the createCheck function. We will be check the code and fix it ASAP.
Tested with v0.9.3-rc1.