-
Improvement
-
Resolution: Fixed
-
Minor
-
None
Jenkins contains functionality where it monitors the "health" of all its static slaves - it periodically checks that they have enough disk space available, and (most importantly) it takes the slave "offline" if the slave has insufficient disk space available.
This means that Jenkins avoids running builds on slave that have low disk space.
I'd like similar functionality built into the docker-plugin.
At present, the docker-plugin code counts the number of containers that a docker host is currently running, compares that to the "Container Cap" number, and refuses to start new containers on that docker host if it has reached that cap.
I would like to see an additional check of that docker host's filesystem space, so that the plugin also refused to start new containers on a host that had insufficient disk space.
This RFE is because we have has builds fail because they were run on a container that was started on a docker host that had insufficient disk space, and I'd like Jenkins to (automatically) stop using docker hosts that had insufficient space (this would then allow Jenkins to continue to run builds on other docker hosts until someone had resolved the disk space problem).
- depends on
-
JENKINS-30469 expose NodeMonitoring API for cloud slaves
-
- Open
-
Monitor is checking exactly what jenkins slave.jar see, for cloud there is no way to predict what will be mounted in container.