diff --git a/website/source/docs/agent/config.html.md b/website/source/docs/agent/config.html.md index c45699034..3cb98c0e8 100644 --- a/website/source/docs/agent/config.html.md +++ b/website/source/docs/agent/config.html.md @@ -177,6 +177,21 @@ configured on client nodes. "1.5h" or "25m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Controls how long a node must be in a terminal state before it is garbage collected and purged from the system. + * `rejoin_after_leave` When provided, Nomad will ignore a previous leave and + attempt to rejoin the cluster when starting. By default, Nomad treats leave + as a permanent intent and does not attempt to join the cluster again when + starting. This flag allows the previous state to be used to rejoin the + cluster. + * `retry_join` Similar to [`start_join`](#_start_join) but allows retrying a join + if the first attempt fails. This is useful for cases where we know the + address will become available eventually. + * `retry_interval` The time to wait between join attempts. Defaults to 30s. + * `retry_max` The maximum number of join attempts to be made before exiting + with a return code of 1. By default, this is set to 0 which is interpreted + as infinite retries. + * `start_join` An array of strings specifying addresses of nodes to join upon startup. + If Nomad is unable to join with any of the specified addresses, agent startup will + fail. By default, the agent won't join any nodes when it starts up. ## Client-specific Options @@ -301,6 +316,8 @@ via CLI arguments. The `agent` command accepts the following arguments: * `-dev`: Start the agent in development mode. This enables a pre-configured dual-role agent (client + server) which is useful for developing or testing Nomad. No other configuration is required to start the agent in this mode. +* `-join=
`: Address of another agent to join upon starting up. This can + be specified multiple times to specify multiple agents to join. * `-log-level=