apecloud / kubeblocks

KubeBlocks is an open-source control plane software that runs and manages databases, message queues and other stateful applications on K8s.
https://kubeblocks.io
GNU Affero General Public License v3.0
2.2k stars 184 forks source link

[BUG]unknown flag: --termination-policy on 1.0.0-beta.7 when doing kbcli cluster create kafka #8533

Open tianyue86 opened 10 hours ago

tianyue86 commented 10 hours ago

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):

Additional context Add any other context about the problem here.