-
Couldn't load subscription status.
- Fork 63
Csioffline #400
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
Csioffline #400
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #400 +/- ##
==========================================
- Coverage 74.15% 73.65% -0.50%
==========================================
Files 23 23
Lines 2743 2775 +32
==========================================
+ Hits 2034 2044 +10
- Misses 578 594 +16
- Partials 131 137 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
controller ask for node expanding node expanding wait for pv to be moved
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.
lgtm!
The main goal of this PR is to reflect current Linode volume behavior.
Example:
kubectl cordon nodekubectl delete pod NAMEkubectl describe pod NAMEkubectl describe pvcThis pull request includes several changes to the CI workflow, controller server, node server, and test files to improve error handling, logging, and test coverage.
CI Workflow Improvements:
.github/workflows/ci.yml: Addedverify: falsetogolangci-lint-actionand changed thego-version-filevalue to use double quotes. [1] [2]Controller Server Enhancements:
internal/driver/controllerserver.go: Modified error handling inControllerUnpublishVolume,ListVolumes, andControllerExpandVolumefunctions to return more specific errors and adjusted logging levels. [1] [2] [3] [4]internal/driver/controllerserver_test.go: Updated tests forControllerExpandVolumeto include new scenarios and expectations. [1] [2]Node Server Enhancements:
internal/driver/nodeserver.go: Added checks for volume size discrepancies and implemented a new methodgetDeviceSizeto retrieve device size. [1] [2]internal/driver/nodeserver_helpers.go: Added import forstrconvand implemented thegetDeviceSizefunction. [1] [2]internal/driver/nodeserver_test.go: EnhancedTestNodeExpandVolumeto include new mock expectations for volume size checks. [1] [2] [3] [4]Test Coverage Improvements:
tests/e2e/test/pod-pvc-unexpected-reboot/chainsaw-test.yaml: Added description and steps for the test, increased timeout for node wait, and added descriptions for Pod and PVC. [1] [2] [3]tests/e2e/test/sts-pvc-unexpected-reboot/chainsaw-test.yaml: Added description and steps for the test, increased timeout for node wait, and added descriptions for Pod and PVC. [1] [2] [3] [4]General:
Pull Request Guidelines: