-
Notifications
You must be signed in to change notification settings - Fork 658
Add more chainsaw e2e tests. #4422
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
dsessler7
merged 3 commits into
CrunchyData:main
from
dsessler7:add-weekly-readiness-tests
Feb 13, 2026
+4,731
−4
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # Autogrow Volume Tests | ||
|
|
||
| These tests validate the automatic volume expansion (autogrow) feature of PGO. | ||
| They create PostgresCluster instances with 1Gi volumes, write data to trigger the | ||
| autogrow threshold, and verify that PVC requests and capacities are updated correctly. | ||
|
|
||
| ## Kubernetes Environment Requirements | ||
|
|
||
| These tests require a storage provider that supports **real volume expansion**, meaning | ||
| the CSI driver must implement `ControllerExpandVolume` and/or `NodeExpandVolume` so | ||
| that PVC `status.capacity` is updated after a resize request. | ||
|
|
||
| The default StorageClass must have `allowVolumeExpansion: true`. | ||
|
|
||
| ### Supported environments | ||
|
|
||
| - **GKE** with `pd-standard` or `pd-ssd` StorageClass (tests were designed for this) | ||
| - **AWS EKS** with `gp2` or `gp3` StorageClass | ||
| - **Azure AKS** with `managed-csi` StorageClass | ||
| - Any cluster with a CSI driver that supports volume expansion | ||
|
|
||
| ### Unsupported environments | ||
|
|
||
| - **k3d / k3s** with the default `local-path` provisioner — `local-path` does not | ||
| implement volume expansion. Setting `allowVolumeExpansion: true` on the StorageClass | ||
| allows PVC `spec.resources.requests` to be updated, but `status.capacity` will not | ||
| change, causing test assertions to fail. | ||
| - **kind** with the default local provisioner (same limitation) | ||
|
|
||
| ### Running in CI | ||
|
|
||
| These tests are excluded from the GitHub Actions e2e workflow (`--exclude-test-regex autogrow`) | ||
| because it uses k3d with `local-path`. They should be run in a CI environment that | ||
| provides a storage backend with volume expansion support (e.g., GKE). |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.