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] auto-complete for 'kbcli cluster delete-backup ' #73

Open
shanshanying opened this issue Nov 28, 2023 · 2 comments
Open
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers Stale

Comments

@shanshanying
Copy link
Contributor

shanshanying commented Nov 28, 2023

kbcli version 
KubeBlocks: 0.8.0-alpha.9
kbcli: 0.8.0-alpha.9

To reproduce:

  1. install kbcli and kubeblocks

install kbcli

curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash

and install kubeblocks

kbcli kubeblocks install

if there is no accessible k8s, just use our playground

 kbcli playground init

ref to: https://kubeblocks.io/docs/preview/user_docs/try-out-on-playground/try-kubeblocks-on-your-laptop
2. create a mysql cluster

 kbcli cluster create mycluster --cluster-definition apecloud-mysql --cluster
-version ac-mysql-8.0.30
  1. check cluster status, wait till it is running
 kbcli cluster list mycluster
image
  1. create a backup
kbcli cluster backup mycluster --method xtrabackup

Because there is no BackupRepo configured, this backup task should fail as expected.
image

  1. delete the backup by
image

If you type tab at this moment, there is no auto-completion for backup names.

For comprision, you can try

kbcli cluster list my<tab>

and cluster name mycluster will be completed.

@shanshanying shanshanying added enhancement New feature or request good first issue Good for newcomers labels Nov 28, 2023
@bhavyastar
Copy link

bhavyastar commented Dec 4, 2023

Hey @shanshanying, I would like to work on this issue. It would be great if you can assign me this issue.

Copy link

This issue has been marked as stale because it has been open for 30 days with no activity

@github-actions github-actions bot added the Stale label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Stale
Projects
None yet
Development

No branches or pull requests

2 participants