-
Notifications
You must be signed in to change notification settings - Fork 1.4k
📖 Add the database use case for in-place updates #12403
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
📖 Add the database use case for in-place updates #12403
Conversation
Add the use case of database workloads using local storage for in-place updates. Signed-off-by: Gabriele Bartolini <[email protected]>
The committers listed above are authorized under a signed CLA. |
Welcome @gbartolini! |
Hi @gbartolini. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
I'm ok in adding this use case but it would be nice if authors of the proposal can chime in |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That’s a valid use case. Once we have an alpha implementation ready, it would be great if you could test it and share feedback on whether it fits your needs.
/lgtm
LGTM label has been added. Git tree hash: 5f4f67a8966ddd3afc92481fe33c5ae1ae53b87a
|
Sounds good. Please take a look at the cla: #12403 (comment) We can't merge without it |
Done, thanks! |
Thank you! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
As a maintainer of the CloudNativePG project (CNCF Sandbox) and a contributor to PostgreSQL, I have observed a growing demand for database workloads on bare metal within Kubernetes that use local storage on the worker nodes. High Availability and Disaster Recovery depend on application-level replication—specifically, PostgreSQL—for state synchronisation across multiple locations.
This use case would greatly benefit from the ability to perform in-place upgrades of the worker nodes, provided that the database volumes are not deleted. For instance, consider a 5-terabyte database stored on a local volume that is lost during a regular Cluster API upgrade of Kubernetes. In such cases, it may be necessary to restore the database from a backup (for single-instance clusters) or to re-clone it from the primary database, which could take hours. However, if the data volumes were left intact, the PostgreSQL instance would simply resume normal operation after the reboot.
This PR adds a section in the "Motivations" section of the proposal for in-place updates.
/area upgrades