Skip to content
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

extended job APIs #1537

Merged
merged 12 commits into from
Oct 19, 2023
Merged

extended job APIs #1537

merged 12 commits into from
Oct 19, 2023

Conversation

blublinsky
Copy link
Contributor

@blublinsky blublinsky commented Oct 17, 2023

Why are these changes needed?

In the Job APIs for the apiserver added job submitter parameters. This fixes the problem of Python/Ray version mismatch in the case of existing Ray cluster

Related issue number

Checks

  • [ x] I've made sure the tests are passing.
  • Testing Strategy
    • [ x] Unit tests
    • Manual tests
    • This PR is not tested :(

@blublinsky
Copy link
Contributor Author

It requires rebasing

Signed-off-by: Boris Lublinsky <blublinsky@hotmail.com>
@blublinsky
Copy link
Contributor Author

@z103cb, @astefanutti, pls take a look

cc: @kevin85421

Copy link
Contributor

@z103cb z103cb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two things, that I think should be included in this PR:

apiserver/pkg/util/job.go Outdated Show resolved Hide resolved
@blublinsky
Copy link
Contributor Author

Implemented check in util/job.go

@blublinsky
Copy link
Contributor Author

Add documentation on how to use it in Readme

Copy link
Contributor

@z103cb z103cb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick on the port number, it is looking good otherwise.

apiserver/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@z103cb z103cb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@blublinsky
Copy link
Contributor Author

@astefanutti all ready for you

Copy link
Contributor

@astefanutti astefanutti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple of comments. Will LGTM after that.

apiserver/pkg/model/converter.go Outdated Show resolved Hide resolved
apiserver/pkg/util/job.go Outdated Show resolved Hide resolved
Copy link
Contributor

@astefanutti astefanutti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kevin85421 kevin85421 merged commit 53cacd9 into ray-project:master Oct 19, 2023
20 checks passed
@blublinsky blublinsky deleted the apiserver-job branch October 19, 2023 07:20
kevin85421 pushed a commit to kevin85421/kuberay that referenced this pull request Nov 2, 2023
kevin85421 added a commit that referenced this pull request Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants