elixir-cloud-aai/TESK

Configuration of PVC storageClass

Opened this issue · 3 comments

Hey,

I am new to TESK and testing to run some workflows in a k8s cluster which uses rook-ceph object storage which I would like to use for the task manager's PVC. However, I am not sure how I could configure the PVC storageClass, size etc. Is there a way as of today or would that need some changed in the code base?

The storage class is not really a part of TESK codebase, but its requirement. You define it as a K8s object and you need to mark its as default.
I am not sure, if Object Storage can be used for providing volumes, but you may also have block storage and/or shared file system available in your cluster.
AFAIK TESK was used successfully with Cinder, GlusterFS, NFS and CephRBD types of storage.

Thanks for getting back to me. I set a default storageClass and run some simple workflows with object storage. It seems to work fine. However, I would prefer to set the storageClass to be used as part of the configuration in order to avoid a default class. Would that be possible?

That should be no problem with adding an option to configure the storage class for PVC and that is a good idea.