-
Notifications
You must be signed in to change notification settings - Fork 44
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 use of priorityClasses to SDK #96
Add use of priorityClasses to SDK #96
Conversation
0dd96cc
to
98767c7
Compare
dfdbac1
to
b4c059f
Compare
@asm582 Do you want to give this another look and approve the changes requested? |
b4c059f
to
29c04a1
Compare
Thanks for the comments @KPostOffice . updated 😄 @asm582 Do you want to give this another look and resolve any outstanding comments 😄 |
29c04a1
to
ad124ea
Compare
db09cf3
to
ced41ab
Compare
LGTM, priority levels for now are hardcoded in some way, in the future users may need fewer or more priority levels. |
ced41ab
to
59c8673
Compare
59c8673
to
20e6d93
Compare
8f08a9d
to
d87a056
Compare
d87a056
to
0ecf145
Compare
@MichaelClifford Checked this is approved, please feel free to merge |
0ecf145
to
8761a17
Compare
8761a17
to
e09cdf7
Compare
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.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: asm582, Maxusmusti 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 |
e6d9f76
into
project-codeflare:main
This PR enables the use of
PriorityClasses
for our RayClusters.closes #182
dispatch_priority
toClusterConfig
dispatch_priority
is left empty, appwrapper is not affected.dispatch_priority
is used, then appwrapper adds the fieldpriorityClassName
to the head and worker group specs.cluster.up()
. This addition is required as not all values fordispatch_priority
are valid and the cluster needs to be checked for valid values before applying the appwrapper.