You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: vipconfig/config.go
+11-5
Original file line number
Diff line number
Diff line change
@@ -55,9 +55,9 @@ func defineFlags() {
55
55
pflag.String("trigger-key", "", "Key in the DCS to monitor, e.g. \"/service/batman/leader\".")
56
56
pflag.String("trigger-value", "", "Value to monitor for.")
57
57
58
-
pflag.String("dcs-type", "etcd", "Type of endpoint used for key storage. Supported values: etcd, consul.")
58
+
pflag.String("dcs-type", "etcd", "Type of endpoint used for key storage. Supported values: etcd, consul, patroni.")
59
59
// note: can't put a default value into dcs-endpoints as that would mess with applying default localhost when using consul
60
-
pflag.String("dcs-endpoints", "", "DCS endpoint(s), separate multiple endpoints using commas. (default \"http://127.0.0.1:2379\"or \"http://127.0.0.1:8500\" depending on dcs-type.)")
60
+
pflag.String("dcs-endpoints", "", "DCS endpoint(s), separate multiple endpoints using commas. (default \"http://127.0.0.1:2379\", \"http://127.0.0.1:8500\"or \"http://127.0.0.1:8008/\" depending on dcs-type.)")
61
61
pflag.String("etcd-user", "", "Username for etcd DCS endpoints.")
62
62
pflag.String("etcd-password", "", "Password for etcd DCS endpoints.")
63
63
pflag.String("etcd-ca-file", "", "Trusted CA certificate for the etcd server.")
Copy file name to clipboardexpand all lines: vipconfig/vip-manager.yml
+2-2
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,13 @@ interface: enp0s3 #interface to which the virtual ip will be added
15
15
# how the virtual ip should be managed. we currently support "ip addr add/remove" through shell commands or the Hetzner api
16
16
hosting-type: basic # possible values: basic, or hetzner.
17
17
18
-
dcs-type: etcd # etcdor consul
18
+
dcs-type: etcd # etcd, consul or patroni
19
19
# a list that contains all DCS endpoints to which vip-manager could talk.
20
20
dcs-endpoints:
21
21
- http://127.0.0.1:2379
22
22
- https://192.168.0.42:2379
23
23
# A single list-item is also fine.
24
-
# consul will always only use the first entry from this list.
24
+
# consul and patroni will always only use the first entry from this list.
25
25
# For consul, you'll obviously need to change the port to 8500. Unless you're using a different one. Maybe you're a rebel and are running consul on port 2379? Just to confuse people? Why would you do that? Oh, I get it.
0 commit comments