-
Notifications
You must be signed in to change notification settings - Fork 202
K8SPXC-1688 support adding existing pvcs to pxc instances #2276
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6f51ef5 to
3c6c752
Compare
12 tasks
egegunes
requested changes
Dec 3, 2025
Contributor
|
@gkech please add description to the PR |
hors
reviewed
Dec 3, 2025
mayankshah1607
previously approved these changes
Dec 4, 2025
egegunes
requested changes
Dec 4, 2025
egegunes
approved these changes
Dec 4, 2025
mayankshah1607
approved these changes
Dec 4, 2025
nmarukovich
approved these changes
Dec 4, 2025
Collaborator
commit: ee0ffc9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CHANGE DESCRIPTION
Problem:
Related Github issue: #2126
Adds support for mounting existing PersistentVolumeClaims (PVCs) to PXC, ProxySQL, and HAProxy pods using the new
extraPVCsfield. This allows users to attach pre-existing storage volumes to their database instances for use cases such as importing data, sharing configuration files, or accessing external datasets.Important notes:
ExtraPVCtype inpkg/apis/pxc/v1/pxc_types.gowith fields:name: Volume name referenceclaimName: Name of existing PVC to mountmountPath: Path inside containersubPath: Optional subpath within volumereadOnly: Optional read-only flagextraPVCsfield was added toPodSpec(PXC, ProxySQL, HAProxy)Helm chart PR: percona/percona-helm-charts#719
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability