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

static dividing scheduler very slow #335

Closed
DanielXLee opened this issue May 17, 2022 · 4 comments · Fixed by #399
Closed

static dividing scheduler very slow #335

DanielXLee opened this issue May 17, 2022 · 4 comments · Fixed by #399
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@DanielXLee
Copy link
Contributor

create a nginx deployment and subscription with a static dividing scheduler, the scheduler needs to wait about 17 minutes to complete the schedule

What happened:

I0517 11:57:24.342400       1 scheduler.go:431] no updates on the spec of Subscription clusternet-subs/dividing-demo, skipping syncing
I0517 11:57:24.355973       1 scheduler.go:431] no updates on the spec of Subscription clusternet-subs/dividing-demo, skipping syncing
I0517 11:57:29.995871       1 scheduler.go:497] no updates on the labels/taints of ManagedCluster clusternet-cc8c2/cls-6nyhdo0q, skipping syncing
I0517 11:57:55.333693       1 scheduler.go:497] no updates on the labels/taints of ManagedCluster clusternet-s7cth/cls-bhblikxk, skipping syncing
I0517 11:57:56.745481       1 scheduler.go:497] no updates on the labels/taints of ManagedCluster clusternet-8p5dj/cls-chlxiz3o, skipping syncing
I0517 11:58:23.501070       1 scheduler.go:497] no updates on the labels/taints of ManagedCluster clusternet-lqchp/cls-2dzczntm, skipping syncing
....
I0517 12:13:58.564074       1 scheduler.go:497] no updates on the labels/taints of ManagedCluster clusternet-f2skt/cls-qdfkwvkk, skipping syncing
I0517 12:14:04.330711       1 scheduler.go:239] "Attempting to schedule subscription" subscription="clusternet-subs/dividing-demo"
I0517 12:14:04.330902       1 static.go:50] "Attempting to assign replicas to clusters" subscription="clusternet-subs/dividing-demo" clusters=[clusternet-s7cth/cls-bhblikxk clusternet-cc8c2/cls-6nyhdo0q]
I0517 12:14:04.331025       1 default_binder.go:52] "Attempting to bind subscription to clusters" subscription="clusternet-subs/dividing-demo" clusters=[clusternet-s7cth/cls-bhblikxk clusternet-cc8c2/cls-6nyhdo0q]
I0517 12:14:04.343684       1 scheduler.go:431] no updates on the spec of Subscription clusternet-subs/dividing-demo, skipping syncing

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Clusternet version:
    • Clusternet-agent version (user clusternet-agent --version=json):
    • Clusternet-hub version (user clusternet-hub --version=json):
  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Others:
@DanielXLee DanielXLee added the kind/bug Something isn't working label May 17, 2022
@silenceper
Copy link
Member

I also encountered this problem.
scheduler queue blocking?

@dixudx
Copy link
Member

dixudx commented May 27, 2022

Have you run scheduler with leader elections?

@silenceper
Copy link
Member

The default settings are used, and the leader election should have been turned on.

I'll check first if it's a problem

@dixudx
Copy link
Member

dixudx commented Jul 11, 2022

This has been fixed in #399.

@dixudx dixudx closed this as completed Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants