name: kv-node-1
data-dir: /var/lib/etcd
wal-dir: /var/lib/etcd/wal

listen-peer-urls: https://0.0.0.0:2380
listen-client-urls: https://0.0.0.0:2379
advertise-client-urls: https://kv-node-1.internal.example.com:2379
initial-advertise-peer-urls: https://kv-node-1.internal.example.com:2380

initial-cluster: kv-node-1=https://kv-node-1.internal.example.com:2380,kv-node-2=https://kv-node-2.internal.example.com:2380,kv-node-3=https://kv-node-3.internal.example.com:2380
initial-cluster-token: production-kv-cluster
initial-cluster-state: new

snapshot-count: 10000
heartbeat-interval: 100
election-timeout: 1000
quota-backend-bytes: 8589934592
max-request-bytes: 1572864
auto-compaction-mode: periodic
auto-compaction-retention: "1h"

client-transport-security:
  cert-file: /etc/etcd/tls/server.crt
  key-file: /etc/etcd/tls/server.key
  client-cert-auth: true
  trusted-ca-file: /etc/etcd/tls/ca.crt
  auto-tls: false

peer-transport-security:
  cert-file: /etc/etcd/tls/peer.crt
  key-file: /etc/etcd/tls/peer.key
  client-cert-auth: true
  trusted-ca-file: /etc/etcd/tls/ca.crt
  auto-tls: false

log-level: info
logger: zap
log-outputs:
  - /var/log/etcd/etcd.log
  - stderr

enable-pprof: false
metrics: extensive
listen-metrics-urls: http://127.0.0.1:2381

strict-reconfig-check: true
pre-vote: true
force-new-cluster: false