-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Mark scheduling framework as implemented #2054
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g 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 |
|
||
#### PreScore | ||
|
||
**Notice: `PreScore` is available since v1alpha2, and it's known as `PostFilter` before this version.** |
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.
the v1alpha2 looks confusing, given that it's not an API. We should say the k8s minor version.
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.
I just removed the sentence, the public docs clarifies that, wdyt?
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.
sg
see-also: | ||
- "/keps/sig-scheduling/1451-multi-scheduling-profiles" | ||
stage: stable | ||
latest-milestone: "v1.18" |
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.
1.19
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.
done.
dcea73e
to
0015c3b
Compare
/hold just in case :) |
title: Scheduling Framework | ||
kep-number: 895 | ||
authors: | ||
- "@Huang-Wei" |
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.
Original authors should be bsalamat and misterikkit
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.
ah, copied the format of this file from your kep :)
@@ -0,0 +1,31 @@ | |||
title: Scheduling Framework | |||
kep-number: 895 |
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.
kep-number: 895 | |
kep-number: 624 |
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.
done.
the queue and retried. If a binding cycle is aborted, it will trigger the | ||
[Unreserve](#reserve) method in the Reserve plugin. |
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.
In addition to this, can we move the tweaks in #1560 into this PR?
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.
done.
* Existing 'Predicate' and 'Priority' functions and preemption logic are | ||
converted to plugins. | ||
* No major bug in the implementation of the framework is reported in the past | ||
three months. | ||
|
||
# IMPLEMENTATION HISTORY |
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.
Keep this section? At least with 2 bullets indicating when we transform old format design doc to KEP, and the latest changes.
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.
the history is long and complicated :) not sure those two bullet points will be useful.
@@ -250,21 +250,31 @@ func (*BlinkingLightScorer) NormalizeScore(state *CycleState, _ *v1.Pod, nodeSco | |||
|
|||
If either `Score` or `NormalizeScore` returns an error, the scheduling cycle is aborted. | |||
|
|||
### Reserve | |||
#### Reserve |
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.
Let's close #1560 as I assume everything in that PR has been covered here.
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.
done.
@ahg-g LGTM. Pleas squash the commits. |
/sig scheduling |
/lgtm |
/hold cancel |
Since this is already in stable, we will not have a PRR.
/cc @alculquicondor @Huang-Wei