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

feat: add parameters for cpu quota handling #608

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

janLo
Copy link

@janLo janLo commented Mar 11, 2024

This exposes the options cpu_period and cpu_quota to the terraform docker_container resource and adds the convenience parameter cpus as it is used by the docker cli.

See https://docs.docker.com/config/containers/resource_constraints/#configure-the-default-cfs-scheduler for upstream details

This exposes the options cpu_period and cpu_quota to the terraform
docker_container resource and adds the convenience parameter
`cpus` as it is used by the docker cli.
@janLo
Copy link
Author

janLo commented Mar 12, 2024

I've just realized, that #575 does a similar thing.

@enc
Copy link
Contributor

enc commented May 8, 2024

Do you like in integrate the changes from #575 I think this would be great and I would love to merge it.

@janLo
Copy link
Author

janLo commented May 8, 2024

I'm happy to make changes but I think I don't completely get what you meant.

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.

None yet

2 participants