Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Make ETCD_ELECTION_TIMEOUT configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanying committed May 30, 2018
1 parent 8d73b43 commit 7b357b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions remora/fab/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ etcd:
cluster_ip: 10.254.0.20
bootstrap_cluster_ip: 10.254.0.30
heartbeat_interval: 100
election_timeout: 500

flannel:
version: "v0.10.0-amd64"
Expand Down
1 change: 1 addition & 0 deletions remora/scripts/etcd/render-etcd-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ spec:
- --peer-trusted-ca-file=/etc/etcd/pki/ca.crt
- --data-dir=/var/lib/etcd
- --heartbeat-interval=${ETCD_HEARTBEAT_INTERVAL}
- --election-timeout=${ETCD_ELECTION_TIMEOUT}
volumeMounts:
- mountPath: /var/lib/etcd
name: etcd
Expand Down

0 comments on commit 7b357b3

Please sign in to comment.