Several aspects of StorageOS behaviour can be controlled via environment variables. These can be injected in via any of the usual mechanisms such as ConfigMaps.
HOSTNAME: Hostname of the Docker node, only if you wish to override it.
ADVERTISE_IP: IP address of the Docker node, for incoming connections. Defaults to first non-loopback address.
USERNAME: Username to authenticate to the API with. Defaults to
PASSWORD: Password to authenticate to the API with. Defaults to
JOIN: A URI defining the cluster for the node to join; see cluster discovery.
DEVICE_DIR: Where the volumes are exported. This directory must be shared into the container using the rshared volume mount option. Defaults to
API_PORT: Port for the API to listen on. Defaults to
NATS_PORT: Port for NATS messaging to listen on. Defaults to
NATS_CLUSTER_PORT: Port for the NATS cluster service to listen on. Defaults to
SERF_PORT: Port for the Serf protocol to listen on. Defaults to
DFS_PORT: Port for DirectFS to listen on. Defaults to
KV_PEER_PORT: Port for the embedded Key/Value store. Defaults to
KV_CLIENT_PORT: Port for the embedded Key/Value store. Defaults to
KV_BACKEND: Type of KV store to use. Defaults to
etcdis supported with
KV_ADDRset to an external etcd instance.
KV_ADDR: Comma separated list of etcd targets, in the form host[:port]. Must be specified with
LOG_LEVEL: One of
error. Defaults to
LOG_FORMAT: Logging output format, one of
json. Defaults to
DISABLE_TELEMETRY: To disable anonymous usage reporting across the cluster, set to
true. Defaults to
false. To help improve the product, data such as API usage and StorageOS configuration information is collected.
DISABLE_ERROR_REPORTING: To disable error reporting across the cluster, set to
true. Defaults to
false. Errors are reported to help identify and resolve potential issues that may occur.