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 Sep 16, 2020
·
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:8000
# the following line is the dockerd unix socket path
# if not provided it will have default value of 'unix:///var/run/dockerd.sock'
#
DOCKERD_SOCKET_PATH=unix:///var/run/dockerd.sock
# 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 environment variables, edit them according to your calico config
#
# CALICO_LIBNETWORK_NAMESPACE=
# CALICO_LIBNETWORK_VETH_MTU=
# CALICO_LIBNETWORK_LABEL_ENDPOINTS=
# CALICO_LIBNETWORK_CREATE_PROFILES=
# CALICO_LIBNETWORK_LABEL_POLL_TIMEOUT=
# CALICO_LIBNETWORK_IFPREFIX=cali