Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Mesosphere Sprint 68, Mesosphere Sprint 69, Mesosphere Sprint 70
-
3
Description
This builds off MESOS-8060 which introduced the profile field to disk resources.
A volume profile will consist of a string which maps to a list of VolumeCapability and some free-form parameters (string key-value pairs). See the message CreateVolumeResponse under https://github.com/container-storage-interface/spec/blob/master/csi.proto for more information about the fields.
We will introduce a module which will allow the operator to specify this mapping. Unfortunately, due to the nature of volume profiles, we cannot provide a reasonable "default" mapping of profiles (because we don't have any idea what volumes are available). Instead, there will be two implementations of the module:
1) The default will essentially turn volume profiles off. Any attempt to use volume profiles will simply fail.
2) An optional module will allow the operator to specify a URI (file or link) that contains a JSON representation of the mapping. The module will have some knobs to tune the frequency at which this URI is fetched from.
Attachments
Issue Links
- is related to
-
MESOS-8060 Introduce first class 'profile' for disk resources.
- Resolved