-
Notifications
You must be signed in to change notification settings - Fork 102
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
feat(localpv): Add regex to handle zstd levels [1-19] #439
Conversation
0414907
to
40701cb
Compare
Hey @jnels124, thank you for your contribution! Could you please rebase your PR please? Thanks.. |
@niladrih I have rebased my branch. |
Signed-off-by: Jesse Nelson <[email protected]>
Signed-off-by: Jesse Nelson <[email protected]>
Signed-off-by: Jesse Nelson <[email protected]>
Signed-off-by: Jesse Nelson <[email protected]>
Signed-off-by: Jesse Nelson <[email protected]>
@niladrih believe there was an error in my previous rebase. I have fixed. |
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
This is the default recordsize for ZFS datasets, and significantly better for most use-cases than 4k. Signed-off-by: Andrew LeCody <[email protected]>
Signed-off-by: Jesse Nelson <[email protected]> Signed-off-by: Niladri Halder <[email protected]>
Signed-off-by: Jesse Nelson <[email protected]> Signed-off-by: Niladri Halder <[email protected]>
Reason: - v1 CSIStorageCapacity is GA since K8s 1.24 and in csi-provisioner 3.2.0 and above. - In K8s 1.27 v1beta1/CSIStorageCapacity has been removed, so bumping this up will enable zfs-localpv to run on K8s 1.27 & above. Signed-off-by: Harsh Vardhan <[email protected]> Signed-off-by: Niladri Halder <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]> Signed-off-by: Niladri Halder <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]> Signed-off-by: Niladri Halder <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]> Signed-off-by: Niladri Halder <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]> Signed-off-by: Niladri Halder <[email protected]>
These changes have been included in #461, closing this one. This is available in the released version v2.3.0. |
Pull Request template
Please, go through these steps before you submit a PR.
Why is this PR required? What issue does it fix?:
allow setting the compression to zstd with levels
What this PR does?:
Updates CRDs for volumes, snapshots, and restores to allow zstd compression with specific level
Does this PR require any upgrade changes?:
No
If the changes in this PR are manually verified, list down the scenarios covered::
Manually applied CRD's (also re ran verification steps when using helm)
Edited existing zv with compression set to zstd-12. Verified the zpool on the node was updated accordingly.
Performed write tests with known compressed size and confirmed compression level change was applied to new data.
Any additional information for your reviewer? :
Checklist:
<type>(<scope>): <subject>