codeflare-sdk icon indicating copy to clipboard operation
codeflare-sdk copied to clipboard

Set PVC names in Ray ClusterConfig

Open cmisale opened this issue 1 year ago • 0 comments

Name of Feature or Improvement

I would like to be able to pass PVC names to a ClusterConfig.

Description of Problem the Feature Should Solve

When I create Ray clusters through the SDK, I couldn't find a way to add PVC name(s) to be added to the Ray object. I would like to be able to pass PVC names to a ClusterConfig instead of having to add that to a customized base template. I am not using S3 endpoints, therefore that is not useful to me.

Describe the Solution You Would Like to See

Add persistent_volume_claims: List[str] to the ClusterConfig definition

Describe Alternatives You Have Considered

Copy https://github.com/project-codeflare/codeflare-sdk/blob/v0.19.0/src/codeflare_sdk/templates/base-template.yaml, edit and pass it through the template parameter.

cmisale avatar Nov 25 '24 13:11 cmisale