-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Download server for Velero client #6167
Comments
Maybe we can use the API Aggregation layer to achieve this. |
This essentially is decoupling downloadrequest from object storage. Setting it as a |
This would also solves the client having to specify |
If we can do download server for object store velero plugins as well, it would solve the concern around local-volume-provider plugin, and enable other object stores like s3 with internal ip in s3url to work for clients as well. This would probably be better approach than trying to re-implement NFS work internally and making this download server work exclusive to NFS work. |
If we want to make a built-in download server in Velero, I think it is not a good idea to have it storage specific, e.g., specific for object store or NFS. Instead, we should build a generic download server which talks to Velero server modules to get the data, the download server itself doesn't need to know the storage type. Reasons:
Conclusively:
|
Currently debating approaches Comparison
For up to date see: https://github.com/kaovilai/velero/blob/design-download-endpoint-for-client/design/velero-client-download-apiserver_design.md#comparison |
Many Velero client CLIs need to download data:
At present, these data are stored in the object store, so the client connect to the object store directly and download the data.
However, this has some drawbacks:
Therefore, we need to create a mechanism that get the data from the Velero server on behave of the client and deliver them to the client.
The text was updated successfully, but these errors were encountered: