Reference
Command Line
Home
/
Reference
/
Command Line
/
provisioner start

provisioner start

Run a provisioner daemon

Usage

coder provisioner start [flags]

Options

-c, --cache-dir

Typestring
Environment$CODER_CACHE_DIRECTORY
Default~/.cache/coder

Directory to store cached data.

-t, --tag

Typestring-array
Environment$CODER_PROVISIONERD_TAGS

Tags to filter provisioner jobs by.

--poll-interval

Typeduration
Environment$CODER_PROVISIONERD_POLL_INTERVAL
Default1s

Deprecated and ignored.

--poll-jitter

Typeduration
Environment$CODER_PROVISIONERD_POLL_JITTER
Default100ms

Deprecated and ignored.

--psk

Typestring
Environment$CODER_PROVISIONER_DAEMON_PSK

Pre-shared key to authenticate with Coder server.

--key

Typestring
Environment$CODER_PROVISIONER_DAEMON_KEY

Provisioner key to authenticate with Coder server.

--name

Typestring
Environment$CODER_PROVISIONER_DAEMON_NAME

Name of this provisioner daemon. Defaults to the current hostname without FQDN.

--verbose

Typebool
Environment$CODER_PROVISIONER_DAEMON_VERBOSE
Defaultfalse

Output debug-level logs.

--log-human

Typestring
Environment$CODER_PROVISIONER_DAEMON_LOGGING_HUMAN
Default/dev/stderr

Output human-readable logs to a given file.

--log-json

Typestring
Environment$CODER_PROVISIONER_DAEMON_LOGGING_JSON

Output JSON logs to a given file.

--log-stackdriver

Typestring
Environment$CODER_PROVISIONER_DAEMON_LOGGING_STACKDRIVER

Output Stackdriver compatible logs to a given file.

--log-filter

Typestring-array
Environment$CODER_PROVISIONER_DAEMON_LOG_FILTER

Filter debug logs by matching against a given regex. Use .* to match all debug logs.

--prometheus-enable

Typebool
Environment$CODER_PROMETHEUS_ENABLE
Defaultfalse

Serve prometheus metrics on the address defined by prometheus address.

--prometheus-address

Typestring
Environment$CODER_PROMETHEUS_ADDRESS
Default127.0.0.1:2112

The bind address to serve prometheus metrics.

-O, --org

Typestring
Environment$CODER_ORGANIZATION

Select which organization (uuid or name) to use.

See an opportunity to improve our docs? Make an edit.
On this page