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

CREATE operation shouldn't require the client to specify how the persistent volume should be mounted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Because CREATE doesn't mount it and there is no container.

      Currently in Resource protobuf if 'persistence' is set, 'volume' must be set, this requires frameworks to specify a volume field with a dummy container_path because it's a required field.

      The lifecycle management of persistent "volumes" is so different from regular volumes that we should use the volume field only in the context of tasks/containers.

      We should put everything related to the management of persistent volumes into Persistence and not require volume to be set when we are creating/destroying a persistent volume.

      In doing so, the user doesn't have to specify the RW vs. RO mode when creating a persistent volume, it really only matters when the volume is used.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xujyan Yan Xu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: