-
Notifications
You must be signed in to change notification settings - Fork 51
Use Kueue as default #470
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
Use Kueue as default #470
Conversation
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.
Nice! A few comments
@Bobbins228 This PR needs to be carefully timed as to when it will be merged. just making sure this is thought about before someone merges it |
fd0e120
to
f694e61
Compare
/lgtm |
f694e61
to
e71205a
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e71205a
to
b61771c
Compare
/lgtm I'll rebase #484 ontop of this as soon as this is merged. There will be some minor merge conflicts, but should be manageable. |
@dgrove-oss |
@Bobbins228 https://issues.redhat.com/browse/RHOAIENG-1031 has been merged by the looks of it so we're now just waiting for #495 |
b61771c
to
bc762a0
Compare
bc762a0
to
e88ae76
Compare
Updated oauth test to have mcad=True Changed .codeflare/appwrappers to .codeflare/resources Addressed comments & added SUSPENDED status Review changes & list_cluster functions Updated tests and load_components Update tests, Rebase
e88ae76
to
f4639dd
Compare
/lgtm |
Co-authored-by: Antonin Stefanutti <[email protected]>
New changes are detected. LGTM label has been removed. |
Issue link
RHOAIENG-1058
What changes have been made
KubeRay and Kueue are now the primary resources responsible for creating Ray Clusters through the SDK.
mcad=False
by default meaning Ray Clusters are created via Kube Ray and Routes/Ingresses are created seperately.The local queue label is applied to the Ray Cluster when
mcad=False
.The SDK will try to gather the default local queue's name by reading the annotation
"kueue.x-k8s.io/default-queue":"true"
from the local queue. If the SDK is unsuccessful it will raise an error asking for the LQ name to be specified in theClusterConfiguration
.Verification steps
There are two ways to test this.
1: SDK gathers the default local queue name
kueue.x-k8s.io/queue-name: LQ_NAME
label2: User provides the Local Queue name
Note: This method is taken into account over the SDK gathering the Local Queue name
local_queue="LOCAL_QUEUE_NAME"
to theClusterConfiguration
Other Changes
The status for RayClusters includes suspended now.
Altered
list_all_queued
andlist_all_clusters
to reflect this.Added the functions above to the simple import scheme.
Note: This PR should not be merged until RHOAIENG-1056 and RHOAIENG-3270 are merged.
Checks