Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] Cant make HA k3d cluster #672

Closed
dlbears opened this issue Apr 26, 2024 · 2 comments · Fixed by #673
Closed

[BUG] Cant make HA k3d cluster #672

dlbears opened this issue Apr 26, 2024 · 2 comments · Fixed by #673
Assignees
Labels
bug Something isn't working to test Need to test
Milestone

Comments

@dlbears
Copy link

dlbears commented Apr 26, 2024

Describe the bug
Described in the title

To reproduce
Steps to reproduce the behavior:

  1. 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"
  2. 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"
  3. 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
@dlbears dlbears added the bug Something isn't working label Apr 26, 2024
@Jason-ZW
Copy link
Collaborator

Jason-ZW commented Apr 28, 2024

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.

@Jason-ZW Jason-ZW added this to the v0.9.3 milestone Apr 28, 2024
@JacieChao JacieChao added the to test Need to test label May 6, 2024
@JacieChao JacieChao reopened this May 6, 2024
@JacieChao
Copy link
Collaborator

Tested with v0.9.3-rc1.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working to test Need to test
Development

Successfully merging a pull request may close this issue.

3 participants