-
Notifications
You must be signed in to change notification settings - Fork 53
Make Local Queue label optional #580
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
Make Local Queue label optional #580
Conversation
6ff0143
to
23879b9
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.
Tested and works as expected:
- When not specifying LocalQueue in ClusterConfiguration but has default-queue annotation, LocalQueue label is added.
- When not specifying LocalQueue in ClusterConfiguration without the default-queue annotation, LocalQueue label is not added.
- When specifying the LocalQueue in ClusterConfiguration, LocalQueue label is added.
Thanks!
/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.
/lgtm just needs a rebase.
If you have a chance, please create a Jira for updating the notebooks after a release is a made. Thank you!
23879b9
to
41b95ba
Compare
Rebased! |
/approve |
@astefanutti @ChristianZaccaria I think the PR just requires a review approval in order to merge now :) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: astefanutti 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 |
1ab5421
into
project-codeflare:main
Issue link
closes: RHOAIENG-9348
What changes have been made
Altered the local_queue functionality so if no default local queue exists or
local_queue
is not specified then the label will not be applied to the Ray Cluster.Verification steps
Setup
Notebook server ODH/RHOAI/Local
git clone https://github.com/project-codeflare/codeflare-sdk.git
poetry build
- install if needed (pip install poetry
)pip install --force-reinstall dist/codeflare_sdk-0.0.0.dev0-py3-none-any.whl
Testing
Remove Kueue from your OpenShift Cluster
Removed
ClusterConfiguration
without a local queue specified.Kueue is enabled but no default Local Queue exists
Checks