[ 
https://issues.apache.org/jira/browse/MESOS-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Chen updated MESOS-2196:
--------------------------------
    Component/s: docker

> Add option to Docker containerizer to check for adequate disk space prior to 
> "docker pull" on slave
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-2196
>                 URL: https://issues.apache.org/jira/browse/MESOS-2196
>             Project: Mesos
>          Issue Type: Improvement
>          Components: docker
>    Affects Versions: 0.20.1
>            Reporter: Lans Carstensen
>
> This is a request for a flag similar in nature to 
> https://reviews.apache.org/r/28190/ to ensure that there is adequate disk 
> space on a mesos-slave prior to attempting to download a Docker image.  This 
> would avoid negatively impacting running tasks/containers and/or running a 
> system out of disk space since this machine resource is currently unmanaged. 
> If space is unavailable to run a particular task, It would be desirable to be 
> able to invoke a preconfigured space reclamation workflow on the slave.
> Regarding implementation on the slave, one would have to query the /info 
> endpoint to find storage information from the Docker storage driver.  My 
> particular use case is with devicemapper.  One then has to resolve the list 
> of image layers associated with a particular image tag, remove the list of 
> layers already downloaded, and then query the registry for each layer's size 
> to determine if all layers can be downloaded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to