source commons files source engines files source kubeblocks files `kubectl get namespace | grep ns-wjmfw ` `kubectl create namespace ns-wjmfw` namespace/ns-wjmfw created create namespace ns-wjmfw done download kbcli `gh release list --repo apecloud/kbcli --limit 100 | (grep "0.9" || true)` `curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s v0.9.4-beta.1` Your system is linux_amd64 Installing kbcli ... Downloading ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 51 32.1M 51 16.6M 0 0 94.4M 0 --:--:-- --:--:-- --:--:-- 94.4M 100 32.1M 100 32.1M 0 0 147M 0 --:--:-- --:--:-- --:--:-- 378M kbcli installed successfully. Kubernetes: v1.32.5-eks-5d4a308 KubeBlocks: 0.9.4 kbcli: 0.9.4-beta.1 WARNING: version difference between kbcli (0.9.4-beta.1) and kubeblocks (0.9.4) Make sure your docker service is running and begin your journey with kbcli: kbcli playground init For more information on how to get started, please visit: https://kubeblocks.io download kbcli v0.9.4-beta.1 done Kubernetes: v1.32.5-eks-5d4a308 KubeBlocks: 0.9.4 kbcli: 0.9.4-beta.1 WARNING: version difference between kbcli (0.9.4-beta.1) and kubeblocks (0.9.4) Kubernetes Env: v1.32.5-eks-5d4a308 POD_RESOURCES: No resources found found default storage class: gp3 kubeblocks version is:0.9.4 skip upgrade kubeblocks Error: no repositories to show helm repo add chaos-mesh https://charts.chaos-mesh.org "chaos-mesh" has been added to your repositories add helm chart repo chaos-mesh success chaos mesh already installed check cluster definition set component name:etcd set component version No resources found no component version found unsupported component definition not found component version set replicas first:3 set replicas third:3 set minimum cmpv service version set minimum cmpv service version replicas:3 REPORT_COUNT:1 CLUSTER_TOPOLOGY: Not found topology in cluster definition etcd LIMIT_CPU:0.1 LIMIT_MEMORY:0.5 storage size: 1 No resources found in ns-wjmfw namespace. termination_policy:WipeOut create 3 replica WipeOut etcd cluster check cluster version check cluster definition `kbcli cluster create etcd-nlfoaa --termination-policy=WipeOut --cluster-definition=etcd --enable-all-logs=false --cluster-version=etcd-v3.5.6 --set cpu=100m,memory=0.5Gi,replicas=3,storage=1Gi --namespace ns-wjmfw ` Cluster etcd-nlfoaa created check cluster status `kbcli cluster list etcd-nlfoaa --show-labels --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS etcd-nlfoaa ns-wjmfw etcd etcd-v3.5.6 WipeOut Jun 19,2025 18:14 UTC+0800 clusterdefinition.kubeblocks.io/name=etcd,clusterversion.kubeblocks.io/name=etcd-v3.5.6 cluster_status: cluster_status:Creating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances etcd-nlfoaa --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME etcd-nlfoaa-etcd-0 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 100m / 100m 512Mi / 512Mi data:1Gi ip-172-31-15-136.us-west-2.compute.internal/172.31.15.136 Jun 19,2025 18:14 UTC+0800 etcd-nlfoaa-etcd-1 ns-wjmfw etcd-nlfoaa etcd Running leader us-west-2a 100m / 100m 512Mi / 512Mi data:1Gi ip-172-31-11-33.us-west-2.compute.internal/172.31.11.33 Jun 19,2025 18:14 UTC+0800 etcd-nlfoaa-etcd-2 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 100m / 100m 512Mi / 512Mi data:1Gi ip-172-31-9-119.us-west-2.compute.internal/172.31.9.119 Jun 19,2025 18:14 UTC+0800 check pod status done check cluster role check cluster role done leader: etcd-nlfoaa-etcd-1;follower: etcd-nlfoaa-etcd-0 etcd-nlfoaa-etcd-2 connect unsupported engine type: etcd `kubectl get secrets -l app.kubernetes.io/instance=etcd-nlfoaa` `kubectl get secrets etcd-nlfoaa-conn-credential -o jsonpath="***.data.username***"` `kubectl get secrets etcd-nlfoaa-conn-credential -o jsonpath="***.data.password***"` `kubectl get secrets etcd-nlfoaa-conn-credential -o jsonpath="***.data.port***"` DB_USERNAME:root;DB_PASSWORD:;DB_PORT:2379;DB_DATABASE: There is no password in Type: 15. describe cluster `kbcli cluster describe etcd-nlfoaa --namespace ns-wjmfw ` Name: etcd-nlfoaa Created Time: Jun 19,2025 18:14 UTC+0800 NAMESPACE CLUSTER-DEFINITION VERSION STATUS TERMINATION-POLICY ns-wjmfw etcd etcd-v3.5.6 Running WipeOut Endpoints: COMPONENT MODE INTERNAL EXTERNAL etcd ReadWrite etcd-nlfoaa-etcd.ns-wjmfw.svc.cluster.local:2379 Topology: COMPONENT INSTANCE ROLE STATUS AZ NODE CREATED-TIME etcd etcd-nlfoaa-etcd-0 follower Running us-west-2a ip-172-31-15-136.us-west-2.compute.internal/172.31.15.136 Jun 19,2025 18:14 UTC+0800 etcd etcd-nlfoaa-etcd-1 leader Running us-west-2a ip-172-31-11-33.us-west-2.compute.internal/172.31.11.33 Jun 19,2025 18:14 UTC+0800 etcd etcd-nlfoaa-etcd-2 follower Running us-west-2a ip-172-31-9-119.us-west-2.compute.internal/172.31.9.119 Jun 19,2025 18:14 UTC+0800 Resources Allocation: COMPONENT DEDICATED CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE-SIZE STORAGE-CLASS etcd false 100m / 100m 512Mi / 512Mi data:1Gi kb-default-sc Images: COMPONENT TYPE IMAGE etcd etcd docker.io/apecloud/etcd:v3.5.6 Show cluster events: kbcli cluster list-events -n ns-wjmfw etcd-nlfoaa `kbcli cluster label etcd-nlfoaa app.kubernetes.io/instance- --namespace ns-wjmfw ` label "app.kubernetes.io/instance" not found. `kbcli cluster label etcd-nlfoaa app.kubernetes.io/instance=etcd-nlfoaa --namespace ns-wjmfw ` `kbcli cluster label etcd-nlfoaa --list --namespace ns-wjmfw ` NAME NAMESPACE LABELS etcd-nlfoaa ns-wjmfw app.kubernetes.io/instance=etcd-nlfoaa clusterdefinition.kubeblocks.io/name=etcd clusterversion.kubeblocks.io/name=etcd-v3.5.6 label cluster app.kubernetes.io/instance=etcd-nlfoaa Success `kbcli cluster label case.name=kbcli.test1 -l app.kubernetes.io/instance=etcd-nlfoaa --namespace ns-wjmfw ` `kbcli cluster label etcd-nlfoaa --list --namespace ns-wjmfw ` NAME NAMESPACE LABELS etcd-nlfoaa ns-wjmfw app.kubernetes.io/instance=etcd-nlfoaa case.name=kbcli.test1 clusterdefinition.kubeblocks.io/name=etcd clusterversion.kubeblocks.io/name=etcd-v3.5.6 label cluster case.name=kbcli.test1 Success `kbcli cluster label etcd-nlfoaa case.name=kbcli.test2 --overwrite --namespace ns-wjmfw ` `kbcli cluster label etcd-nlfoaa --list --namespace ns-wjmfw ` NAME NAMESPACE LABELS etcd-nlfoaa ns-wjmfw app.kubernetes.io/instance=etcd-nlfoaa case.name=kbcli.test2 clusterdefinition.kubeblocks.io/name=etcd clusterversion.kubeblocks.io/name=etcd-v3.5.6 label cluster case.name=kbcli.test2 Success `kbcli cluster label etcd-nlfoaa case.name- --namespace ns-wjmfw ` `kbcli cluster label etcd-nlfoaa --list --namespace ns-wjmfw ` NAME NAMESPACE LABELS etcd-nlfoaa ns-wjmfw app.kubernetes.io/instance=etcd-nlfoaa clusterdefinition.kubeblocks.io/name=etcd clusterversion.kubeblocks.io/name=etcd-v3.5.6 delete cluster label case.name Success `kubectl get pvc -l app.kubernetes.io/instance=etcd-nlfoaa,apps.kubeblocks.io/component-name=etcd,apps.kubeblocks.io/vct-name=data --namespace ns-wjmfw ` cluster volume-expand check cluster status before ops check cluster status done cluster_status:Running No resources found in etcd-nlfoaa namespace. `kbcli cluster volume-expand etcd-nlfoaa --auto-approve --force=true --components etcd --volume-claim-templates data --storage 3Gi --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-volumeexpansion-v6sgl created successfully, you can view the progress: kbcli cluster describe-ops etcd-nlfoaa-volumeexpansion-v6sgl -n ns-wjmfw check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-volumeexpansion-v6sgl ns-wjmfw VolumeExpansion etcd-nlfoaa etcd Pending -/- Jun 19,2025 18:16 UTC+0800 ops_status:etcd-nlfoaa-volumeexpansion-v6sgl ns-wjmfw VolumeExpansion etcd-nlfoaa etcd Creating -/- Jun 19,2025 18:16 UTC+0800 check cluster status `kbcli cluster list etcd-nlfoaa --show-labels --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS etcd-nlfoaa ns-wjmfw etcd etcd-v3.5.6 WipeOut Updating Jun 19,2025 18:14 UTC+0800 app.kubernetes.io/instance=etcd-nlfoaa,clusterdefinition.kubeblocks.io/name=etcd,clusterversion.kubeblocks.io/name=etcd-v3.5.6 cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances etcd-nlfoaa --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME etcd-nlfoaa-etcd-0 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 100m / 100m 512Mi / 512Mi data:3Gi ip-172-31-15-136.us-west-2.compute.internal/172.31.15.136 Jun 19,2025 18:14 UTC+0800 etcd-nlfoaa-etcd-1 ns-wjmfw etcd-nlfoaa etcd Running leader us-west-2a 100m / 100m 512Mi / 512Mi data:3Gi ip-172-31-11-33.us-west-2.compute.internal/172.31.11.33 Jun 19,2025 18:14 UTC+0800 etcd-nlfoaa-etcd-2 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 100m / 100m 512Mi / 512Mi data:3Gi ip-172-31-9-119.us-west-2.compute.internal/172.31.9.119 Jun 19,2025 18:14 UTC+0800 check pod status done check cluster role check cluster role done leader: etcd-nlfoaa-etcd-1;follower: etcd-nlfoaa-etcd-0 etcd-nlfoaa-etcd-2 connect unsupported engine type: etcd No resources found in etcd-nlfoaa namespace. check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-volumeexpansion-v6sgl ns-wjmfw VolumeExpansion etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:16 UTC+0800 check ops status done ops_status:etcd-nlfoaa-volumeexpansion-v6sgl ns-wjmfw VolumeExpansion etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:16 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests etcd-nlfoaa-volumeexpansion-v6sgl --namespace ns-wjmfw ` opsrequest.apps.kubeblocks.io/etcd-nlfoaa-volumeexpansion-v6sgl patched `kbcli cluster delete-ops --name etcd-nlfoaa-volumeexpansion-v6sgl --force --auto-approve --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-volumeexpansion-v6sgl deleted cluster vscale check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster vscale etcd-nlfoaa --auto-approve --force=true --components etcd --cpu 200m --memory 0.6Gi --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-verticalscaling-cvngr created successfully, you can view the progress: kbcli cluster describe-ops etcd-nlfoaa-verticalscaling-cvngr -n ns-wjmfw check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-verticalscaling-cvngr ns-wjmfw VerticalScaling etcd-nlfoaa etcd Running 0/3 Jun 19,2025 18:16 UTC+0800 check cluster status `kbcli cluster list etcd-nlfoaa --show-labels --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS etcd-nlfoaa ns-wjmfw etcd etcd-v3.5.6 WipeOut Updating Jun 19,2025 18:14 UTC+0800 app.kubernetes.io/instance=etcd-nlfoaa,clusterdefinition.kubeblocks.io/name=etcd,clusterversion.kubeblocks.io/name=etcd-v3.5.6 cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances etcd-nlfoaa --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME etcd-nlfoaa-etcd-0 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-15-65.us-west-2.compute.internal/172.31.15.65 Jun 19,2025 18:17 UTC+0800 etcd-nlfoaa-etcd-1 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-12-68.us-west-2.compute.internal/172.31.12.68 Jun 19,2025 18:18 UTC+0800 etcd-nlfoaa-etcd-2 ns-wjmfw etcd-nlfoaa etcd Running leader us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-15-105.us-west-2.compute.internal/172.31.15.105 Jun 19,2025 18:16 UTC+0800 check pod status done check cluster role check cluster role done leader: etcd-nlfoaa-etcd-2;follower: etcd-nlfoaa-etcd-0 etcd-nlfoaa-etcd-1 connect unsupported engine type: etcd check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-verticalscaling-cvngr ns-wjmfw VerticalScaling etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:16 UTC+0800 check ops status done ops_status:etcd-nlfoaa-verticalscaling-cvngr ns-wjmfw VerticalScaling etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:16 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests etcd-nlfoaa-verticalscaling-cvngr --namespace ns-wjmfw ` opsrequest.apps.kubeblocks.io/etcd-nlfoaa-verticalscaling-cvngr patched `kbcli cluster delete-ops --name etcd-nlfoaa-verticalscaling-cvngr --force --auto-approve --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-verticalscaling-cvngr deleted cluster restart check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster restart etcd-nlfoaa --auto-approve --force=true --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-restart-wjfnf created successfully, you can view the progress: kbcli cluster describe-ops etcd-nlfoaa-restart-wjfnf -n ns-wjmfw check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-restart-wjfnf ns-wjmfw Restart etcd-nlfoaa etcd Running 0/3 Jun 19,2025 18:19 UTC+0800 check cluster status `kbcli cluster list etcd-nlfoaa --show-labels --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS etcd-nlfoaa ns-wjmfw etcd etcd-v3.5.6 WipeOut Updating Jun 19,2025 18:14 UTC+0800 app.kubernetes.io/instance=etcd-nlfoaa,clusterdefinition.kubeblocks.io/name=etcd,clusterversion.kubeblocks.io/name=etcd-v3.5.6 cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances etcd-nlfoaa --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME etcd-nlfoaa-etcd-0 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-15-65.us-west-2.compute.internal/172.31.15.65 Jun 19,2025 18:19 UTC+0800 etcd-nlfoaa-etcd-1 ns-wjmfw etcd-nlfoaa etcd Running leader us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-12-68.us-west-2.compute.internal/172.31.12.68 Jun 19,2025 18:19 UTC+0800 etcd-nlfoaa-etcd-2 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-15-105.us-west-2.compute.internal/172.31.15.105 Jun 19,2025 18:19 UTC+0800 check pod status done check cluster role check cluster role done leader: etcd-nlfoaa-etcd-1;follower: etcd-nlfoaa-etcd-0 etcd-nlfoaa-etcd-2 connect unsupported engine type: etcd check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-restart-wjfnf ns-wjmfw Restart etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:19 UTC+0800 check ops status done ops_status:etcd-nlfoaa-restart-wjfnf ns-wjmfw Restart etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:19 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests etcd-nlfoaa-restart-wjfnf --namespace ns-wjmfw ` opsrequest.apps.kubeblocks.io/etcd-nlfoaa-restart-wjfnf patched `kbcli cluster delete-ops --name etcd-nlfoaa-restart-wjfnf --force --auto-approve --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-restart-wjfnf deleted cluster stop check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster stop etcd-nlfoaa --auto-approve --force=true --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-stop-9rr24 created successfully, you can view the progress: kbcli cluster describe-ops etcd-nlfoaa-stop-9rr24 -n ns-wjmfw check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-stop-9rr24 ns-wjmfw Stop etcd-nlfoaa Running -/- Jun 19,2025 18:20 UTC+0800 check cluster status `kbcli cluster list etcd-nlfoaa --show-labels --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS etcd-nlfoaa ns-wjmfw etcd etcd-v3.5.6 WipeOut Stopped Jun 19,2025 18:14 UTC+0800 app.kubernetes.io/instance=etcd-nlfoaa,clusterdefinition.kubeblocks.io/name=etcd,clusterversion.kubeblocks.io/name=etcd-v3.5.6 check cluster status done cluster_status:Stopped check pod status `kbcli cluster list-instances etcd-nlfoaa --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME check pod status done check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-stop-9rr24 ns-wjmfw Stop etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:20 UTC+0800 check ops status done ops_status:etcd-nlfoaa-stop-9rr24 ns-wjmfw Stop etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:20 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests etcd-nlfoaa-stop-9rr24 --namespace ns-wjmfw ` opsrequest.apps.kubeblocks.io/etcd-nlfoaa-stop-9rr24 patched `kbcli cluster delete-ops --name etcd-nlfoaa-stop-9rr24 --force --auto-approve --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-stop-9rr24 deleted cluster start check cluster status before ops check cluster status done cluster_status:Stopped `kbcli cluster start etcd-nlfoaa --force=true --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-start-rzj6g created successfully, you can view the progress: kbcli cluster describe-ops etcd-nlfoaa-start-rzj6g -n ns-wjmfw check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-start-rzj6g ns-wjmfw Start etcd-nlfoaa etcd Running 0/3 Jun 19,2025 18:20 UTC+0800 check cluster status `kbcli cluster list etcd-nlfoaa --show-labels --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS etcd-nlfoaa ns-wjmfw etcd etcd-v3.5.6 WipeOut Updating Jun 19,2025 18:14 UTC+0800 app.kubernetes.io/instance=etcd-nlfoaa,clusterdefinition.kubeblocks.io/name=etcd,clusterversion.kubeblocks.io/name=etcd-v3.5.6 cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances etcd-nlfoaa --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME etcd-nlfoaa-etcd-0 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-15-65.us-west-2.compute.internal/172.31.15.65 Jun 19,2025 18:20 UTC+0800 etcd-nlfoaa-etcd-1 ns-wjmfw etcd-nlfoaa etcd Running leader us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-11-33.us-west-2.compute.internal/172.31.11.33 Jun 19,2025 18:20 UTC+0800 etcd-nlfoaa-etcd-2 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-15-180.us-west-2.compute.internal/172.31.15.180 Jun 19,2025 18:20 UTC+0800 check pod status done check cluster role check cluster role done leader: etcd-nlfoaa-etcd-1;follower: etcd-nlfoaa-etcd-0 etcd-nlfoaa-etcd-2 connect unsupported engine type: etcd check ops status `kbcli cluster list-ops etcd-nlfoaa --status all --namespace ns-wjmfw ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME etcd-nlfoaa-start-rzj6g ns-wjmfw Start etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:20 UTC+0800 check ops status done ops_status:etcd-nlfoaa-start-rzj6g ns-wjmfw Start etcd-nlfoaa etcd Succeed 3/3 Jun 19,2025 18:20 UTC+0800 `kubectl patch -p '***"metadata":***"finalizers":[]***' --type=merge opsrequests etcd-nlfoaa-start-rzj6g --namespace ns-wjmfw ` opsrequest.apps.kubeblocks.io/etcd-nlfoaa-start-rzj6g patched `kbcli cluster delete-ops --name etcd-nlfoaa-start-rzj6g --force --auto-approve --namespace ns-wjmfw ` OpsRequest etcd-nlfoaa-start-rzj6g deleted skip hscale out: new pod role is none 1 cluster update terminationPolicy WipeOut `kbcli cluster update etcd-nlfoaa --termination-policy=WipeOut --namespace ns-wjmfw ` cluster.apps.kubeblocks.io/etcd-nlfoaa updated (no change) check cluster status `kbcli cluster list etcd-nlfoaa --show-labels --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS CREATED-TIME LABELS etcd-nlfoaa ns-wjmfw etcd etcd-v3.5.6 WipeOut Running Jun 19,2025 18:14 UTC+0800 app.kubernetes.io/instance=etcd-nlfoaa,clusterdefinition.kubeblocks.io/name=etcd,clusterversion.kubeblocks.io/name=etcd-v3.5.6 check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances etcd-nlfoaa --namespace ns-wjmfw ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME etcd-nlfoaa-etcd-0 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-15-65.us-west-2.compute.internal/172.31.15.65 Jun 19,2025 18:20 UTC+0800 etcd-nlfoaa-etcd-1 ns-wjmfw etcd-nlfoaa etcd Running leader us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-11-33.us-west-2.compute.internal/172.31.11.33 Jun 19,2025 18:20 UTC+0800 etcd-nlfoaa-etcd-2 ns-wjmfw etcd-nlfoaa etcd Running follower us-west-2a 200m / 200m 644245094400m / 644245094400m data:3Gi ip-172-31-15-180.us-west-2.compute.internal/172.31.15.180 Jun 19,2025 18:20 UTC+0800 check pod status done check cluster role check cluster role done leader: etcd-nlfoaa-etcd-1;follower: etcd-nlfoaa-etcd-0 etcd-nlfoaa-etcd-2 connect unsupported engine type: etcd cluster list-logs `kbcli cluster list-logs etcd-nlfoaa --namespace ns-wjmfw ` No log files found. You can enable the log feature with the kbcli command below. kbcli cluster update etcd-nlfoaa --enable-all-logs=true --namespace ns-wjmfw Error from server (NotFound): pods "etcd-nlfoaa-etcd-1" not found cluster logs `kbcli cluster logs etcd-nlfoaa --tail 30 --namespace ns-wjmfw ` Defaulted container "etcd" out of: etcd, lorry, init-lorry (init) ***"level":"info","ts":"2025-06-19T10:20:48.746Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"de67045c5d10b79f has received 2 MsgVoteResp votes and 0 vote rejections"*** ***"level":"info","ts":"2025-06-19T10:20:48.746Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"de67045c5d10b79f became leader at term 6"*** ***"level":"info","ts":"2025-06-19T10:20:48.746Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"raft.node: de67045c5d10b79f elected leader de67045c5d10b79f at term 6"*** ***"level":"info","ts":"2025-06-19T10:20:48.750Z","caller":"etcdserver/server.go:2054","msg":"published local member to cluster through raft","local-member-id":"de67045c5d10b79f","local-member-attributes":"***Name:etcd-nlfoaa-etcd-1 ClientURLs:[http://etcd-nlfoaa-etcd-1.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2379]***","request-path":"/0/members/de67045c5d10b79f/attributes","cluster-id":"4237eb50d7c3811a","publish-timeout":"7s"*** ***"level":"info","ts":"2025-06-19T10:20:48.750Z","caller":"embed/serve.go:100","msg":"ready to serve client requests"*** ***"level":"info","ts":"2025-06-19T10:20:48.751Z","caller":"embed/serve.go:146","msg":"serving client traffic insecurely; this is strongly discouraged!","address":"[::]:2379"*** ***"level":"info","ts":"2025-06-19T10:20:48.815Z","caller":"etcdmain/main.go:44","msg":"notifying init daemon"*** ***"level":"info","ts":"2025-06-19T10:20:48.815Z","caller":"etcdmain/main.go:50","msg":"successfully notified init daemon"*** ***"level":"warn","ts":"2025-06-19T10:20:48.820Z","caller":"etcdserver/cluster_util.go:288","msg":"failed to reach the peer URL","address":"http://etcd-nlfoaa-etcd-2.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2380/version","remote-member-id":"a8790d1726c79da4","error":"Get \"http://etcd-nlfoaa-etcd-2.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2380/version\": dial tcp: lookup etcd-nlfoaa-etcd-2.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local on 10.100.0.10:53: no such host"*** ***"level":"warn","ts":"2025-06-19T10:20:48.820Z","caller":"etcdserver/cluster_util.go:155","msg":"failed to get version","remote-member-id":"a8790d1726c79da4","error":"Get \"http://etcd-nlfoaa-etcd-2.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2380/version\": dial tcp: lookup etcd-nlfoaa-etcd-2.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local on 10.100.0.10:53: no such host"*** ***"level":"warn","ts":"2025-06-19T10:20:48.826Z","caller":"etcdserver/cluster_util.go:288","msg":"failed to reach the peer URL","address":"http://etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2380/version","remote-member-id":"a95ed222fdefd8bc","error":"Get \"http://etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2380/version\": dial tcp: lookup etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local on 10.100.0.10:53: no such host"*** ***"level":"warn","ts":"2025-06-19T10:20:48.826Z","caller":"etcdserver/cluster_util.go:155","msg":"failed to get version","remote-member-id":"a95ed222fdefd8bc","error":"Get \"http://etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2380/version\": dial tcp: lookup etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local on 10.100.0.10:53: no such host"*** ***"level":"warn","ts":"2025-06-19T10:20:50.224Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"a8790d1726c79da4","rtt":"0s","error":"dial tcp: lookup etcd-nlfoaa-etcd-2.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local on 10.100.0.10:53: no such host"*** ***"level":"warn","ts":"2025-06-19T10:20:50.224Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"a8790d1726c79da4","rtt":"0s","error":"dial tcp: lookup etcd-nlfoaa-etcd-2.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local on 10.100.0.10:53: no such host"*** ***"level":"warn","ts":"2025-06-19T10:20:50.319Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"a95ed222fdefd8bc","rtt":"0s","error":"dial tcp: lookup etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local on 10.100.0.10:53: no such host"*** ***"level":"warn","ts":"2025-06-19T10:20:50.319Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"a95ed222fdefd8bc","rtt":"0s","error":"dial tcp: lookup etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local on 10.100.0.10:53: no such host"*** ***"level":"info","ts":"2025-06-19T10:20:50.323Z","caller":"rafthttp/peer_status.go:53","msg":"peer became active","peer-id":"a8790d1726c79da4"*** ***"level":"info","ts":"2025-06-19T10:20:50.323Z","caller":"rafthttp/stream.go:412","msg":"established TCP streaming connection with remote peer","stream-reader-type":"stream Message","local-member-id":"de67045c5d10b79f","remote-peer-id":"a8790d1726c79da4"*** ***"level":"info","ts":"2025-06-19T10:20:50.323Z","caller":"rafthttp/stream.go:412","msg":"established TCP streaming connection with remote peer","stream-reader-type":"stream MsgApp v2","local-member-id":"de67045c5d10b79f","remote-peer-id":"a8790d1726c79da4"*** ***"level":"warn","ts":"2025-06-19T10:20:52.831Z","caller":"etcdserver/cluster_util.go:288","msg":"failed to reach the peer URL","address":"http://etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2380/version","remote-member-id":"a95ed222fdefd8bc","error":"Get \"http://etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2380/version\": dial tcp 172.31.1.46:2380: connect: connection refused"*** ***"level":"warn","ts":"2025-06-19T10:20:52.831Z","caller":"etcdserver/cluster_util.go:155","msg":"failed to get version","remote-member-id":"a95ed222fdefd8bc","error":"Get \"http://etcd-nlfoaa-etcd-0.etcd-nlfoaa-etcd-headless.ns-wjmfw.svc.cluster.local:2380/version\": dial tcp 172.31.1.46:2380: connect: connection refused"*** ***"level":"warn","ts":"2025-06-19T10:20:55.320Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"a95ed222fdefd8bc","rtt":"0s","error":"dial tcp 172.31.1.46:2380: connect: connection refused"*** ***"level":"warn","ts":"2025-06-19T10:20:55.320Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"a95ed222fdefd8bc","rtt":"0s","error":"dial tcp 172.31.1.46:2380: connect: connection refused"*** ***"level":"info","ts":"2025-06-19T10:20:55.852Z","caller":"rafthttp/peer_status.go:53","msg":"peer became active","peer-id":"a95ed222fdefd8bc"*** ***"level":"info","ts":"2025-06-19T10:20:55.852Z","caller":"rafthttp/stream.go:412","msg":"established TCP streaming connection with remote peer","stream-reader-type":"stream MsgApp v2","local-member-id":"de67045c5d10b79f","remote-peer-id":"a95ed222fdefd8bc"*** ***"level":"info","ts":"2025-06-19T10:20:55.854Z","caller":"rafthttp/stream.go:412","msg":"established TCP streaming connection with remote peer","stream-reader-type":"stream Message","local-member-id":"de67045c5d10b79f","remote-peer-id":"a95ed222fdefd8bc"*** ***"level":"info","ts":"2025-06-19T10:20:55.854Z","caller":"rafthttp/stream.go:249","msg":"set message encoder","from":"de67045c5d10b79f","to":"a95ed222fdefd8bc","stream-type":"stream Message"*** ***"level":"info","ts":"2025-06-19T10:20:55.855Z","caller":"rafthttp/stream.go:274","msg":"established TCP streaming connection with remote peer","stream-writer-type":"stream Message","local-member-id":"de67045c5d10b79f","remote-peer-id":"a95ed222fdefd8bc"*** ***"level":"info","ts":"2025-06-19T10:20:55.944Z","caller":"rafthttp/stream.go:249","msg":"set message encoder","from":"de67045c5d10b79f","to":"a95ed222fdefd8bc","stream-type":"stream MsgApp v2"*** ***"level":"info","ts":"2025-06-19T10:20:55.944Z","caller":"rafthttp/stream.go:274","msg":"established TCP streaming connection with remote peer","stream-writer-type":"stream MsgApp v2","local-member-id":"de67045c5d10b79f","remote-peer-id":"a95ed222fdefd8bc"*** delete cluster etcd-nlfoaa `kbcli cluster delete etcd-nlfoaa --auto-approve --namespace ns-wjmfw ` Cluster etcd-nlfoaa deleted pod_info:etcd-nlfoaa-etcd-0 2/2 Terminating 0 69s etcd-nlfoaa-etcd-1 2/2 Terminating 0 69s etcd-nlfoaa-etcd-2 2/2 Terminating 0 69s No resources found in ns-wjmfw namespace. delete cluster pod done No resources found in ns-wjmfw namespace. check cluster resource non-exist OK: pvc No resources found in ns-wjmfw namespace. delete cluster done No resources found in ns-wjmfw namespace. No resources found in ns-wjmfw namespace. No resources found in ns-wjmfw namespace. Etcd Test Suite All Done! --------------------------------------Etcd (Topology = Replicas 3) Test Result-------------------------------------- [PASSED]|[Create]|[ClusterDefinition=etcd;ClusterVersion=etcd-v3.5.6;]|[Description=Create a cluster with the specified cluster definition etcd and cluster version etcd-v3.5.6] [PASSED]|[VolumeExpansion]|[ComponentName=etcd]|[Description=VolumeExpansion the cluster specify component etcd] [PASSED]|[VerticalScaling]|[ComponentName=etcd]|[Description=VerticalScaling the cluster specify component etcd] [PASSED]|[Restart]|[-]|[Description=Restart the cluster] [PASSED]|[Stop]|[-]|[Description=Stop the cluster] [PASSED]|[Start]|[-]|[Description=Start the cluster] [PASSED]|[Update]|[TerminationPolicy=WipeOut]|[Description=Update the cluster TerminationPolicy WipeOut] [PASSED]|[Delete]|[-]|[Description=Delete the cluster] [END]