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]unknown flag: --termination-policy on 1.0.0-beta.7 when doing kbcli cluster create kafka #8533

Closed
tianyue86 opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@tianyue86
Copy link

Describe the env

Kubernetes: v1.31.1-aliyun.1
KubeBlocks: 1.0.0-beta.7
kbcli: 1.0.0-beta.3

To Reproduce
Steps to reproduce the behavior:

  1. On 1.0.0-beta.3, kbcli cluster create kafka successfully

kbcli cluster create kafka kafka-saipoa --mode='combined' --cpu=0.5 --memory=0.5 --storage=1 --termination-policy=WipeOut --storage-enable=true --meta-storage=1 --replicas=3 --namespace default

apps.kubeblocks.io/v1, Resource=clusters
Cluster kafka-saipoa created

  1. An error occurred when using the same cmd on 1.0.0-beta.7
    kbcli cluster create kafka kafka-saipoa --mode='combined' --cpu=0.5 --memory=0.5 --storage=1 --termination-policy=WipeOut --storage-enable=true --meta-storage=1 --replicas=3 --namespace default
    error: unknown flag: --termination-policy

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@tianyue86 tianyue86 added the kind/bug Something isn't working label Nov 26, 2024
@shanshanying
Copy link
Contributor

Cannot reproduce on 1.0-beta.8

@shanshanying
Copy link
Contributor

image

@github-actions github-actions bot added this to the Release 0.9.2 milestone Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants