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

[BUG]More meaningful message should be returned when resource not meet requirement when create cluster #4211

Closed
ahjing99 opened this issue Jul 11, 2023 · 1 comment · Fixed by #4354
Assignees
Labels
bug kind/bug Something isn't working
Milestone

Comments

@ahjing99
Copy link
Collaborator

➜ ~ kbcli version
Kubernetes: v1.26.5-gke.1200
KubeBlocks: 0.6.0-alpha.34
kbcli: 0.6.0-alpha.34

When create cluster with resource does not meet minimal requirement, eg: storage < 20Gi, more meaningful message should be returned to tell user how to satisfy the requirement

➜  ~ kbcli cluster create mycluster1    --termination-policy=WipeOut    --cluster-definition=apecloud-mysql  --set cpu=1,memory=1Gi,storage=1Gi,replicas=3  --enable-all-logs=true
error: invalid resource
@iziang
Copy link
Contributor

iziang commented Aug 3, 2023

fixed

@iziang iziang closed this as completed Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants