diff --git a/remora/fab/default.yaml b/remora/fab/default.yaml index 7d9621a..5a32dcc 100644 --- a/remora/fab/default.yaml +++ b/remora/fab/default.yaml @@ -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" diff --git a/remora/scripts/etcd/render-etcd-server.sh b/remora/scripts/etcd/render-etcd-server.sh index c1e396a..a7db22d 100644 --- a/remora/scripts/etcd/render-etcd-server.sh +++ b/remora/scripts/etcd/render-etcd-server.sh @@ -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