2023-03-23 17:42:20 -05:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
2024-09-27 11:34:41 -04:00
# provisioner start
2023-03-23 17:42:20 -05:00
Run a provisioner daemon
## Usage
```console
2024-09-27 11:34:41 -04:00
coder provisioner start [flags]
2023-03-23 17:42:20 -05:00
```
## Options
### -c, --cache-dir
| | |
2025-01-03 18:12:59 +05:00
|-------------|-------------------------------------|
2023-03-23 17:42:20 -05:00
| Type | <code>string</code> |
| Environment | <code>$CODER_CACHE_DIRECTORY</code> |
| Default | <code>~/.cache/coder</code> |
Directory to store cached data.
2024-03-15 11:24:38 -05:00
### -t, --tag
2023-12-19 16:49:50 +00:00
2024-03-15 11:24:38 -05:00
| | |
2025-01-03 18:12:59 +05:00
|-------------|---------------------------------------|
2024-03-15 11:24:38 -05:00
| Type | <code>string-array</code> |
| Environment | <code>$CODER_PROVISIONERD_TAGS</code> |
2023-12-19 16:49:50 +00:00
2024-03-15 11:24:38 -05:00
Tags to filter provisioner jobs by.
### --poll-interval
| | |
2025-01-03 18:12:59 +05:00
|-------------|------------------------------------------------|
2024-03-15 11:24:38 -05:00
| Type | <code>duration</code> |
| Environment | <code>$CODER_PROVISIONERD_POLL_INTERVAL</code> |
| Default | <code>1s</code> |
Deprecated and ignored.
### --poll-jitter
| | |
2025-01-03 18:12:59 +05:00
|-------------|----------------------------------------------|
2024-03-15 11:24:38 -05:00
| Type | <code>duration</code> |
| Environment | <code>$CODER_PROVISIONERD_POLL_JITTER</code> |
| Default | <code>100ms</code> |
Deprecated and ignored.
### --psk
| | |
2025-01-03 18:12:59 +05:00
|-------------|--------------------------------------------|
2024-03-15 11:24:38 -05:00
| Type | <code>string</code> |
| Environment | <code>$CODER_PROVISIONER_DAEMON_PSK</code> |
Pre-shared key to authenticate with Coder server.
2024-09-27 11:34:41 -04:00
### --key
| | |
2025-01-03 18:12:59 +05:00
|-------------|--------------------------------------------|
2024-09-27 11:34:41 -04:00
| Type | <code>string</code> |
| Environment | <code>$CODER_PROVISIONER_DAEMON_KEY</code> |
Provisioner key to authenticate with Coder server.
2024-03-15 11:24:38 -05:00
### --name
| | |
2025-01-03 18:12:59 +05:00
|-------------|---------------------------------------------|
2024-03-15 11:24:38 -05:00
| Type | <code>string</code> |
| Environment | <code>$CODER_PROVISIONER_DAEMON_NAME</code> |
Name of this provisioner daemon. Defaults to the current hostname without FQDN.
### --verbose
| | |
2025-01-03 18:12:59 +05:00
|-------------|------------------------------------------------|
2024-03-15 11:24:38 -05:00
| Type | <code>bool</code> |
| Environment | <code>$CODER_PROVISIONER_DAEMON_VERBOSE</code> |
| Default | <code>false</code> |
Output debug-level logs.
2023-12-19 16:49:50 +00:00
### --log-human
| | |
2025-01-03 18:12:59 +05:00
|-------------|------------------------------------------------------|
2023-12-19 16:49:50 +00:00
| Type | <code>string</code> |
| Environment | <code>$CODER_PROVISIONER_DAEMON_LOGGING_HUMAN</code> |
| Default | <code>/dev/stderr</code> |
Output human-readable logs to a given file.
### --log-json
| | |
2025-01-03 18:12:59 +05:00
|-------------|-----------------------------------------------------|
2023-12-19 16:49:50 +00:00
| Type | <code>string</code> |
| Environment | <code>$CODER_PROVISIONER_DAEMON_LOGGING_JSON</code> |
Output JSON logs to a given file.
### --log-stackdriver
| | |
2025-01-03 18:12:59 +05:00
|-------------|------------------------------------------------------------|
2023-12-19 16:49:50 +00:00
| Type | <code>string</code> |
| Environment | <code>$CODER_PROVISIONER_DAEMON_LOGGING_STACKDRIVER</code> |
Output Stackdriver compatible logs to a given file.
2024-03-15 11:24:38 -05:00
### --log-filter
2023-12-07 16:59:13 +00:00
2024-03-15 11:24:38 -05:00
| | |
2025-01-03 18:12:59 +05:00
|-------------|---------------------------------------------------|
2024-03-15 11:24:38 -05:00
| Type | <code>string-array</code> |
| Environment | <code>$CODER_PROVISIONER_DAEMON_LOG_FILTER</code> |
2023-12-07 16:59:13 +00:00
2025-01-03 18:12:59 +05:00
Filter debug logs by matching against a given regex. Use .* to match all debug logs.
2024-02-28 09:21:56 +01:00
2024-02-28 17:58:03 +01:00
### --prometheus-enable
| | |
2025-01-03 18:12:59 +05:00
|-------------|---------------------------------------|
2024-02-28 17:58:03 +01:00
| Type | <code>bool</code> |
| Environment | <code>$CODER_PROMETHEUS_ENABLE</code> |
| Default | <code>false</code> |
Serve prometheus metrics on the address defined by prometheus address.
2024-03-15 11:24:38 -05:00
### --prometheus-address
2023-08-04 12:32:28 +04:00
2024-03-15 11:24:38 -05:00
| | |
2025-01-03 18:12:59 +05:00
|-------------|----------------------------------------|
2024-03-15 11:24:38 -05:00
| Type | <code>string</code> |
| Environment | <code>$CODER_PROMETHEUS_ADDRESS</code> |
| Default | <code>127.0.0.1:2112</code> |
2023-08-04 12:32:28 +04:00
2024-03-15 11:24:38 -05:00
The bind address to serve prometheus metrics.
2024-07-18 15:43:07 -04:00
2025-11-12 14:26:15 -06:00
### --experiments
| | |
|-------------|---------------------------------|
| Type | <code>string-array</code> |
| Environment | <code>$CODER_EXPERIMENTS</code> |
| YAML | <code>experiments</code> |
Enable one or more experiments. These are not ready for production. Separate multiple experiments with commas, or enter '*' to opt-in to all available experiments.
2024-07-18 15:43:07 -04:00
### -O, --org
| | |
2025-01-03 18:12:59 +05:00
|-------------|----------------------------------|
2024-07-18 15:43:07 -04:00
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.