mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 15:05:50 +02:00
rename failsafe_mode option in opconfig CRD (#2298)
This commit is contained in:
@@ -334,9 +334,12 @@ explanation of `ttl` and `loop_wait` parameters.
|
||||
Patroni `synchronous_node_count` parameter value. Note, this option is only available for Spilo images with Patroni 2.0+. The default is set to `1`. Optional.
|
||||
|
||||
* **failsafe_mode**
|
||||
Patroni `failsafe_mode` parameter value. If enabled, allows Patroni to cope with DCS outages and avoid leader demotion. See the Patroni documentation
|
||||
[here](https://patroni.readthedocs.io/en/master/dcs_failsafe_mode.html) for more details. This feature is included since Patroni 3.0.0.
|
||||
Hence, check the container image in use if this feature is included in the used Patroni version. The default is set to `false`. Optional.
|
||||
Patroni `failsafe_mode` parameter value. If enabled, Patroni will cope
|
||||
with DCS outages by avoiding leader demotion. See the Patroni documentation
|
||||
[here](https://patroni.readthedocs.io/en/master/dcs_failsafe_mode.html) for more details.
|
||||
This feature is included since Patroni 3.0.0. Hence, check the container
|
||||
image in use if this feature is included in the used Patroni version. The
|
||||
default is set to `false`. Optional.
|
||||
|
||||
## Postgres container resources
|
||||
|
||||
|
||||
@@ -549,6 +549,19 @@ CRD-based configuration.
|
||||
hard memory minimum what we consider to be required to properly run Postgres
|
||||
clusters with Patroni on Kubernetes. The default is `250Mi`.
|
||||
|
||||
## Patroni options
|
||||
|
||||
Parameters configuring Patroni. In the CRD-based configuration they are grouped
|
||||
under the `patroni` key.
|
||||
|
||||
* **enable_patroni_failsafe_mode**
|
||||
If enabled, Patroni copes with DCS outages by avoiding leader demotion.
|
||||
See the Patroni documentation [here](https://patroni.readthedocs.io/en/master/dcs_failsafe_mode.html) for more details.
|
||||
This feature is included since Patroni 3.0.0. Hence, check the container image
|
||||
in use if this feature is included in the used Patroni version. It can also be
|
||||
enabled cluster-wise with the `failsafe_mode` flag under the `patroni` section
|
||||
in the manifest. The default for the global config option is set to `false`.
|
||||
|
||||
## Operator timeouts
|
||||
|
||||
This set of parameters define various timeouts related to some operator
|
||||
|
||||
Reference in New Issue
Block a user