Comments (3)
@fujiwara thanks for the quick answer I will try it out this and let you know if it works!
from ecspresso.
Ok according to AWS Go SDK documentation it's not related to LB draining, it's just going to force a new deployment even if there is no service definition changes.
https://docs.aws.amazon.com/sdk-for-go/api/service/ecs/#ECS.UpdateServiceWithContext
// Whether to force a new deployment of the service. Deployments are not forced
// by default. You can use this option to trigger a new deployment with no service
// definition changes. For example, you can update a service's tasks to use
// a newer Docker image with the same image/tag combination (my_image:latest)
// or to roll Fargate tasks onto a newer platform version.
So my question is, is there is a way to force stop of ECS tasks (running:0
) w/ this tool, w/o need to wait for LB draining to be completed successfully. This is something I would like to implement for dev and test environments.
Thanks
from ecspresso.
--force-new-deployment
only works with --skip-task-definition
actually.
If you want to replace all tasks in service without update task definition, use --skip-task-definition
and --force-new-deployment
both.
When a task definition in service is unchanged, ECS does not replace tasks in the service by default.
So my question is, is there is a way to force stop of ECS tasks (running:0) w/ this tool, w/o need to wait for LB draining to be completed successfully. This is something I would like to implement for dev and test environments.
--tasks
option is for that use case. e.g.ecspresso deploy --skip-task-definiton --tasks 0
from ecspresso.
Related Issues (20)
- verify failed when loadBalancers containerPort mismatch ELB target group's port
- ecspresso run fails without --propagate-tags flag HOT 4
- init multiple services HOT 1
- When the deployment controller type is set to CODE_DEPLOY, the wait for ECS service creation does not complete HOT 8
- cannot parse jsonnet int field with env or tfstate syntax HOT 2
- register --output flag does not work.
- SSO configuration issue
- `ecspress exec` shows STOPPED tasks HOT 2
- `ecspresso verify` cannot validate secret value when using JSON keys in AWS Secrets Manager
- `ecspresso run` doesn't fail when ECS task failed to start HOT 3
- Fix help messages of boolean options. HOT 1
- Supports awslogs-create-group: "true" on verify.
- want update Tags of ECS Services
- GitHub Actions `kayak/ecspresso@v1` failed due to v1 missing in the released list URL HOT 2
- Encountered `panic: runtime error: invalid memory address or nil pointer dereference` HOT 1
- Add a CLI flag to support a timeout HOT 6
- The order of the containers generated at initialization in ecs-task-def.json is random HOT 2
- Add the installation guide with aqua to the document
- Feature Request: Support for Key-Value Pair Extraction from AWS Secrets Manager in ecspresso HOT 2
- Unable to execute 'verify' command with private ECR image when the regions of the ECS cluster and ECR are different HOT 1
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 ecspresso.