Comments (5)
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.
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.
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.
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.
@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)
- Feature request: Option to delay agent connection to allow custom startup script to finish HOT 3
- Option the set MAXIMUM triggered builds for an agent
- Enable billing measure of GCP Jenkins workers HOT 2
- The hpi download link is broken HOT 2
- Add new spot for provision type HOT 2
- New Node with "Google Compute Engine" failed HOT 1
- Add an ability to provide image family name instead of image name HOT 1
- Create snapshot defaulting to multi-region
- Expose Prefix Start Agent Command and Suffix Start Agent Command
- Jobs on preempted VMs hang indefinitely until manually cancelled HOT 2
- Option to limit run time of VM HOT 1
- Large number of offline build executors when there is no capacity
- Add option for enabling nested virtualization
- External IP Address can't be configured HOT 10
- Attaching a start up script to an instance template
- Nullsafe operator required
- Change mahine type from configuration not working
- Long wait times to provision a VM in GCP HOT 4
- Jenkins losing connection to GCE VM / GCE VM shutting down HOT 1
- Preempted VMs are sometimes not properly detected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-compute-engine-plugin.