Chun-Hung Hsiao created MESOS-9388:
--------------------------------------

             Summary: Add the capability to specify min/max disk size range for 
a profile.
                 Key: MESOS-9388
                 URL: https://issues.apache.org/jira/browse/MESOS-9388
             Project: Mesos
          Issue Type: Improvement
          Components: storage
            Reporter: Chun-Hung Hsiao


Since CSI plugins run {{mkfs}} lazily when a volume is first published on an 
agent, it is possible that a CSI plugin allows a framework to create a volume 
of size that is too small or too large for the target filesystem when the 
framework issues a {{CREATE_DISK}}, but the volume cannot be used by any task 
since all tasks will fail because the volume cannot be published.

To avoid this and improve user experience, we could extend the module interface 
of the disk profile adaptor to specify a min/max size range for a given 
profile, so Mesos can validate the size upfront.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to