Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8251

Introduce a way to resolve the "profile" for disk resources

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None

    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

          Activity

            People

              kaysoky Joseph Wu
              kaysoky Joseph Wu
              Jie Yu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: