postgres-operator/pkg
Igor Yanchenko ebb3204cdd
restart instances via rest api instead of recreating pods, fixes bug with being unable to decrease some values, like max_connections (#1103)
* restart instances via rest api instead of recreating pods
* Ignore differences in bootstrap.dcs when compare SPILO_CONFIGURATION
* isBootstrapOnlyParameter is rewritten, instead of whitelist it uses blacklist
* added e2e test for max_connections decreasing
* documentation updated
* pending_restart flag added to restart api call, wait fot ttl seconds after restart
* refactoring, /restart returns error if pending_restart is set to true and patroni is not pending restart
* restart postgresql instances within pods only if pod's restart is not required
* patroni might need to restart postgresql after pods were recreated if values like max_connections decreased
* instancesRestart is not critical, try to restart pods if not successful
* cleanup

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2021-06-14 11:00:58 +02:00
..
apis/acid.zalan.do Create cross namespace secrets (#1490) 2021-06-11 10:35:30 +02:00
apiserver reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
cluster restart instances via rest api instead of recreating pods, fixes bug with being unable to decrease some values, like max_connections (#1103) 2021-06-14 11:00:58 +02:00
controller bump operator to v1.6.3 (#1503) 2021-05-28 11:53:10 +02:00
generated update year in generated code and maintainer info in Dockerfiles (#1298) 2021-01-08 17:07:28 +01:00
spec Create cross namespace secrets (#1490) 2021-06-11 10:35:30 +02:00
teams Rename roles that are removed from PostgresTeam CRD (#1457) 2021-05-21 15:49:39 +02:00
util restart instances via rest api instead of recreating pods, fixes bug with being unable to decrease some values, like max_connections (#1103) 2021-06-14 11:00:58 +02:00