Comments (7)
Okay, this might have been because those nodes got preempted very very quickly. It looks like none of them lasted more than a minute before they got preempted.
from google-compute-engine-plugin.
Hmm no, even after turning off preemption, it still launched two nodes:
even though the instance cap is set to 1. This looks to be a pretty bad bug.
from google-compute-engine-plugin.
My experience says that it works with roughly good precision..
We have it set for 50 instances and max I saw was 52..
Issue is that we are starting new instances and they are not counted until they will start showing on listing.. which may take few seconds..
I dont think its worth making it more precise, because it will make it slower/more complicated..
from google-compute-engine-plugin.
@hach-que I don't know if it's worth it as stated above to make it more precise. What are your thoughts? Is this a significant problem for your use case? Looking at the code, it seems it could be a timing issue between having to terminate the instance and then provisioning new instances.
from google-compute-engine-plugin.
In my case I'm launching 32-core Windows instances, with an instance cap of 1. So when it goes over it effectively doubles my spend on Google Cloud. For 32-core Windows instances, that's not trivial given the premium OS licensing per core.
from google-compute-engine-plugin.
I see, yes, the cost can really add up. I'll have to research further into this since this could involve a pretty significant code change.
from google-compute-engine-plugin.
With #99 recently, it seems it'll be difficult to change the timing parameters such as the following:
-Dhudson.slaves.NodeProvisioner.initialDelay=0 -Dhudson.slaves.NodeProvisioner.MARGIN=50 -Dhudson.slaves.NodeProvisioner.MARGIN0=0.85 -Dhudson.model.LoadStatistics.clock=10000 -Dhudson.model.LoadStatistics.decay=0.2
They need to be passed through Java. Only thing I can recommend temporarily is you'd have to have your own local build of the plugin with altered values for those above parameters?
from google-compute-engine-plugin.
Related Issues (20)
- getInstanceConfigurationByDescription returns a NullReferenceException if there are no instances
- Jenkins cannot connect to slave node via ssh HOT 1
- Agent JVM Options
- Agent/instance is created with Preamble off while Template to use is selected HOT 1
- Feature request: try different zones if the one specified in config does not have enough resources HOT 4
- 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
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.