Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protect Pods from disruptions during upgrades #2844

Merged
merged 14 commits into from
Jan 30, 2025

Conversation

hughcapet
Copy link
Member

Set "critical-operation" label to all postgres Pods to protect them with the second PDB during the major version upgrade

@hughcapet hughcapet added the architectural New features and architectural changes, e.g. framework changes, migrations, rollout of new services. label Jan 17, 2025
@FxKu FxKu added this to the 1.15.0 milestone Jan 17, 2025
@FxKu
Copy link
Member

FxKu commented Jan 28, 2025

Do we only set this during major version upgrades? I thought or main focus was to protect cluster bootstrap phase.

@hughcapet hughcapet force-pushed the feature/critical-operations-pdb branch from dddcd56 to a877524 Compare January 28, 2025 12:16
@hughcapet
Copy link
Member Author

@FxKu bootstrap can not be efficiency covered by operator. There will be a separate configuration in patroni to set a custom label

@hughcapet hughcapet force-pushed the feature/critical-op-upgrade branch from d7fac7b to ae6e65e Compare January 28, 2025 16:30
Base automatically changed from feature/critical-operations-pdb to master January 29, 2025 11:41
@hughcapet hughcapet marked this pull request as ready for review January 29, 2025 13:47
@hughcapet hughcapet force-pushed the feature/critical-op-upgrade branch from 3ad1f17 to 68030f3 Compare January 29, 2025 15:51
@FxKu
Copy link
Member

FxKu commented Jan 29, 2025

👍

1 similar comment
@hughcapet
Copy link
Member Author

👍

@hughcapet hughcapet merged commit c8063eb into master Jan 30, 2025
10 checks passed
@hughcapet hughcapet deleted the feature/critical-op-upgrade branch January 30, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architectural New features and architectural changes, e.g. framework changes, migrations, rollout of new services.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants