Storage to cluster pods

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

Nobody has claimed this yet.

Assessment

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

Research direction

Read codeflare_sdk.cluster.cluster, especially Cluster and ClusterConfiguration, as shown in the issue. Trace how cluster pod resources are assembled and where the provided storage value could be carried into a PVC. Done means the configuration accepts storage details and the resulting cluster pods use the created PVC.

Written by the indexing model from the issue text.

Description

Name of Feature or Improvement

Allow the user to provide storage details in cluster config

Description of Problem the Feature Should Solve

In the from codeflare_sdk.cluster.cluster import Cluster, ClusterConfiguration
under cluster = Cluster(ClusterConfiguration(
name='qlora',
namespace='default',
num_workers=2,
min_cpus=4,
max_cpus=4,
min_memory=8,
max_memory=8,
num_gpus=2,
instascale=False, #<---instascale enabled
#machine_types=["m5.xlarge", "g4dn.xlarge"]

))

There should be a option to add storage to cluster pods ,

Describe the Solution You Would Like to See

create a pvc with provided storage value in the ClusterConfiguration

Dominant language
Python
Stars
35
Forks
66
Avg merge
48m
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

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.