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

Include overlayfs upperdir in disk quota accounting.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: containerization, storage
    • Labels:
      None

      Description

      Currently, the overlayfs upperdir is not included in any disk quota accounting. This means that a task can write arbitrary amounts of data to /tmp and will escape the sandbox disk quota.

      Propose that we propagate the overlayfs upperdir directory to the disk isolators so that they can manage this storage, and include it in the total sandbox usage quota. This would need to be supported by both disk/du and disk/xfs isolators. We should be able to propagate the additional information out of the provisioner in ProvisionInfo and then into ContainerConfig.

      The proposed semantics would be that both the sandbox and overlayfs upperdir usage would count towards the ephemeral disk quota.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamespeach James Peach
                Reporter:
                jamespeach James Peach
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: