Skip to content

Latest commit

 

History

History
169 lines (116 loc) · 5.74 KB

start.md

File metadata and controls

169 lines (116 loc) · 5.74 KB
title `coder provisioner start`
description Run a provisioner daemon.

Run a provisioner daemon

Usage

coder provisioner start [flags]

Options

-c, --cache-dir

Property Value
Type string
Environment $CODER_CACHE_DIRECTORY
Default ~/.cache/coder

Directory to store cached data.

-t, --tag

Property Value
Type string-array
Environment $CODER_PROVISIONERD_TAGS

Tags to filter provisioner jobs by.

--poll-interval

Property Value
Type duration
Environment $CODER_PROVISIONERD_POLL_INTERVAL
Default 1s

Deprecated and ignored.

--poll-jitter

Property Value
Type duration
Environment $CODER_PROVISIONERD_POLL_JITTER
Default 100ms

Deprecated and ignored.

--psk

Property Value
Type string
Environment $CODER_PROVISIONER_DAEMON_PSK

Pre-shared key to authenticate with Coder server.

--key

Property Value
Type string
Environment $CODER_PROVISIONER_DAEMON_KEY

Provisioner key to authenticate with Coder server.

--name

Property Value
Type string
Environment $CODER_PROVISIONER_DAEMON_NAME

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

--verbose

Property Value
Type bool
Environment $CODER_PROVISIONER_DAEMON_VERBOSE
Default false

Output debug-level logs.

--log-human

Property Value
Type string
Environment $CODER_PROVISIONER_DAEMON_LOGGING_HUMAN
Default /dev/stderr

Output human-readable logs to a given file.

--log-json

Property Value
Type string
Environment $CODER_PROVISIONER_DAEMON_LOGGING_JSON

Output JSON logs to a given file.

--log-stackdriver

Property Value
Type string
Environment $CODER_PROVISIONER_DAEMON_LOGGING_STACKDRIVER

Output Stackdriver compatible logs to a given file.

--log-filter

Property Value
Type string-array
Environment $CODER_PROVISIONER_DAEMON_LOG_FILTER

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

--prometheus-enable

Property Value
Type bool
Environment $CODER_PROMETHEUS_ENABLE
Default false

Serve prometheus metrics on the address defined by prometheus address.

--prometheus-address

Property Value
Type string
Environment $CODER_PROMETHEUS_ADDRESS
Default 127.0.0.1:2112

The bind address to serve prometheus metrics.

--experiments

Property Value
Type string-array
Environment $CODER_EXPERIMENTS
YAML experiments

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.

-O, --org

Property Value
Type string
Environment $CODER_ORGANIZATION

Select which organization (uuid or name) to use.