-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml
33 lines (33 loc) · 962 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Backend type
backend: etcdv3
# Set log level: debug|info|warning
log_level: debug
pid_file: /var/run/metad.pid
# X-Forwarded-For header support"
xff: true
# Default backend key prefix
prefix: /users/uid1
# Only support self metadata query
only_self: false
# The metad's group name, same group share same mapping config from backend.
group: default
# Address to listen to (TCP)
listen: :9180
# Address to listen to for manage requests (TCP)
listen_manage: 127.0.0.1:9611
# Use Basic Auth to authenticate (only used with -backend=etcd)
basic_auth: true
# The client ca keys
client_ca_keys: /opt/metad/client_ca_keys
# The client cert
client_cert: /opt/metad/client_cert
# The client key
client_key: /opt/metad/client_key
# List of backend nodes
nodes:
- 192.168.11.1:2379
- 192.168.11.2:2379
# The username to authenticate as (only used with etcd backends)
username: username
# The password to authenticate with (only used with etcd backends)
password: password