From b83c1e14c13b05a89524fb6ea6e94ddcca7db1c8 Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Fri, 1 Dec 2023 12:06:55 -0700 Subject: [PATCH] docs: fix documentation of client.reserved.cores (#19266) --- website/content/docs/configuration/client.mdx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/website/content/docs/configuration/client.mdx b/website/content/docs/configuration/client.mdx index 0ce3a6b6d..ccae9d12c 100644 --- a/website/content/docs/configuration/client.mdx +++ b/website/content/docs/configuration/client.mdx @@ -368,7 +368,16 @@ see the [drivers documentation](/nomad/docs/drivers). - `cpu` `(int: 0)` - Specifies the amount of CPU to reserve, in MHz. -- `cores` `(int: 0)` - Specifies the number of CPU cores to reserve. +- `cores` `(int: 0)` - Specifies the cpuset of CPU cores to reserve. Only + supported on Linux. + + ```hcl + client { + reserved { + cores = "0-4" + } + } + ``` - `memory` `(int: 0)` - Specifies the amount of memory to reserve, in MB.