Advanced Agent Configuration

agent.sh ArgumentEnvironment VariableDescription
-aSTEADYBIT_AGENT_KEYThe API key the agent uses
Example: foobar
-eSTEADYBIT_AGENT_REGISTER_URLThe baseUrl where the agent registers.
Default: https://platform.steadybit.io
-iSTEADYBIT_AGENT_DOCKER_IMAGEThe Agent Docker image to use.
Default: docker.steadybit.io/steadybit/agent:latest
-rSTEADYBIT_DOCKER_REGISTRYThe Agent Docker registry to use.
Default: docker.steadybit.io
-uSTEADYBIT_DOCKER_REGISTRY_USERUser for authenticating against the Docker Registry.
Default: _
-pSTEADYBIT_DOCKER_REGISTRY_PASSWORDPassword for authenticating against the Docker Registry.
Default: STEADYBIT_AGENT_KEY
-bSTEADYBIT_DOWNLOAD_USERThe User to authenticate with the feature repository
Default: _
-cSTEADYBIT_DOWNLOAD_PASSWORDThe Password to authenticate with the feature repository
Default: STEADYBIT_AGENT_KEY
-lSTEADYBIT_LOG_LEVELSets the loglevel for the com.steadybit logger
Default: INFO
STEADYBIT_ROOT_LOG_LEVELSets the loglevel for the root logger
Default: ERROR
STEADYBIT_LOG_CONSOLESets the loglevel threshold for the console logger
Default: ALL
STEADYBIT_LOG_FORMATSets the log format for the console logger (json or text)
Default: text
STEADYBIT_AGENT_REGISTER_TIMEOUTTimeout for the registration request.
Default: 5s
STEADYBIT_AGENT_REGISTER_INTERVALThe interval how often the agent registers at the platform.
Default: 5s
STEADYBIT_AGENT_EXPERIMENT_TIMEOUTTimeout for the request to connect to an experiment.
Default: 5s
STEADYBIT_AGENT_EXPERIMENT_KEEP_ALIVE_INTERVALInterval how often a keep alive is sent during an experiment.
Default: 5s
STEADYBIT_AGENT_EXPERIMENT_KEEP_ALIVE_TIMEOUTTimeout for a keep alive during an experiment
Default: 5s
STEADYBIT_AGENT_EXPERIMENT_KEEP_ALIVE_MISSED_ACKSMax. Number of missed acknowledgements during an experiment.
Default: 3
STEADYBIT_AGENT_DISCOVERY_INTERVALThe interval of often the agent runs the discovery.
Default: 30s
STEADYBIT_AGENT_DISCOVERY_TIMEOUTTimeout for the discovery.
Default: 10s
STEADYBIT_AGENT_GZIP_ENABLEDThe interval of often the agent runs the discovery.
Default: true
STEADYBIT_DOCKER_SOCKETDocker Socket to connect to.
Default: /var/run/docker.sock
STEADYBIT_DISCOVERY_ENV_LISTList of environment variables to inlude in the discovery
Example: STEADYBIT_DISCOVERY_ENV_LIST=STAGE,REGION
STEADYBIT_LABEL_*All env vars with this prefix will be added as label
Example: STEADYBIT_LABEL_STAGE=test
STEADYBIT_FEATURES_UPDATE_INTERVALUpdate Interval for Features
Default: PT6H (6 Hours)
STEADYBIT_AGENT_AWS_EC2_METADATA_URLAWS EC2 Metadata URL
Default: http://169.254.169.254/latest/
-mSTEADYBIT_MVN_REPOSITORIESsteadybit Maven feature repositories
Default: https://artifacts.steadybit.io/repository/features-public@id=steadybit-features@snapshots@snapshotsUpdate=always,https://artifacts.steadybit.io/repository/releases-public@id=steadybit-releases@snapshots@snapshotsUpdate=always,https://repo1.maven.org/maven2@id=central
STEADYBIT_HTTP_ENDPOINT_PORTHTTP endpoint port for the health check url
Default: 42999
Need Help? Get in touch with us© steadybit. All rights reserved.