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

Reflactor the vineyard scheduler code #1276

Merged
merged 4 commits into from
Mar 31, 2023

Conversation

dashanji
Copy link
Member

What do these changes do?

As titled.

Related issue number

Fixes some parts of #1234

@github-actions
Copy link
Contributor

github-actions bot commented Mar 30, 2023

🎊 PR Preview 3c64b3a has been successfully built and deployed to https://deploy-preview-pr-1276--v6d.netlify.app
🤖 By netlify

@dashanji dashanji force-pushed the reflactor-scheduler-code branch 3 times, most recently from 976d6cc to 327225a Compare March 31, 2023 02:53
* Add the RoundRobinStrategy and BestEffortStrategy interface for all vineyard schedulers.
* Split the vineyard schedulers into scheduler-on-kubernetes and scheduler-outside-cluster.

Signed-off-by: Ye Cao <caoye.cao@alibaba-inc.com>
@dashanji dashanji force-pushed the reflactor-scheduler-code branch 2 times, most recently from eee07f5 to 227d3ff Compare March 31, 2023 06:58
Signed-off-by: Ye Cao <caoye.cao@alibaba-inc.com>
@dashanji dashanji force-pushed the reflactor-scheduler-code branch from 227d3ff to 97eb3bd Compare March 31, 2023 08:23
@dashanji dashanji requested a review from sighingnow March 31, 2023 09:19
Copy link
Member

@sighingnow sighingnow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename VineyardSchedulerOnKubernetes to VineyardSchedulerInsideCluster to make it consistent with VineyardSchedulerOutsideCluster?

k8s/pkg/schedulers/scheduler_on_kubernetes.go Outdated Show resolved Hide resolved
k8s/pkg/schedulers/scheduler_outside_cluster.go Outdated Show resolved Hide resolved
@dashanji
Copy link
Member Author

All comments addressed. PTAL, thanks. @sighingnow

Signed-off-by: Ye Cao <caoye.cao@alibaba-inc.com>
@dashanji dashanji force-pushed the reflactor-scheduler-code branch from 97fc175 to bbc85b4 Compare March 31, 2023 11:42
Signed-off-by: Ye Cao <caoye.cao@alibaba-inc.com>
@sighingnow sighingnow merged commit fb09f64 into v6d-io:main Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants