-
-
Notifications
You must be signed in to change notification settings - Fork 355
feat: allow setting container memory & cpu from task memory & cpu #169
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
Conversation
hi @marcoceppi - thanks for the PR. could you update the |
Can and will do! |
@bryantbiggs I've rebased and updated github-complete with the new values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once the two changes to the escaping in the variable names are corrected, this should be all set. validated using examples/github-complete
@antonbabenko 👍🏼
e005178
to
b14192c
Compare
b14192c
to
8ac647a
Compare
Thanks for the review @bryantbiggs I've updated the description strings and rebased on the latest in master and fixed the errors from pre-commit 0.14.7 check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me - @antonbabenko 👍🏼
Thanks @marcoceppi ! v2.33.0 has been just released. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
With the addition of #162 if a user includes extra container definitions and those definitions require CPU/Memory allocations the deployment will fail as the atlantis container definition takes the entire task cpu and memory allocation.
Motivation and Context
This allows a user to optionally fine tune the allocations of cpu and memory for the atlantis container definition. Most users won't require this feature, unless they're using
extra_container_definitions
.fixes #168
Breaking Changes
This does not break compatibility as by default the values are
null
and ifnull
they will default to theecs_task_*
definitions, as it was before this change.How Has This Been Tested?