Giter VIP home page Giter VIP logo

Comments (5)

viglesiasce avatar viglesiasce commented on August 13, 2024

Scaling with instance groups will be difficult since the IG is not aware of the workload running inside the instance. This could cause nodes to be taken out of service while long running jobs are running. Letting Jenkins do the instance provisioning allows it to decide when to take out which instance based on the knowledge of jobs running on the host.

from google-compute-engine-plugin.

craigdbarber avatar craigdbarber commented on August 13, 2024

The IG can be configured to scale by CPU utilization, which would result from agent workloads running on nodes, unless there's an aspect I'm missing.

from google-compute-engine-plugin.

ingwarsw avatar ingwarsw commented on August 13, 2024

I personally think it will rather not work..
We have (and all jenkins nodes) have static number of workers per node.
We would have to make it dynamic and I really have no idea how it could work..

Could you elaborate how would you see it running?

from google-compute-engine-plugin.

craigdbarber avatar craigdbarber commented on August 13, 2024

The workers per node would still remain static, the internals of the Nodes wouldn't change. This would simply defer the node provisioning/de-provisioning logic to the managed instance group service.

This would however strip the Jenkins cloud of that responsibility which would probably require some no-op stubs for node creation/deletion. The bootstrapping will, (ie: the uploading of the JNLP agent jar), would still probably be required. That said, I'm not sure why we have that logic baked into the plugin rather than just publishing a default Instance template that has it baked in.

from google-compute-engine-plugin.

ingwarsw avatar ingwarsw commented on August 13, 2024

@craigatgoogle But we have templates which gives such posibility.. and most people should using it :)
At least we are doing it, and it gives much more power that plugin itself..

And basically we could strip 3/4 logics of instance configuration, and leave only templates..
And to extend it to managed instance group it would require big rewrite force people to create and manage managed instance groups and then resizing group dynamically (Im not even sure if its possible to stop given instance in group, and that would be wrong to kill random one)

from google-compute-engine-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.