cloudnative-pg icon indicating copy to clipboard operation
cloudnative-pg copied to clipboard

feat: spread Pod rollout

Open leonardoce opened this issue 1 year ago • 1 comments

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: #5384

leonardoce avatar Aug 28 '24 10:08 leonardoce

:exclamation: By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested :arrow_backward: or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

github-actions[bot] avatar Aug 28 '24 10:08 github-actions[bot]

/test limit=local

armru avatar Sep 12 '24 09:09 armru

@armru, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/10828315017

github-actions[bot] avatar Sep 12 '24 09:09 github-actions[bot]

/test limit=local

gbartolini avatar Sep 20 '24 13:09 gbartolini

@gbartolini, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/10959929724

github-actions[bot] avatar Sep 20 '24 13:09 github-actions[bot]

/test limit=local

gbartolini avatar Sep 21 '24 06:09 gbartolini

@gbartolini, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/10970400607

github-actions[bot] avatar Sep 21 '24 06:09 github-actions[bot]