An open API service indexing awesome lists of open source software.

https://github.com/abicky/ecswrap

A wrappper program which resolves termination order of ECS containers
https://github.com/abicky/ecswrap

Last synced: about 1 year ago
JSON representation

A wrappper program which resolves termination order of ECS containers

Awesome Lists containing this project

README

          

# ecswrap

`ecswrap` is a wrappper program for ECS containers and resolves termination order (cf. [amazon-ecs-agent#474](https://github.com/aws/amazon-ecs-agent/issues/474)) by specifying linked containers as a command line option or an environment variable.

Enhanced container dependency management was introduced in ecs-agent 1.26.0, so you can use it instead of `ecswrap`.

See [Amazon ECS Introduces Enhanced Container Dependency Management](https://aws.amazon.com/about-aws/whats-new/2019/03/amazon-ecs-introduces-enhanced-container-dependency-management/) for more details.

## Usage

```
Usage:
ecswrap [OPTIONS] -- COMMAND [ARGS]

Application Options:
--stop-wait-timeout= Maximum time duration in seconds to wait from when the process receives SIGTERM before sending SIGTERM to the child. This value should be less than
ECS_CONTAINER_STOP_TIMEOUT. (default: 10) [$ECSWRAP_STOP_WAIT_TIMEOUT]
--linked-container= container names linked with the container where this program is running. [$ECSWRAP_LINKED_CONTAINERS]
--signal-forwarding-delay= Delay seconds until forwarding a signal, which is SIGTERM, SIGQUIT or SIGINT,to child processes. (default: 0) [$ECSWRAP_SIGNAL_FORWARDING_DELAY]
-v, --verbose Verbosity

Help Options:
-h, --help Show this help message
```

## Example

See [example](example).

## Author

Takeshi Arabiki (abicky)