Skip to content

Commit

Permalink
docs: add node_pool_config to namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Jul 25, 2023
1 parent 3bba16f commit 11f1fc1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions website/docs/r/namespace.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ The following arguments are supported:
- `description` `(string: "")` - A description of the namespace.
- `quota` `(string: "")` - A resource quota to attach to the namespace.
- `meta` `(map[string]string: <optional>)` - Specifies arbitrary KV metadata to associate with the namespace.
- `capabilities` `(block: <optional>)` - A block of capabilities for the namespace. Can't
- `capabilities` `(block: <optional>)` - A block of capabilities for the namespace. Can't
be repeated. See below for the structure of this block.
- `node_pool_config` `(block: <optional>)` - A block with node pool configuration for the namespace (Nomad Enterprise only).


### `capabilities` blocks
Expand All @@ -73,4 +74,13 @@ The `capabilities` block describes the capabilities of the namespace. It support
the following arguments:

- `enabled_task_drivers` `([]string: <optional>)` - Task drivers enabled for the namespace.
- `disabled_task_drivers` `([]string: <optional>)` - Task drivers disabled for the namespace.
- `disabled_task_drivers` `([]string: <optional>)` - Task drivers disabled for the namespace.

### `node_pool_config` blocks

The `node_pool_config` block describes the node pool configuration for the
namespace.

- `default` `(string: <optional>)` - The default node pool for jobs that don't define one.
- `allowed` `([]string: <optional>)` - The list of node pools that are allowed to be used in this namespace.
- `denied` `([]string: <optional>)` - The list of node pools that are not allowed to be used in this namespace.

0 comments on commit 11f1fc1

Please sign in to comment.