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
add plugin clusterLocality to favor cluster #1334
Conversation
b735cbb
to
a19cc21
Compare
a19cc21
to
0a02032
Compare
Signed-off-by: huone1 <huwanxing@huawei.com>
0a02032
to
31201c6
Compare
/cc @RainbowMango |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: huone1 huwanxing@huawei.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
Currently, the spreadConstraint choose clusters just by clusterName.
in the rescheduling scenario, we hope the replicas in the scheduled clusters are not Migrated when they meet the filter conditions.
The plugin clusterlocality is aim to supply the preferred policy to favors cluster that already have requested.
Which issue(s) this PR fixes:
a part of #1330
Special notes for your reviewer:
Does this PR introduce a user-facing change?: