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

Provides a convenient Kosmos-Scheduler installation method #317

Open
ONE7live opened this issue Dec 7, 2023 · 1 comment
Open

Provides a convenient Kosmos-Scheduler installation method #317

ONE7live opened this issue Dec 7, 2023 · 1 comment
Labels

Comments

@ONE7live
Copy link
Member

ONE7live commented Dec 7, 2023

What would you like to be added:
Provides convenient kosmos-scheduler installation and is friendly and compatible with other modules.

Maybe integrating into kosmosctl is a good choice, but you need to pay attention to the following points:

  • Installing the Scheduler needs to match the Kubernetes version. Currently, the versions that are stably supported are v1.21.* and v1.26.*. The Kubernetes version of the cluster needs to be verified before installation. If it does not match, the user will be prompted. In terms of content, it might be a good idea to suggest that you can install it later through 'kosmosctl -m scheduler';
  • Installing Scheduler involves shutting down the Kubernetes native Scheduler. User-friendly prompts need to be provided here, such as: mv /apps/conf/kubernetes/manifests/kube-scheduler.yaml /apps/conf/kubernetes;
  • Installing Scheduler should be friendly and compatible with other modules such as Clusterlink and Clustertree. Any installation issues regarding Scheduler should not block the installation of other modules.

Why is this needed:
Scheduler is currently still in the development stage, and the default installation options of Kosmos do not provide a deployment method for Scheduler.

--------------------------------------------------------------------------------------
 █████   ████    ███████     █████████  ██████   ██████    ███████     █████████
░░███   ███░   ███░░░░░███  ███░░░░░███░░██████ ██████   ███░░░░░███  ███░░░░░███
 ░███  ███    ███     ░░███░███    ░░░  ░███░█████░███  ███     ░░███░███    ░░░
 ░███████    ░███      ░███░░█████████  ░███░░███ ░███ ░███      ░███░░█████████
 ░███░░███   ░███      ░███ ░░░░░░░░███ ░███ ░░░  ░███ ░███      ░███ ░░░░░░░░███
 ░███ ░░███  ░░███     ███  ███    ░███ ░███      ░███ ░░███     ███  ███    ░███
 █████ ░░████ ░░░███████░  ░░█████████  █████     █████ ░░░███████░  ░░█████████
░░░░░   ░░░░    ░░░░░░░     ░░░░░░░░░  ░░░░░     ░░░░░    ░░░░░░░     ░░░░░░░░░
---------------------------------------------------------------------------------------
Kosmos has been installed successfully. The module Clusterlink && Clustertree is installed.

[root@ecs-89475272-001 wq]# kosmosctl get pod
NAME                                              READY   STATUS    RESTARTS   AGE
clusterlink-agent-mbpkj                           1/1     Running   0          66s
clusterlink-agent-mm4r8                           1/1     Running   0          66s
clusterlink-controller-manager-7dc4576dbf-txv9r   1/1     Running   0          66s
clusterlink-elector-87cc9d7cb-cpfb5               1/1     Running   0          66s
clusterlink-elector-87cc9d7cb-pn4vq               1/1     Running   0          66s
clusterlink-network-manager-6bcbd6d6cc-kh98p      1/1     Running   0          91s
clustertree-cluster-manager-66bff7564d-hh657      1/1     Running   0          77s
kosmos-operator-5f998bc556-qxnqm                  1/1     Running   0          80s
@wuyingjun-lucky wuyingjun-lucky added the good first issue Good for newcomers label Dec 7, 2023
@kuangcheng66
Copy link
Contributor

/assign @kuangcheng66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants