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] adjust kbcli cluster list order #448

Open
1aal opened this issue Sep 24, 2024 · 1 comment
Open

[Improvement] adjust kbcli cluster list order #448

1aal opened this issue Sep 24, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request Stale

Comments

@1aal
Copy link
Contributor

1aal commented Sep 24, 2024

Is your improvement request related to a problem? Please describe.

In a Kubernetes environment with a large number of KubeBlocks clusters, the output of the kbcli cluster list -A command is not very intuitive.
Currently, the first sorting is based on namespace, and the second sorting is based on the dictionary order of cluster name.

Describe the solution you'd like

It is suggested to sort based on the following priorities:

  1. namespace
  2. cluster definition
  3. version
  4. status
  5. cluster name in dictionary order.

Additionally, better to add the --status option for filtering to display clusters with specific status.

Additional context

kbcli version info:

~ kbcli version
Kubernetes: v1.28.3-aliyun.1
KubeBlocks: 0.9.1-beta.25
kbcli: 0.9.0
WARNING: version difference between kbcli (0.9.0) and kubeblocks (0.9.1-beta.25)

image

@1aal 1aal added the enhancement New feature or request label Sep 24, 2024
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 Oct 28, 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 Stale
Projects
None yet
Development

No branches or pull requests

2 participants