Conversation
ffda71e to
9419a84
Compare
egegunes
requested changes
Jan 13, 2026
nmarukovich
previously approved these changes
Jan 16, 2026
egegunes
previously approved these changes
Jan 16, 2026
pkg/apis/psmdb/v1/psmdb_types.go
Outdated
Comment on lines
+971
to
+978
| // GrowthStepGi is the amount in GiB to add to the storage when the threshold is exceeded | ||
| // +kubebuilder:validation:Minimum=1 | ||
| // +kubebuilder:default=2 | ||
| GrowthStepGi int64 `json:"growthStepGi,omitempty"` | ||
|
|
||
| // MaxSize is the maximum size for PVCs (e.g., "100Gi") | ||
| // If set, autoscaling will not increase storage beyond this limit | ||
| MaxSize string `json:"maxSize,omitempty"` |
Member
There was a problem hiding this comment.
Would it be better to define them as resource.Quantity instead?
pooknull
previously approved these changes
Jan 19, 2026
nmarukovich
previously approved these changes
Jan 19, 2026
egegunes
approved these changes
Jan 20, 2026
mayankshah1607
approved these changes
Jan 20, 2026
nmarukovich
approved these changes
Jan 20, 2026
Collaborator
commit: 629f2ff |
hors
approved these changes
Jan 21, 2026
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
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:
Right now, pvc resizing can only happen manually, see docs: https://docs.percona.com/percona-operator-for-mongodb/scaling.html.
We could utilize metrics (df) to determine the current pvc usage and, according to the following configuration, adjust incrementally the pvc size.
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Helm PR: percona/percona-helm-charts#763
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability