Define a policy for requirements to plugins for PVC custom management and defaults #359
Replies: 4 comments 10 replies
-
@Bianco95 @Surax98 can you summarize the status on this? What's the plan for the first implementation? |
Beta Was this translation helpful? Give feedback.
-
I think this is more appropriate as a github discussion, I don't think we ever reached a definiteve answer here. |
Beta Was this translation helpful? Give feedback.
-
Time to resume this, @landerlini I'm drafting a first proposal for each of the points you mentioned above. Please let me know if they still valid or any other came up |
Beta Was this translation helpful? Give feedback.
-
ProposalCustom Volume logic implementationWe should allow custom CSI storage provider scripts Implementation
Example:
Questions
Tracking issuehttps://github.com/interTwin-eu/interLink/issues/399 Plugin defaultsThe submission/execution parameters should have defaults based on payload resource requests:
In other words, defining payload flavors. N.B. we will start from static defaults at plugin level, then adding dyamic flavor match, based on pod resources. We should have already examples to be followed ImplementationAt plugin configuration there should be a dictionary with a set of default annotations (flavors) for each of the use cases above. e.g.: defaults:
GPU:
singularity-options: --nv
slurm-options: --gres gpu:$N_GPUS
high-io:
singularity-binds: --bind /nvme/:$SLURM_HOME At first implementation we might need a simple concatenation of strings? Maybe later we will discover a smarter way to merge cases where multiple options from the list are met. We will likely start from SLURM and Docker plugins. Dynamic allocatable resources for virtual nodesThis is already supported by the worflow. The plugin implementation is not there yet though. ImplementationThe plugin should answer to the ping requests with a valide allocatable resource dictionary. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Having multiple sidecars for multiple backend is fantastic, and kubernetes provides a detailed standard to which they will all do their best to adhere.
Unfortunately, some "special usecase" for our workflows escapes the standard and we need to define a common "language" to enable and/or configure each specific feature.
A few examples:
It would be nice to converge towards a common mechanism and a well defined space of configurations we tend to move towards while developing plugins.
Beta Was this translation helpful? Give feedback.
All reactions