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

add resource command #170

Merged
merged 8 commits into from
Mar 10, 2022
Merged

Conversation

zhuangzhuang131419
Copy link
Contributor

@zhuangzhuang131419 zhuangzhuang131419 commented Mar 4, 2022

Why are these changes needed?

Using container.resource.cpu.limit as num-cpus default value in rayStartParams, it will help to reduce configuration redundancy. When we want to change the container resource config, we don't need to update rayStartParams.

It's the same with memory,gpu.

Related issue number

Checks

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

@Jeffwan
Copy link
Collaborator

Jeffwan commented Mar 4, 2022

Address #152

Copy link
Collaborator

@Jeffwan Jeffwan left a comment

Choose a reason for hiding this comment

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

rest part LGTM

ray-operator/config/samples/ray-cluster.mini.yaml Outdated Show resolved Hide resolved
@Jeffwan
Copy link
Collaborator

Jeffwan commented Mar 7, 2022

@chenk008 Can you help double check and approve the change?

Copy link
Contributor

@chenk008 chenk008 left a comment

Choose a reason for hiding this comment

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

LGTM

@chenk008 chenk008 merged commit 82d52c2 into ray-project:master Mar 10, 2022
chenk008 pushed a commit that referenced this pull request Mar 22, 2022
* auto fill resource information into command

Co-authored-by: zhuang <[email protected]>
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
* auto fill resource information into command

Co-authored-by: zhuang <[email protected]>
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.

3 participants