Comments (13)
Thanks, will take a look.
from ec2-fleet-plugin.
Thanks! fyi, we're on latest.
Jenkins ver. 2.164.1
EC2 fleet plugin: 1.1.9
from ec2-fleet-plugin.
We've got same problem more than 45,693,448 Requests in April
Jenkins ver. 2.164.2 LTS
EC2 fleet plugin: 1.1.9
from ec2-fleet-plugin.
@jcalvilloitrs sorry to hear that you're also running into the same issue as us. For us, this is becoming a critical issue since all of our AWS calls are being used up.
Do you have more than one fleet setup?
from ec2-fleet-plugin.
@akennealy We had till yesterday 3 fleet and reduced to just only one
from ec2-fleet-plugin.
@schmutze, have you had a chance to take a look at this one?
I've cloned the repo and started looking at the code. Looks like a large number of the api requests are being made in com.amazon.jenkins.ec2fleet.EC2FleetCloud#updateStatus
. I've added some logging and rebuilt the plugin, planning to deploy this to Jenkins.
from ec2-fleet-plugin.
@akennealy we updated all plugins (there is an update for another ec2 plugin) and restart jenkins, issue seems to be solved. there is no increase api petitions and bill keeps stable.
from ec2-fleet-plugin.
Thanks @jcalvilloitrs! I'll take a look.
I'm currently running a custom build of the plugin with a change I made to reduce the fleet check from running every 10 seconds to run every 60 seconds. As a workaround, this greatly reduced the AWS API requests being called!
from ec2-fleet-plugin.
@akennealy have you tried update suggested to @jcalvilloitrs or increased interval works fine for you? I think it makes sense to increase refresh interval by default and allow to configure it if someone really need 10 sec
from ec2-fleet-plugin.
I tried reverting my custom build with a increased interval from 10 sec to 60 sec. We very soon after starting seeing builds failing with AWS request limit exceeded. I'm going back to my custom build to increase the limit...
from ec2-fleet-plugin.
Hi @akennealy,
I think I found the problem and have a fix for it, the plugin doesn't need to reduce refresh time from 10 sec
to 1 min
instead it can use batch mode for EC2 API. Details in PR #75
It will be really nice if you can try it before release, branch check-terminated-in-batch
thx
from ec2-fleet-plugin.
Hi @akennealy, @jcalvilloitrs fix released 1.2.2. I'm going to close issue, feel free to reopen it if you still see problems or have questions, thx
from ec2-fleet-plugin.
just in case if this problem still valid plugin
- 1.11.2 has significant reduction for API call rate
- 1.12.0 allows to configure interval time
from ec2-fleet-plugin.
Related Issues (20)
- Scale-in Protection always enable HOT 3
- 3.10.0 does not assume role from credentials
- Upgrading 3.0.1 to 3.1.0 deleted cloud configuration HOT 11
- Complete removal of data about the Executors structure 3.0.2 --> 3.1.0 HOT 2
- NoDelayProvisionStrategy won't provision after scaling down to 0 instances in auto scaling group HOT 10
- Cloud is null for computer unknown HOT 1
- EC2 Fleet label based cloud cannot create node
- EC2 ASG agents are not assgined to Jenkins fleet tags - Error during fleet '<fleet_name>' stats update java.lang.NullPointerException HOT 10
- Protected From Scale In HOT 4
- Instance are not shutting down due to "Protection from scale In" HOT 4
- Waiting for next available executor on βtest i-123456789 HOT 4
- jenkins connect with ipv6 HOT 1
- jenkins connect with ipv6
- EC2 Fleet with AutoScaling Group receives scale-down request prematurely HOT 1
- jnlp connection?
- Agent root directories cannot be on different drives other than C: when using Windows
- Job is not resubmited because of post condition failure
- Ability to configure minimum number of executors, much like minimum number of nodes
- NoProxy Configuration Not Working As Expected
- the plugin re-triggers the last failed build instead aborted one
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 ec2-fleet-plugin.