Repository navigation
feat: spread Pod rollout - #5391
Conversation
|
❗ By default, the pull request is configured to backport to all release branches.
|
5cbcec7 to
f84af95
Compare
f84af95 to
39da5a8
Compare
39da5a8 to
618a429
Compare
|
/test limit=local |
|
@armru, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/10828315017 |
618a429 to
a53f36d
Compare
a53f36d to
65d8775
Compare
|
/test limit=local |
614814a to
7fd9782
Compare
|
@gbartolini, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/10959929724 |
|
/test limit=local |
|
@gbartolini, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/10970400607 |
There was a problem hiding this comment.
| It("returns zero delay for clusters rollout when not set", func() { | |
| It("returns default of zero delay for clusters rollout when not set", func() { |
There was a problem hiding this comment.
| Expect(config.GetClustersRolloutDelay()).To(Equal(0 * time.Second)) | |
| Expect(config.GetClustersRolloutDelay()).To(BeZero()) |
There was a problem hiding this comment.
| It("returns zero delay for instances rollout when not set", func() { | |
| It("returns default of zero delay for instances rollout when not set", func() { |
There was a problem hiding this comment.
| Expect(config.GetInstancesRolloutDelay()).To(Equal(0 * time.Second)) | |
| Expect(config.GetInstancesRolloutDelay()).To(BeZero()) |
This patch adds two new parameters to the operator configuration: * `CLUSTERS_ROLLOUT_DELAY`: the amount of time in seconds the operator should wait between rollouts of Pods of different clusters * `INSTANCES_ROLLOUT_DELAY`: the amount of time in seconds the operator should wait between rollouts of Pods of the same cluster Using these two parameters, the operator can be confgured to spread the rollout of new versions of PostgreSQL and of the instance manager, easing the impact of upgrading the operator or the PostgreSQL version. Closes: cloudnative-pg#5384 Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Gabriele Quaresima <[email protected]>
2b4ab88 to
7176b23
Compare
This patch adds two new parameters to the operator configuration:
CLUSTERS_ROLLOUT_DELAY: Defines the number of seconds to wait between roll-outs of Pods of different PostgreSQL clusters (default:0).INSTANCES_ROLLOUT_DELAY: Defines the number of seconds to wait between roll-outs of Pods of individual instances within the same PostgreSQL cluster (default:0).Using these two parameters, the operator can be confgured to spread the rollout of new versions of PostgreSQL and of the instance manager, easing the impact of upgrading the operator or the PostgreSQL version.
Closes: #5384