Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make create container timeout configurable #2781

Merged
merged 1 commit into from
Jan 6, 2021
Merged

Make create container timeout configurable #2781

merged 1 commit into from
Jan 6, 2021

Conversation

shubham2892
Copy link
Contributor

@shubham2892 shubham2892 commented Jan 4, 2021

Summary

Make CreateContainerTimeout configurable with a default value of 4 mins.

Implementation details

Testing

New tests cover the changes: yes

Description for the changelog

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@shubham2892 shubham2892 requested a review from a team January 4, 2021 22:49
@shubham2892 shubham2892 marked this pull request as ready for review January 4, 2021 22:49
@shubham2892 shubham2892 added this to the 1.49.0 milestone Jan 4, 2021
@shubham2892 shubham2892 changed the title Nake create container timeout configurable Make create container timeout configurable Jan 4, 2021
README.md Outdated
@@ -150,6 +151,7 @@ additional details on each available environment variable.
| `ECS_ENGINE_TASK_CLEANUP_WAIT_DURATION` | 10m | Time to wait to delete containers for a stopped task. If set to less than 1 minute, the value is ignored. | 3h | 3h |
| `ECS_CONTAINER_STOP_TIMEOUT` | 10m | Instance scoped configuration for time to wait for the container to exit normally before being forcibly killed. | 30s | 30s |
| `ECS_CONTAINER_START_TIMEOUT` | 10m | Timeout before giving up on starting a container. | 3m | 8m |
| `ECS_CONTAINER_CREATE_TIMEOUT` | 10m | Timeout before giving up on creating a container. | 4m | 4m |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should mention here what minimum timeout is. Also, it would be helpful if there was a paragraph somewhere explaining how to find best value for use cases

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mssrivas Unfortunately this will depend on the use case of the customer, for most customers default will be a good value.

README.md Outdated Show resolved Hide resolved
@shubham2892 shubham2892 merged commit 8587a9b into aws:dev Jan 6, 2021
@shubham2892 shubham2892 deleted the config_createcontainer_timeout branch January 6, 2021 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants