question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Support Capacity Providers

See original GitHub issue

Amazon recently made Fargate Spot generally available. What it basically does is run Fargate tasks in an EC2 Spot Instance-esque fashion, while greatly reducing the cost to run them. This seems like a match made in heaven for running certain Jenkins jobs at an extremely attractive price.

What we’d need to do is support the specification of Capacity Providers when defining Cloud Provider Templates. That could look similar to Placement Strategies field in the current implementation.

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:14
  • Comments:19 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
owengocommented, Dec 30, 2019

if some want to test/need to launching tasks via the default capacity provider I did a quick hack at: https://github.com/owengo/amazon-ecs-plugin in “launchType” if you choose “Default Capacity Provider” instead of “EC2” or “Fargate” the “runTask” call will not pass a launchType and so the default capacityProvider for your cluster will be used. “works for me”.

5reactions
sithmeincommented, Dec 10, 2019

I believe a minimal first step would be to make the the launchType optional (in com.cloudbees.jenkins.plugins.amazonecs.ECSService.runEcsTask). According to the latest AWS docs if you omit the launch type and the capacity provider when submitting a task the default capacity provider is chosen. So you can configure everything in ECS and simply “disable” the launch type in Jenkins. This should be a trivial change. If this is of interest I can even work on a PR for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amazon ECS capacity providers - AWS Documentation
Amazon ECS capacity providers are used to manage the infrastructure the tasks in your clusters use. Each cluster can have one or more...
Read more >
7 Useful Tips to Manage Feature Requests - Craft.io
Feature requests can provide product managers with great ideas for product improvement, but they must be managed correctly. Here are our top tips....
Read more >
Feature Request - Support - VMware
If you have a suggestion for how to improve or enhance VMware software, ... Please submit your suggestions through the Feature Request form...
Read more >
CreateCapacityProvider - Amazon Elastic Container Service
Capacity providers are associated with an Amazon ECS cluster and are used in capacity provider ... The request accepts the following data in...
Read more >
AWS re:Invent 2019 New Launch Feature Amazon ECS ...
Now with the layer of Capacity Provider, you can easily connect the two layers of ECS Cluster and ECS Service dynamically, making the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found