mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Add warning to the sample config about bootstrap section (#2925)
often people are trying to change it and coming with the questions why it doesn't work.
This commit is contained in:
+6
-2
@@ -43,9 +43,13 @@ etcd:
|
|||||||
# - 127.0.0.1:2223
|
# - 127.0.0.1:2223
|
||||||
# - 127.0.0.1:2224
|
# - 127.0.0.1:2224
|
||||||
|
|
||||||
|
# The bootstrap configuration. Works only when the cluster is not yet initialized.
|
||||||
|
# If the cluster is already initialized, all changes in the `bootstrap` section are ignored!
|
||||||
bootstrap:
|
bootstrap:
|
||||||
# this section will be written into Etcd:/<namespace>/<scope>/config after initializing new cluster
|
# This section will be written into Etcd:/<namespace>/<scope>/config after initializing new cluster
|
||||||
# and all other cluster members will use it as a `global configuration`
|
# and all other cluster members will use it as a `global configuration`.
|
||||||
|
# WARNING! If you want to change any of the parameters that were set up
|
||||||
|
# via `bootstrap.dcs` section, please use `patronictl edit-config`!
|
||||||
dcs:
|
dcs:
|
||||||
ttl: 30
|
ttl: 30
|
||||||
loop_wait: 10
|
loop_wait: 10
|
||||||
|
|||||||
+6
-2
@@ -43,9 +43,13 @@ etcd:
|
|||||||
# - 127.0.0.1:2222
|
# - 127.0.0.1:2222
|
||||||
# - 127.0.0.1:2224
|
# - 127.0.0.1:2224
|
||||||
|
|
||||||
|
# The bootstrap configuration. Works only when the cluster is not yet initialized.
|
||||||
|
# If the cluster is already initialized, all changes in the `bootstrap` section are ignored!
|
||||||
bootstrap:
|
bootstrap:
|
||||||
# this section will be written into Etcd:/<namespace>/<scope>/config after initializing new cluster
|
# This section will be written into Etcd:/<namespace>/<scope>/config after initializing new cluster
|
||||||
# and all other cluster members will use it as a `global configuration`
|
# and all other cluster members will use it as a `global configuration`.
|
||||||
|
# WARNING! If you want to change any of the parameters that were set up
|
||||||
|
# via `bootstrap.dcs` section, please use `patronictl edit-config`!
|
||||||
dcs:
|
dcs:
|
||||||
ttl: 30
|
ttl: 30
|
||||||
loop_wait: 10
|
loop_wait: 10
|
||||||
|
|||||||
+6
-2
@@ -43,9 +43,13 @@ etcd:
|
|||||||
# - 127.0.0.1:2222
|
# - 127.0.0.1:2222
|
||||||
# - 127.0.0.1:2223
|
# - 127.0.0.1:2223
|
||||||
|
|
||||||
|
# The bootstrap configuration. Works only when the cluster is not yet initialized.
|
||||||
|
# If the cluster is already initialized, all changes in the `bootstrap` section are ignored!
|
||||||
bootstrap:
|
bootstrap:
|
||||||
# this section will be written into Etcd:/<namespace>/<scope>/config after initializing new cluster
|
# This section will be written into Etcd:/<namespace>/<scope>/config after initializing new cluster
|
||||||
# and all other cluster members will use it as a `global configuration`
|
# and all other cluster members will use it as a `global configuration`.
|
||||||
|
# WARNING! If you want to change any of the parameters that were set up
|
||||||
|
# via `bootstrap.dcs` section, please use `patronictl edit-config`!
|
||||||
dcs:
|
dcs:
|
||||||
ttl: 30
|
ttl: 30
|
||||||
loop_wait: 10
|
loop_wait: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user