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

Align pod requests and limits with CWL ResourceRequirements #144

Open
emmanuelmathot opened this issue Mar 22, 2023 · 0 comments
Open

Align pod requests and limits with CWL ResourceRequirements #144

emmanuelmathot opened this issue Mar 22, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@emmanuelmathot
Copy link
Collaborator

emmanuelmathot commented Mar 22, 2023

Use https://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement to set properly the Requests and limits spec of the pod container.
coresMin Minimum reserved number of CPU cores -> spec.containers[].resources.reuqests.cpu
coresMax Maximum reserved number of CPU cores -> spec.containers[].resources.limits.cpu
ramMin Minimum reserved RAM in mebibytes (2**20) -> spec.containers[].resources.reuqests.memory
ramMax Maximum reserved RAM in mebibytes (2**20) -> spec.containers[].resources.limits.memory

@emmanuelmathot emmanuelmathot added the enhancement New feature or request label Jun 19, 2023
@emmanuelmathot emmanuelmathot added this to the 0.15.0 milestone Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant