You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
939 B
31 lines
939 B
## |
|
## etcd.conf -- etcd(8) startup configuration options |
|
## |
|
|
|
name: "peer1" |
|
|
|
data-dir: "@l_prefix@/var/etcd/data" |
|
wal-dir: "@l_prefix@/var/etcd/wal" |
|
snapshot-count: 10000 |
|
max-snapshots: 5 |
|
max-wals: 5 |
|
|
|
listen-client-urls: "http://127.0.0.1:2379" |
|
advertise-client-urls: "http://127.0.0.1:2379" |
|
enable-v2: true |
|
|
|
listen-peer-urls: "http://127.0.0.1:2380" |
|
initial-advertise-peer-urls: "http://127.0.0.1:2380" |
|
|
|
initial-cluster: "peer1=http://127.0.0.1:2380" |
|
initial-cluster-state: "new" |
|
initial-cluster-token: "example-cluster" |
|
force-new-cluster: false |
|
|
|
heartbeat-interval: 100 |
|
election-timeout: 1000 |
|
|
|
logger: zap |
|
log-outputs: [ "@l_prefix@/var/etcd/log/etcd.log" ] |
|
debug: false |
|
|
|
|