cnrancher / autok3s

Run K3s Everywhere
https://www.suse.com
Apache License 2.0
784 stars 77 forks source link

[Feature Request] Single-node sqlite cluster, disable adding master nodes #536

Closed ly5156 closed 1 year ago

ly5156 commented 1 year ago

Is your feature request related to a problem? Please describe.

When creating a single-node sqlite cluster and join master node via autok3s ui, the backend command should check and return an error and should not create a separate single-node cluster

The reason is that when I look at a single-node sqlite cluster and join node, there is no --server parameter in the command executed, so the created node should be a standalone cluster.

TangStone commented 1 year ago

Verified on version v0.7.0-rc4

  1. Create a 1master cluster on aws, alibaba, k3s, native, and tencent respectively
  2. Add a master node to the successfully created cluster join node
  3. The pop-up prompt calling preflight error: can't join master nodes to single node cluster image