backport of commit e69e3c66776519bc5f551e18ca41ec305dc9e704 (#18310)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
This commit is contained in:
parent
e035c3d9c0
commit
4e8088dfa8
|
@ -83,8 +83,9 @@ client {
|
||||||
port assignment via [`reserved`](#reserved-parameters) parameters.
|
port assignment via [`reserved`](#reserved-parameters) parameters.
|
||||||
|
|
||||||
- `node_class` `(string: "")` - Specifies an arbitrary string used to logically
|
- `node_class` `(string: "")` - Specifies an arbitrary string used to logically
|
||||||
group client nodes by user-defined class. This can be used during job
|
group client nodes by user-defined class. This value can be used during job
|
||||||
placement as a filter.
|
placement as an [`affinity`][] or [`constraint`][] attribute and other places
|
||||||
|
where [variable interpolation][runtime_var_interpolation] is supported.
|
||||||
|
|
||||||
- `node_pool` `(string: "default")` - Specifies the node pool in which the
|
- `node_pool` `(string: "default")` - Specifies the node pool in which the
|
||||||
client is registered. If the node pool does not exist yet, it will be created
|
client is registered. If the node pool does not exist yet, it will be created
|
||||||
|
@ -714,10 +715,13 @@ client {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[`affinity`]: /nomad/docs/job-specification/affinity
|
||||||
|
[`constraint`]: /nomad/docs/job-specification/constraint
|
||||||
[plugin-options]: #plugin-options
|
[plugin-options]: #plugin-options
|
||||||
[plugin-block]: /nomad/docs/configuration/plugin
|
[plugin-block]: /nomad/docs/configuration/plugin
|
||||||
[server-join]: /nomad/docs/configuration/server_join 'Server Join'
|
[server-join]: /nomad/docs/configuration/server_join 'Server Join'
|
||||||
[metadata_constraint]: /nomad/docs/job-specification/constraint#user-specified-metadata 'Nomad User-Specified Metadata Constraint Example'
|
[metadata_constraint]: /nomad/docs/job-specification/constraint#user-specified-metadata 'Nomad User-Specified Metadata Constraint Example'
|
||||||
|
[runtime_var_interpolation]: /nomad/docs/runtime/interpolation
|
||||||
[task working directory]: /nomad/docs/runtime/environment#task-directories 'Task directories'
|
[task working directory]: /nomad/docs/runtime/environment#task-directories 'Task directories'
|
||||||
[go-sockaddr/template]: https://godoc.org/github.com/hashicorp/go-sockaddr/template
|
[go-sockaddr/template]: https://godoc.org/github.com/hashicorp/go-sockaddr/template
|
||||||
[landlock]: https://docs.kernel.org/userspace-api/landlock.html
|
[landlock]: https://docs.kernel.org/userspace-api/landlock.html
|
||||||
|
|
Loading…
Reference in New Issue