Nomad Node Pool Specification
Nomad node pools may be specified as HCL files and submitted by the nomad node
pool apply
CLI command.
Unlike Job specifications, Nomad node pool specifications do not support HCL2 features like functions.
Example node pool specification generated by nomad node pool
init
:
Example usage if the above is in a file named pool.nomad.hcl
:
Node Pool Specification Parameters
description
(string: <optional>)
- Sets a human readable description for the node pool.meta
(map[string]string: <optional>)
- Sets optional metadata on the node pool, defined as key-value pairs. The scheduler does not use node pool metadat as part of scheduling.scheduler_config
(SchedulerConfig: nil)
Enterprise - Sets scheduler configuration options specific to the node pool. If not defined, the global scheduler configurations are used.
scheduler_config
Parameters Enterprise
scheduler_algorithm
(string: <optional>)
- The scheduler algorithm used for this node pool. Must be one ofbinpack
orspread
.memory_oversubscription_enabled
(bool: <optional>)
- The memory oversubscription setting to use for this node pool.