Skip to content
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

Add Design for Upload Speed Test with BSL Config for Object Storage #1558

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shubham-pampattiwar
Copy link
Member

Why the changes were made

How to test the changes made

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 15, 2024
Copy link

openshift-ci bot commented Oct 15, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link

openshift-ci bot commented Oct 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: shubham-pampattiwar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [shubham-pampattiwar]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 15, 2024
- Uses appropriate cloud SDKs (AWS, Azure, or GCP) to perform uploads.
- Updates the status of UST CR with upload speed, upload success/failure and error message if any.
- OADP/DPA-UST Integration:
- Fetches BackupStorageLocation (BSL) details from the OADP operator’s DPA CR.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if a customer has multiple bsl's configured in the dpa will it go through each?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes its per BSL configured in the DPA, we are adding a uploadSpeedTest struct, please refer the proposed CRD section and DPA spec changes section.

config:
region: us-east-1
bucket: my-backup-bucket
uploadSpeedTest:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're not going to support automatic speed checks, I'm confused why the DPA needs to change initially.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-Check or not depends on the user configuration here. For each BSL configured we have a uploadSpeedTest struct that has enabled flag and uploadSpeedTest config. If the user sets these then UST CR would be automatically created by OADP Operator for that particular BSL, else the user could create the UST CR themselves.

Proposed Upload Speed Test CRD:

```yaml
apiVersion: uploadspeedtest.io/v1alpha1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not oadp.openshift.io? or velero.io?
Make this not dependent on dpa?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah need to update that to oadp.openshift.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants