kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.38k stars 554 forks source link

Merge kubekey-k3s with cluster-api-k3s #2417

Open nasusoba opened 1 month ago

nasusoba commented 1 month ago

Your current KubeKey version

No response

Describe this feature

Hi, I am from cluster-api-k3s. I am seeing that there is a duplicated k3s cluster api, kubekey-k3s. Previously, there was a discussion about merging the two CAPIs here, and I would love to spend some time to see if a merge is possible.

The main reason for a merge is to

I have also add an issue in cluster-api-k3s repo.

Describe the solution you'd like

Plan in my mind:

  1. Understand diff between kubekey-k3s and cluster-api k3s. (==> if possible to merge)
  2. Contribute the code from kubekey-k3s back to cluster-api k3s.
  3. Integrate with kubekey test to verify moving to cluster-api k3s does not break anything.
  4. Deprecate kubekey-k3s.

Additional information

cluster-api-k3s has now supported airgapped install. So one diff could be resolved. Could someone help me understand if there is other diff? Thanks so much! : )