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

proposal: add proposal for unified backup #374

Merged
merged 7 commits into from
Sep 4, 2023

Conversation

Xieql
Copy link
Contributor

@Xieql Xieql commented Aug 19, 2023

What type of PR is this?

/kind design
/kind documentation

What this PR does / why we need it:

add proposal aimed to enhance Kurator by introducing unified backup, restore, and migration capabilities.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

add proposal for unified backup

@kurator-bot
Copy link
Collaborator

@Xieql: The label(s) kind/design cannot be applied, because the repository doesn't have them.

In response to this:

What type of PR is this?

/kind design
/kind documentation

What this PR does / why we need it:

add proposal aimed to enhance Kurator by introducing unified backup, restore, and migration capabilities.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

add proposal for unified backup

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.

@netlify
Copy link

netlify bot commented Aug 19, 2023

Deploy Preview for kurator-dev ready!

Name Link
🔨 Latest commit 6d36348
🔍 Latest deploy log https://app.netlify.com/sites/kurator-dev/deploys/64f08d9a1751540008b11542
😎 Deploy Preview https://deploy-preview-374--kurator-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Xieql <[email protected]>

- **Version Compatibility**
As mentioned, different versions of Velero have different fields.
There's a risk of compatibility issues if clusters are running different versions. It's crucial to ensure all clusters run a supported version of Velero.
Copy link
Member

Choose a reason for hiding this comment

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

we should only make use of the latest version, so do we face this issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, it is recommended that users use a newer version of Kubernetes, as older versions are not tested with Velero.

@Xieql Xieql marked this pull request as draft August 22, 2023 07:37
// ItemOperationTimeout specifies the time used to wait for asynchronous BackupItemAction operations.
// The default value is 1 hour.
// +optional
ItemOperationTimeout metav1.Duration `json:"itemOperationTimeout,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

s/ItemOperationTimeout/Timeout

It is under backup, so we can simplify calling timeout

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we can just remove it and using default value.

ExcludedNamespaces []string `json:"excludedNamespaces,omitempty"`

// IncludedResources is a slice of resource names to include in the backup.
// For example, we can populate this string array with "deployments" and "configmaps", then we will select all resources of type deployments and configmaps,
Copy link
Member

Choose a reason for hiding this comment

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

Take it as an example ["deployments", "configmaps"]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not quite sure what 'Take it as an example ["deployments", "configmaps"]' means

Copy link
Member

Choose a reason for hiding this comment

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

Please check what is a good example, i mean here you want to express what this example means.

So I suggested ["deployments", "configmaps"]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I got it, ["deployments", "configmaps"] would be a better expresssion

Copy link
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

/lgtm

@kurator-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu

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:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants