open-nomad/website/content/partials
Seth Hoenig 0870aa31dc client: set environment variable indicating set of reserved cpu cores
This PR injects the 'NOMAD_CPU_CORES' environment variable into
tasks that have been allocated reserved cpu cores. The value uses
normal cpuset notation, as found in cpuset.cpu cgroup interface files.

Note this value is not necessiarly the same as the content of the actual
cpuset.cpus interface file, which will also include shared cpu cores when
using cgroups v2. This variable is a workaround for users who used to be
able to read the reserved cgroup cpuset file, but lose the information
about distinct reserved cores when using cgroups v2.

Side discussion in: https://github.com/hashicorp/nomad/issues/12374
2022-04-07 09:09:35 -05:00
..
envvars.mdx client: set environment variable indicating set of reserved cpu cores 2022-04-07 09:09:35 -05:00
general_options.mdx docs: add note and example of storing nomad job plan index to disk (#11377) 2021-10-26 20:25:22 -04:00
general_options_no_namespace.mdx Fix typo in documentation 2021-10-29 03:31:53 +03:00