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

[Improvement] cluster hscale policy always prefers SNAPSHOT over backup tools #4942

Closed
shanshanying opened this issue Aug 31, 2023 · 0 comments · Fixed by #4967
Closed

[Improvement] cluster hscale policy always prefers SNAPSHOT over backup tools #4942

shanshanying opened this issue Aug 31, 2023 · 0 comments · Fixed by #4967
Assignees
Labels
kind/enhancement New feature or request

Comments

@shanshanying
Copy link
Contributor

shanshanying commented Aug 31, 2023

  1. choose some in-tree persistent disk driver that It does not support snapshots as your default sc
  2. kbcli cluster create mysql mycluster
  3. kbcli cluster hscale mycluster --component mysql --replicas 2
  4. cluster status turns to updating
  5. but Backup has failed with following msg
image

In our cluser controller, we always prefers snapshotDataClone over backupDataClone, controlled by the env VOLUMESNAPSHOT. It is a global env. But each cluster has its own StorageClass, and not all SC supports snaptshot.
We should leave the choice to users or at least to each cluster.

@shanshanying shanshanying added the kind/enhancement New feature or request label Aug 31, 2023
@leon-inf leon-inf linked a pull request Sep 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants