Skip to content

Conversation

@tgross
Copy link
Member

@tgross tgross commented Jan 14, 2026

Implement driver-side support in the exec and docker drivers for resource.memory_max = -1, which allows a soft-only memory limit for clusters with oversubscription enabled. This was already allowed by the server, but undocumented and unevenly supported by drivers.

Ref: hashicorp/nomad#27354
Ref: https://hashicorp.atlassian.net/browse/NMD-911
Ref: hashicorp/web-unified-docs#1629

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

Implement driver-side support in the exec and docker drivers for
`resource.memory_max = -1`, which allows a soft-only memory limit for clusters
with oversubscription enabled. This was already allowed by the server, but
undocumented and unevenly supported by drivers.

Ref: hashicorp/nomad#27354
Ref: https://hashicorp.atlassian.net/browse/NMD-911
Ref: hashicorp/web-unified-docs#1629
@tgross tgross marked this pull request as ready for review January 14, 2026 21:25
@tgross tgross requested a review from a team as a code owner January 14, 2026 21:25
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.

1 participant