Set PVC names in Ray ClusterConfig

Open
#774 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
kubernetes, python

Research direction

Start by locating the ClusterConfig definition and the rendering path for the Ray object, then compare it with templates/base-template.yaml from the referenced v0.19.0 SDK. Done means accepting persistent_volume_claims: List[str] in ClusterConfig and passing the supplied PVC names through to the generated Ray configuration without requiring a customized template.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
35
Forks
66
Avg merge
1d 17h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from project-codeflare/codeflare-sdk

All issues in project-codeflare/codeflare-sdk

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.