Code Monkey home page Code Monkey logo

Comments (5)

jocelyndrw avatar jocelyndrw commented on July 25, 2024

I also observe the same comportment and haven't been able to track-it down.

In fact, I'd like to be able to enable this as a feature, so Jenkins could "preload" the slaves (within the max container or max instance limit), reducing the cloud plugin overhead when starting a lot of jobs at the same time.

(Jenkins 1.567, Docker 1.0.0 on CentOS 6)

from docker-plugin.

thomassuckow avatar thomassuckow commented on July 25, 2024

I need to do more investigating, which will probably involve building the plugin myself. But I believe what is happening is that jobs with no label restriction are causing a docker container to be provisioned. The logic in the DockerCloud is to use the first container when a null label is requested, thus they are all the same container getting provisioned. However, for some reason, Jenkins thinks the provisioned slave is not satisfactory and will not send the job to it. Even worse, the Docker retention policy will not terminate an idle slave if it has not done work.

from docker-plugin.

thomassuckow avatar thomassuckow commented on July 25, 2024

Here is a question for you. We are discussing on #59, whether it is worth having the "Utilize node as much as possible"/"Tied jobs only" option on containers. Alternatively should it be hard coded one way or another?

from docker-plugin.

Liryna avatar Liryna commented on July 25, 2024

Thanks alot for these fix ! can't wait to test them :) !!!

from docker-plugin.

magnayn avatar magnayn commented on July 25, 2024

Fixed in 0.7 release.

from docker-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.