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

CORE-2011 Update max CPU reconciliation in DE job submissions. #275

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

Conversation

psarando
Copy link
Member

@psarando psarando commented Oct 10, 2024

Updated apps.service.apps.de.jobs.common/reconcile-container-requirements to use 0 for the max CPU request for user submissions if nothing was submitted from the client.

This will prevent the maximum CPUs set by the tool from being used in the final job submission, allowing the job services to use their own reasonable default instead (currently 4).

A similar check was added for user memory_limit requests, which will also allow job services to use their own defaults (VICE jobs will use 8Gi, for example).

Updated apps.service.apps.de.jobs.common/reconcile-container-requirements
to use 0 for the max CPU request for user submissions if nothing was
submitted from the client.

This will prevent the maximum CPUs set by the tool from being used
in the final job submission, allowing the job services to use their
own reasonable default instead (currently 4).

A similar check was added for user `memory_limit` requests,
which will also allow job services to use their own defaults
(VICE jobs will use 8Gi, for example).
@psarando psarando force-pushed the CORE-2011-fix-max-cpu-requests branch from d7b49d5 to 082c587 Compare October 10, 2024 02:57
Copy link
Member

@ianmcorvidae ianmcorvidae left a comment

Choose a reason for hiding this comment

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

looks reasonable/straightforward to me, at least!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants