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

Backport of drivers/raw_exec: enable configuring raw_exec task to have no memory limit into release/1.7.x #19690

Merged

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #19670 to be assessed for backporting due to the inclusion of the label backport/1.7.x.

🚨

Warning automatic cherry-pick of commits failed. If the first commit failed,
you will see a blank no-op commit below. If at least one commit succeeded, you
will see the cherry-picked commits up to, not including, the commit where
the merge conflict occurred.

The person who merged in the original PR is:
@shoenig
This person should manually cherry-pick the original PR into a new backport PR,
and close this one when the manual backport PR is merged in.

merge conflict error: POST https://api.github.com/repos/hashicorp/nomad/merges: 409 Merge conflict []

The below text is copied from the body of the original PR.


This PR makes it possible to configure a raw_exec task to not have an
upper memory limit, which is how the driver would behave pre-1.7.

This is done by setting memory_max = -1. The cluster (or node pool) must
have memory oversubscription enabled.

Closes #19670

Backport to 1.7 so users can re-enable behavior from before.


Overview of commits

@hashicorp-cla
Copy link

hashicorp-cla commented Jan 9, 2024

CLA assistant check
All committers have signed the CLA.

…limit (#19670)

* drivers/raw_exec: enable configuring raw_exec task to have no memory limit

This PR makes it possible to configure a raw_exec task to not have an
upper memory limit, which is how the driver would behave pre-1.7.

This is done by setting memory_max = -1. The cluster (or node pool) must
have memory oversubscription enabled.

* cl: add cl
@shoenig shoenig force-pushed the backport/rawexec-max-memory/privately-tops-moray branch from 4649555 to 80e6ecb Compare January 11, 2024 16:51
@shoenig shoenig added this to the 1.7.x milestone Jan 11, 2024
@shoenig shoenig marked this pull request as ready for review January 11, 2024 17:12
@shoenig shoenig merged commit e05b0e8 into release/1.7.x Jan 11, 2024
19 of 20 checks passed
@shoenig shoenig deleted the backport/rawexec-max-memory/privately-tops-moray branch January 11, 2024 17:12
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.

3 participants