Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

One command to build multi-clusters by karmada helm chart #4305

Open
chaosi-zju opened this issue Nov 22, 2023 · 5 comments · May be fixed by #4045
Open

One command to build multi-clusters by karmada helm chart #4305

chaosi-zju opened this issue Nov 22, 2023 · 5 comments · May be fixed by #4045
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@chaosi-zju
Copy link
Member

What would you like to be added:

A script using just one command to build multi-clusters by karmada helm chart

Why is this needed:

There are sevaral scenarios:

1) scenario one

I am a real user of karmada, I has several real clusters in prod environment, I want to build multi-clusters by karmada.

It is not fit for me to use hack/local-up-karmada.sh, it just mocked some KinD clusters.

I tend to install karmada by helm chart on given clusters, so I should install karmada on control plane and then join member clusters. But it is so hard for me to finish the whole process, especially in pull mode, I have to settle the certs of karmada-agent.

I want just one command to finish the whole process, I need just provided my kubeconfig path and specify how many clusters I want, after one command, the whole clusters builded success, just like:

NAME      VERSION   MODE   READY   AGE   APIENDPOINT
member1   v1.27.3   Push   True    45s   https://172.18.0.3:6443
member2   v1.27.3   Pull   True    2s    
member3   v1.27.3   Push   True    41s   https://172.18.0.4:6443

2) scenario two

I am new to Karmada, I want to try karmada, I am familiar with helm chart.

I just want to try the features of karmada, I don't have any patience for karmada installation.

I want just one command script to help me create clusters first and then build the control plane and member cluster success.

Besides, I am behind firewall, pulling images is a trouble to me when installing, I don't want to waste time to solve it by config proxy, I can only accept fetch the image to local node in advance.

3) scenario true

I am a Developer or Tester, our project is based on Karmada, I want to construct a variety of complex multi-cluster scenarios.

So, I want a installation script which can specify the number of push mode clusters or pull mode clusters.

For example, I need 5 push mode clusters and 3 pull mode clusters, by executing one command, the member clusters installed success.

@chaosi-zju chaosi-zju added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 22, 2023
@chaunceyjiang
Copy link
Member

One command to build multi-clusters by karmada helm chart

Why not use karmadactl init?

@liangyuanpeng
Copy link
Contributor

duplicate #4306

@chaosi-zju
Copy link
Member Author

chaosi-zju commented Nov 23, 2023

Why not use karmadactl init?

supposing I have 10 cluster, I want to install karmada control plane at No.1 cluster, and join push mode member cluster at No.2 ~ No.5 cluster, and join pull mode member cluster at No.6 ~ No.10 cluster, however karmadactl neither can achieve one command to build multi-cluster, the user should execute the command step by step.

besides, some user tend to use helm, since we provided this install method, why not improve it.

besides, I often hear users feedback the failure, even diss the helm installtion method in wechat group, it actually not friendly using to users.

@chaosi-zju
Copy link
Member Author

duplicate #4306

thanks for finding~ There was a problem with the network and duplicate submissions were made

@RainbowMango
Copy link
Member

scenario one

I don't think the script is the official tooling for users to install Karmada in a production scenario.

scenario two
I am new to Karmada, I want to try karmada, I am familiar with helm chart.

In this case, the developer can go with the recommended quick start guide which is the community maintains for developers.

  1. scenario true
    I am a Developer or Tester, our project is based on Karmada, I want to construct a variety of complex multi-cluster scenarios.
    So, I want a installation script which can specify the number of push mode clusters or pull mode clusters.

This is not a real-world use case, Karmada installation and cluster registration are different operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants