Comments (4)
Sure, that's certainly doable. We'd have to add the toggles to the service create command as those properties are in the target group IIRC.
from fargatecli.
Adding the "Health check grace period" also would be excellent.
ecs-cli compose service --health-check-grace-period
from fargatecli.
Just want to 👍 this and clarify a few things:
- The health check that is associated specifically with the target group, and not the load balancer
- We would need to be able to define the following values:
- Protocol
- Path
- Port
- Healthy threshold
- Unhealthy threshold
- Timeout
- Interval
- Success codes
I've encountered issues with the default settings, where the path "/" returns a 302 status code, which results in instance draining continually. Being able to specify our own health check would really help in providing a more robust configuration (especially when it comes to setting up a workflow of other developers).
And of course, the grace period would be really helpful too...
Also, thanks so much for providing this tool!
from fargatecli.
We had two problems: 1) Our /
requires authentication, so it would help to be able to specify another path that is open, e.g. /health
. 2) Our service takes way too long to start so LB concluded it unhealthy before the web server had time to get up and start responding. Therefore we would need to either be able to disable health checks or, perhaps better, increase the Interval. Even better would be to be able to set the healthCheckGracePeriodSeconds
.
To set the grace period manually:
aws ecs update-service --cluster fargate --service $SERVICE_NAME --health-check-grace-period-seconds 360
Reference: https://docs.aws.amazon.com/sdk-for-go/api/service/elbv2/#CreateTargetGroupInput
from fargatecli.
Related Issues (20)
- Link to CircleCi build is broken HOT 1
- Question: Support for running multiple containers within a single task? HOT 4
- Create lb with http and https HOT 1
- On going project development & support HOT 5
- ECS Fargate support for EFS HOT 2
- Ability to stop service task by id
- fargatecli to support the China region HOT 1
- Circle CI tag at master readme does not render
- fargate service list is not show the result when it has more 20 services.
- Fargate cli not working
- Fargate CLI versus Copilot CLI? HOT 2
- Allow passing arguments to docker HOT 1
- Env variables cannot contain comma in the value HOT 1
- version 0.3.1 returning v0.3.0 with --version HOT 3
- `fargate service env set` triggers a deploy HOT 1
- service deploy deletes secrets array values
- default region cannot be changed HOT 1
- Create new release automation
- Create new documentation page HOT 1
- New install instructions needed HOT 5
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 fargatecli.