mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
The value for the executor cgroup CPU weight must be within the limits imposed by the Linux kernel. Nomad used the task `resource.cpu`, an unbounded value, directly as the cgroup CPU weight, causing it to potentially go outside the imposed values. This commit clamps the CPU shares values to be within the limits allowed. Co-authored-by: Tim Gross <tgross@hashicorp.com>
4 lines
93 B
Plaintext
4 lines
93 B
Plaintext
```release-note:bug
|
|
client: Ensure the value for CPU shares are within the allowed range
|
|
```
|