([server_join][server-join]: nil)
- Specifies
+ how the Nomad client will connect to Nomad servers. The `start_join` field
+ is not supported on the client. The retry_join fields may directly specify
+ the server address or use go-discover syntax for auto-discovery. See the
+ documentation for more detail.
+
- `state_dir` `(string: "[data_dir]/client")` - Specifies the directory to use
to store client state. By default, this is - the top-level
[data_dir](/docs/agent/configuration/index.html#data_dir) suffixed with
@@ -307,7 +313,11 @@ cluster.
```hcl
client {
enabled = true
- servers = ["1.2.3.4:4647", "5.6.7.8:4647"]
+ server_join {
+ retry_join = [ "1.1.1.1", "2.2.2.2" ]
+ retry_max = 3
+ retry_interval = "15s"
+ }
}
```
@@ -346,3 +356,4 @@ client {
}
}
```
+[server-join]: /docs/agent/configuration/server_join.html "Server Join"
diff --git a/website/source/docs/agent/configuration/server.html.md b/website/source/docs/agent/configuration/server.html.md
index 56b5e4abcd6..6da8ab88e85 100644
--- a/website/source/docs/agent/configuration/server.html.md
+++ b/website/source/docs/agent/configuration/server.html.md
@@ -28,7 +28,11 @@ join failures, and more.
server {
enabled = true
bootstrap_expect = 3
- retry_join = ["1.2.3.4", "5.6.7.8"]
+ server_join {
+ retry_join = [ "1.1.1.1", "2.2.2.2" ]
+ retry_max = 3
+ retry_interval = "15s"
+ }
}
```
@@ -102,9 +106,9 @@ server {
second is a tradeoff as it lowers failure detection time of nodes at the
tradeoff of false positives and increased load on the leader.
-- `non_voting_server` `(bool: false)` - (Enterprise-only) Specifies whether
- this server will act as a non-voting member of the cluster to help provide
- read scalability.
+- `non_voting_server` `(bool: false)` - (Enterprise-only) Specifies whether
+ this server will act as a non-voting member of the cluster to help provide
+ read scalability.
- `num_schedulers` `(int: [num-cores])` - Specifies the number of parallel
scheduler threads to run. This can be as many as one per core, or `0` to
@@ -131,6 +135,17 @@ server {
cluster again when starting. This flag allows the previous state to be used to
rejoin the cluster.
+- `server_join` ([server_join][server-join]: nil)
- Specifies
+ how the Nomad server will connect to other Nomad servers. The `retry_join`
+ fields may directly specify the server address or use go-discover syntax for
+ auto-discovery. See the [server_join documentation][server-join] for more detail.
+
+- `upgrade_version` `(string: "")` - A custom version of the format X.Y.Z to use
+ in place of the Nomad version when custom upgrades are enabled in Autopilot.
+ For more information, see the [Autopilot Guide](/guides/cluster/autopilot.html).
+
+### Deprecated Parameters
+
- `retry_join` `(arrayPlacement | +
+ server -> **server_join**
+ + client -> **server_join**
+ |
+
---|