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

[Umbrella] Enhancement of WorkloadRebalancer to support fresh rescheduling across multiple cluster affinities #5172

Open
1 of 5 tasks
chaosi-zju opened this issue Jul 11, 2024 · 3 comments
Assignees
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:

Enhancement of WorkloadRebalancer to support fresh rescheduling across multiple cluster affinities.

Why is this needed:

In summary, what has been discussed in this thread is what the concerns are ie. lack of ability to do a fresh reschedule where the workloads need to be relocated back to the original clusters where the conditions are satisfied (either due to re-availability of capacity or the cluster becoming available if there was a failover etc). Currently no construct of Karmada enables this reverse migration workflow. Almost all the scheduling flows taking into account the previous scheduling context.

I see WorkloadRebalancer as a natural fit to solve this by providing a control to the user to signal a fresh reschedule (preferably through a field spec.freshReschedule) without honoring the previous schedule context. Such reschedules may or may not cause the workload to be relocated depending on where it was scheduled prior. It is upto the user who triggers it to decide when a fresh reschedule is triggered via WorkloadRebalancer and that the user is fully aware of the implications of such an action. Users may build workflows to trigger any periodic fresh reschedules as well to suit their needs.

related issue: #5070#4990

TODO list

  • share opinion in Community Meeting
  • proposal
  • implementation
  • UT test
  • e2e test
@chaosi-zju chaosi-zju added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 11, 2024
@chaosi-zju
Copy link
Member Author

/assign @bharathguvvala

@karmada-bot
Copy link
Collaborator

@chaosi-zju: GitHub didn't allow me to assign the following users: bharathguvvala.

Note that only karmada-io members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @bharathguvvala

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@bharathguvvala
Copy link

Commenting so that the issue can be assigned to me.

/assign @bharathguvvala

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
Status: No status
Development

No branches or pull requests

3 participants