This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Config
雾雨 edited this page May 5, 2021
·
28 revisions
- barrel.conf is the config file, and it should be placed under /etc/eru/
- Remember to modify calico enviroment variables according to your calico configs
- Remove the '#' before config item to enable config item
# ETCD endpoints addresses is required,
# you may put multiple addresses split by a comma
#
ETCD_ENDPOINTS=http://127.0.0.1:2379
# the following line is the host addresses of barrel
# multiple addresses should be split by a comma
# if you want to use default address of docker, remember to change dockerd socket config
# if not provided it will have default value of 'unix:///var/run/docker.sock'
# If you want to enable https, you should also provided with tls certs(see section #TLS certs )
#
BARREL_HOSTS=unix:///var/run/barrel.sock,http://127.0.0.1:2377
# the following line is the dockerd unix socket path
# if not provided it will have default value of 'unix:///var/run/dockerd.sock'
#
BARREL_DOCKERD_PATH=unix:///var/run/docker.sock
# the following line is the resource need to clean after container removed
# currently will clean source of mount when type = bind
# in order not to clean persistant folder, will do a prefix match
# the following sample shows when mount source = /data/rds/xxxx/xxxx will be clean
# introduced in and after 21.05.05-rc version
#
# BARREL_RESOURCE_PATH_PREFIXES=/data/biz
# If you want to enable tls, fill the fields below
#
# BARREL_TLS_CERT_FILE_PATH=/etc/docker/tls/server-cert.pem
# BARREL_TLS_KEY_FILE_PATH=/etc/docker/tls/server-key.pem
# Log level, should be DEBUG, INFO, WARN or ERROR
#
# BARREL_LOG_LEVEL=INFO
# Calico netowrk namespace, using the check namespace script to get it
#
# CALICO_LIBNETWORK_NAMESPACE=
# Other calico environment variables, edit them according to your calico config
#
# CALICO_LIBNETWORK_VETH_MTU=
# CALICO_LIBNETWORK_LABEL_ENDPOINTS=
# CALICO_LIBNETWORK_CREATE_PROFILES=
# CALICO_LIBNETWORK_LABEL_POLL_TIMEOUT=
# CALICO_LIBNETWORK_IFPREFIX=cali