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
OADP-645: VSR performance improvements #37
Conversation
@eemcmullan is it possible to post some testing instructions in the comments here. I'd like to run through taking a volume snapshot and restore w/ and w/o this patch. Thank you in advance! |
@weshayutin updated description with instructions |
util.WaitVolumeSnapshotBackup: "true", | ||
}, | ||
}, | ||
Driver: "ebs.csi.aws.com", |
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.
Should this be hardcoded to ebs? What about other providers?
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.
This driver isn't actually used for anything since this VSClass is only needed for blocking VSR. It is only there because creating a VSClass will fail without this field. However I need to look into whether or not this will error on other drivers not available, such as Azure.
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.
A safer one IMO would be to copy an existing voluemsnapshotclass or get driver name from existing storageclass, change the name, and proceed. This would be a more generic way to achieve what you want across providers.
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.
Tested the changes on latest volsync main branch, worked for me ! Just a couple of nits ! Thank you @eemcmullan
}, | ||
}, | ||
// dummy driver as it is not used, but the field is required | ||
Driver: "foo", |
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.
This works on 4.11? If yes then we're good to go.
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.
tested with success on 4.11
/cherry-pick oadp-1.1 |
@eemcmullan: #37 failed to apply on top of branch "oadp-1.1":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
image:
quay.io/emcmulla/csi-plugin:perf
To test:
quay.io/emcmulla/csi-plugin:perf
and Velero image withquay.io/emcmulla/velero:perf