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

adding increased-task-cpu-limit capability #3197

Merged
merged 1 commit into from
May 3, 2022
Merged

Conversation

singholt
Copy link
Contributor

@singholt singholt commented May 2, 2022

Summary

Support increased task cpu limit (>10 vCPU).

Implementation details

  1. Removed hard-coded task vCPU limit.
  2. Advertise new capability ecs.capability.increased-task-cpu-limit.
  3. Updated existing and added new unit tests to cover the changes.

Misc:
Log a warn statement if the agent's ecs.capability.task-cpu-mem-limit capability is disabled but the agent still receives a task with task-level resource limits. Currently the agent just ignores these limits without logging.

Testing

New tests cover the changes: Yes

Description for the changelog

Enhancement: Remove hard-coded task CPU limit and advertise a new capability ecs.capability.increased-task-cpu-limit.

Licensing

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

@singholt singholt merged commit be393c8 into aws:dev May 3, 2022
@chienhanlin chienhanlin mentioned this pull request May 3, 2022
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