jenkinsci / ec2-fleet-plugin

The EC2 Fleet plugin launches EC2 instances as worker nodes for Jenkins CI server, automatically scaling the capacity with the load.
https://plugins.jenkins.io/ec2-fleet/
Apache License 2.0
111 stars 81 forks source link

NoProxy Configuration Not Working As Expected #441

Open BradyShober opened 6 months ago

BradyShober commented 6 months ago

Issue Details

Describe the bug In our environment we need to configure a proxy however we use VPC endpoints and do not need all AWS traffic proxied. In our case with the NoProxy list below traffic to autoscaling.us-east-2.amazonaws.com and ec2.us-east-2.amazonaws.com are being sent to the proxy.

To Reproduce

  1. Configure Jenkins proxy with NoProxy list such as 169.254.169.254 *.s3.us-east-2.amazonaws.com sts.us-east-2.amazonaws.com autoscaling.us-east-2.amazonaws.com ec2.us-east-2.amazonaws.com ecs.us-east-2.amazonaws.com

  2. Attempt to configure a Cloud, the plugin will not be able to pull available auto scaling groups if proxy does not allow the traffic.

Environment Details

Plugin Version? 3.0.2

Jenkins Version? 2.426.2

Spot Fleet or ASG? ASG

Label based fleet? Yes

Linux or Windows? Either