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

Support mounting volumes in API request #346

Merged
merged 2 commits into from
Jul 7, 2022

Conversation

Jeffwan
Copy link
Collaborator

@Jeffwan Jeffwan commented Jul 6, 2022

Why are these changes needed?

Rest API users need a way to mount volumes to ray cluster. We can extend the proto to support volumes.

Related issue number

Address #204

Checks

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

@Jeffwan Jeffwan changed the title Expose volume setting from apiserver Support mounting volumes in API request Jul 6, 2022
@Jeffwan Jeffwan force-pushed the support_volume_apiserver branch 2 times, most recently from eba8120 to e4498bb Compare July 6, 2022 14:54
@wilsonwang371
Copy link
Collaborator

there are some conflicts we need to resolve

@Jeffwan
Copy link
Collaborator Author

Jeffwan commented Jul 7, 2022

@wilsonwang371 I rebased the master and fix the conflicts.

@wilsonwang371
Copy link
Collaborator

lgtm

This change adds a new message Volume and adds  parameters in HeadGroupSpec and WorkerGroupSpec message called volumes which allow user to specify a list of volumes. Based on the observation at https://kubernetes.io/docs/concepts/storage/volumes/, almost all mounting methods needs four params: name, mount path, source (this could be aws EBS volume id, hostpath, gce persistent disk name etc) and type (awsElasticBlockStore , hostPath, gcePersistentDisk etc.).
@Jeffwan Jeffwan merged commit b2815de into ray-project:master Jul 7, 2022
@Jeffwan Jeffwan deleted the support_volume_apiserver branch July 7, 2022 15:09
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
* Add volumes definition in proto file

This change adds a new message Volume and adds  parameters in HeadGroupSpec and WorkerGroupSpec message called volumes which allow user to specify a list of volumes. Based on the observation at https://kubernetes.io/docs/concepts/storage/volumes/, almost all mounting methods needs four params: name, mount path, source (this could be aws EBS volume id, hostpath, gce persistent disk name etc) and type (awsElasticBlockStore , hostPath, gcePersistentDisk etc.).

* Add volumes in PodTemplateSpec
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.

2 participants