We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f6dfcc7 + ce220ab commit 55f53acCopy full SHA for 55f53ac
1 file changed
contrib/coreos/user-data
@@ -7,10 +7,16 @@ coreos:
7
# discovery: https://discovery.etcd.io/12345693838asdfasfadf13939923
8
addr: $private_ipv4:4001
9
peer-addr: $private_ipv4:7001
10
+ # give etcd more time if it's under heavy load - prevent leader election thrashing
11
+ peer-election-timeout: 2000
12
+ # heartbeat interval should ideally be 1/4 or 1/5 of peer election timeout, but that's a long time...
13
+ peer-heartbeat-interval: 200
14
fleet:
15
# We have to set the public_ip here so this works on Vagrant -- otherwise, Vagrant VMs
16
# will all publish the same private IP. This is harmless for cloud providers.
17
public_ip: $private_ipv4
18
+ # allow etcd to slow down at times
19
+ etcd_request_timeout: 3
20
units:
21
- name: etcd.service
22
command: start
0 commit comments