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:
Alexander Kukushkin
2023-10-23 10:03:18 +02:00
committed by GitHub
parent 6cfd90401e
commit 6d98944e73
3 changed files with 18 additions and 6 deletions
+6 -2
View File
@@ -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
View File
@@ -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
View File
@@ -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