Open chenk008 opened 3 years ago
What kind of volumes you need? Read-Many or EBS per pod like template with index? We handle the exact same problem in distributed training use case
@Jeffwan We prefer EBS per pod like template with index.
Currently we create head/worker pods directly, bu not using workloads like statefulset/deployment。Statefulset/deployment may be more suitable for this case and other functions like rolling upgrade.
@feilengcui008 For normal case, it's true. The major blocker issue for us to adopt sts or deployment is we plan to enable autoscaler soon and we need to fine grain control the pods to be deleted. In this case, both sts and deployment won't work
Search before asking
Description
We need mount
PersistentVolume
into Pod in some cases. For now, we can add volumes which refer toPersistentVolumeClaim
inPodSpec
, but we need to createPersistentVolumeClaim
manually.I am looking up some way to create
PersistentVolumeClaim
automaticly.Use case
Some ray job need to save file on persistent storage, we need to mount some disk (e.g. aws EBS, aliyun EBS) into Pod.
Related issues
No response
Are you willing to submit a PR?