-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathconfig.yaml
68 lines (68 loc) · 2.76 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
options:
port:
type: int
default: 2379
description: Port to run the public ETCD service on
management_port:
type: int
default: 2380
description: Port to run the ETCD Management service
channel:
type: string
default: auto
description: "The snap channel from which to install etcd (e.g. '3.3/stable'), or 'auto'\nto accept the charm default. Choosing 'auto' will install the latest \nsupported version of etcd at deploy time, but will not automatically upgrade\nto a newer version thereafter.\n"
heartbeat_interval:
type: int
default: 100
description: |
The frequency with which the leader will notify followers that it is
still the leader. By default, etcd uses a 100ms heartbeat interval.
election_timeout:
type: int
default: 1000
description: |
How long a follower node will go without hearing a heartbeat before
attempting to become leader itself.
By default, etcd uses a 1000ms election timeout.
snapshot_count:
type: string
default: auto
description: |
Creating snapshots with the V2 backend can be expensive,
so snapshots are only created after a given number of changes to etcd.
The value could be an integer number or auto.
if auto, the channel version is checked.
Any channel grather than 3.2, use 100000 as value otherwhise 10000 is set
If etcd’s memory usage and disk usage are too high,
try lowering the snapshot threshold.
snapd_refresh:
default: "max"
type: string
description: |
How often snapd handles updates for installed snaps. Set to an empty
string to check 4x per day. Set to "max" (the default) to check once per
month based on the charm deployment date. You may also set a custom
string as described in the 'refresh.timer' section here:
https://forum.snapcraft.io/t/system-options/87
bind_to_all_interfaces:
type: boolean
default: true
description: |
The service binds to all network interfaces if true. The service binds
only to the first found bind address of each relation if false
bind_with_insecure_http:
type: boolean
default: false
description: |
The service binds to localhost:4001 with http if true. This exposes an insecure
endpoint for the service and is not recommended in production environments.
tls_cipher_suites:
type: string
default: ""
description: |
Applies to etcd 3.x+ only.
A comma-separated list of cipher suites to use for communication between
the client/server and peers. Ciphers are prioritized by the order provided.
If empty, the cipher suites will be auto-populated based on Mozilla's
"intermediate" cipher list:
https://wiki.mozilla.org/Security/Server_Side_TLS