source commons files source engines files source kubeblocks files source kubedb files CLUSTER_NAME: kbcli is detected: /usr/local/bin/kbcli Kubernetes Env: v1.30.4-vke.4 check snapshot controller check snapshot controller done vke kb-default-sc found vke default-vsc found POD_RESOURCES: No resources found found default storage class: ebs-ssd KubeBlocks version is:1.0.1 skip upgrade KubeBlocks current KubeBlocks version: 1.0.1 check component definition No resources found KUBEBLOCKS NAMESPACE:kb-system get kubeblocks namespace done annotate polardbx cmpd apps.kubeblocks.io/skip-immutable-check=true No resources found get helm repo list success `helm repo remove kbcli-test-addons ` "kbcli-test-addons" has been removed from your repositories `helm repo add kbcli-test-addons https://jihulab.com/api/v4/projects/150246/packages/helm/stable` "kbcli-test-addons" has been added to your repositories add helm chart repo success `helm repo update kbcli-test-addons ` Hang tight while we grab the latest from your chart repositories... ...Successfully got an update from the "kbcli-test-addons" chart repository Update Complete. ⎈Happy Helming!⎈ KUBEBLOCKS NAMESPACE:kb-system get kubeblocks namespace done current KubeBlocks version: 1.0.1 `helm upgrade --install --namespace kb-system kb-addon-polardbx kbcli-test-addons/polardbx --version 1.0.1 --set image.registry=apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com --set images.registry=apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com --set extra.keepResource=false ` Release "kb-addon-polardbx" does not exist. Installing it now. NAME: kb-addon-polardbx LAST DEPLOYED: Fri Sep 12 14:04:58 2025 NAMESPACE: kb-system STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: Thanks for installing PolarDB-X using KubeBlocks! 1. Run the following command to create your first PolarDB-X cluster: ``` kbcli cluster create pxc --cluster-definition polardbx ``` 2. Port-forward service to localhost and connect to PolarDB-X cluster: ``` kubectl port-forward svc/pxc-cn 3306:3306 mysql -h127.0.0.1 -upolardbx_root ``` Release Information: Commit ID: "42a57c9fa07d350cfa9cdb93c2e32d0c27ff58f3" Commit Time: "2025-09-11 14:37:49 +0800" Release Branch: "v1.0.1" Release Time: "2025-09-11 16:33:54 +0800" Enterprise: "false" set component version set component version:polardbx-cdc set service versions:2.3.0 set service versions sorted:2.3.0 check component definition polardbx status done set component name:gms found component version set polardbx component definition set polardbx component definition polardbx-cn-1.0.1 REPORT_COUNT 0: 0 set replicas first:3,2.3.0 set replicas third:3,2.3.0 set replicas fourth:3,2.3.0 set minimum cmpv service version set minimum cmpv service version replicas:3,2.3.0 REPORT_COUNT:1 CLUSTER_TOPOLOGY: set polardbx component definition set polardbx component definition polardbx-cn-1.0.1 LIMIT_CPU:0.5 LIMIT_MEMORY:1 storage size: 20 CLUSTER_NAME:px-ecy No resources found in default namespace. pod_info: termination_policy:Delete create 3 replica Delete polardbx cluster check component definition set component definition by component version check cmpd by labels check cmpd by compDefs set component definition: polardbx-cdc-1.0.1 by component version:polardbx-cdc apiVersion: apps.kubeblocks.io/v1 kind: Cluster metadata: name: px-ecy namespace: default spec: terminationPolicy: Delete componentSpecs: - name: gms componentDef: polardbx-gms replicas: 3 resources: requests: cpu: 500m memory: 1Gi limits: cpu: 500m memory: 1Gi volumeClaimTemplates: - name: data spec: storageClassName: accessModes: - ReadWriteOnce resources: requests: storage: 20Gi - name: dn componentDef: polardbx-dn replicas: 3 resources: requests: cpu: 500m memory: 1Gi limits: cpu: 500m memory: 1Gi volumeClaimTemplates: - name: data spec: storageClassName: accessModes: - ReadWriteOnce resources: requests: storage: 20Gi - name: cn componentDef: polardbx-cn replicas: 1 resources: requests: cpu: 500m memory: 1Gi limits: cpu: 500m memory: 1Gi - name: cdc componentDef: polardbx-cdc replicas: 1 resources: requests: cpu: 500m memory: 1Gi limits: cpu: 500m memory: 1Gi `kubectl apply -f test_create_px-ecy.yaml` cluster.apps.kubeblocks.io/px-ecy created apply test_create_px-ecy.yaml Success `rm -rf test_create_px-ecy.yaml` check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default Delete Creating Sep 12,2025 14:05 UTC+0800 cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Creating cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal 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 px-ecy --namespace default ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME px-ecy-cdc-0 default px-ecy cdc Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-cn-0 default px-ecy cn Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-dn-0 default px-ecy dn Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:05 UTC+0800 px-ecy-dn-1 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 px-ecy-dn-2 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:14 UTC+0800 px-ecy-gms-0 default px-ecy gms Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-gms-1 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:07 UTC+0800 px-ecy-gms-2 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 check pod status done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check cluster connect `echo ' echo "select 1;" | mysql -hpx-ecy-dn.default.svc.cluster.local -P3306 -upolardbx_root -p"5R1ufc01IilIAHrQ"' | kubectl exec -it px-ecy-dn-0 --namespace default -- bash ` check cluster connect done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check pod px-ecy-gms-0 container_name engine exist password 5R1ufc01IilIAHrQ check pod px-ecy-gms-0 container_name exporter exist password 5R1ufc01IilIAHrQ check pod px-ecy-gms-0 container_name kbagent exist password 5R1ufc01IilIAHrQ No container logs contain secret password. describe cluster `kbcli cluster describe px-ecy --namespace default ` Name: px-ecy Created Time: Sep 12,2025 14:05 UTC+0800 NAMESPACE CLUSTER-DEFINITION TOPOLOGY STATUS TERMINATION-POLICY default Running Delete Endpoints: COMPONENT INTERNAL EXTERNAL gms px-ecy-gms.default.svc.cluster.local:3306 px-ecy-gms.default.svc.cluster.local:9104 dn px-ecy-dn.default.svc.cluster.local:3306 cn px-ecy-cn.default.svc.cluster.local:3306 px-ecy-cn.default.svc.cluster.local:9104 cdc px-ecy-cdc.default.svc.cluster.local:3306 px-ecy-cdc.default.svc.cluster.local:9104 Topology: COMPONENT SERVICE-VERSION INSTANCE ROLE STATUS AZ NODE CREATED-TIME cdc 2.3.0 px-ecy-cdc-0 Running cn-guangzhou-b 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 cn 2.3.0 px-ecy-cn-0 Running cn-guangzhou-b 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 dn 2.3.0 px-ecy-dn-0 leader Running cn-guangzhou-b 192.168.0.12/192.168.0.12 Sep 12,2025 14:05 UTC+0800 dn 2.3.0 px-ecy-dn-1 follower Running cn-guangzhou-b 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 dn 2.3.0 px-ecy-dn-2 follower Running cn-guangzhou-b 192.168.0.13/192.168.0.13 Sep 12,2025 14:14 UTC+0800 gms 2.3.0 px-ecy-gms-0 leader Running cn-guangzhou-b 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 gms 2.3.0 px-ecy-gms-1 follower Running cn-guangzhou-b 192.168.0.13/192.168.0.13 Sep 12,2025 14:07 UTC+0800 gms 2.3.0 px-ecy-gms-2 follower Running cn-guangzhou-b 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 Resources Allocation: COMPONENT INSTANCE-TEMPLATE CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE-SIZE STORAGE-CLASS gms 500m / 500m 1Gi / 1Gi data:20Gi ebs-ssd dn 500m / 500m 1Gi / 1Gi data:20Gi ebs-ssd cn 500m / 500m 1Gi / 1Gi cdc 500m / 500m 1Gi / 1Gi Images: COMPONENT COMPONENT-DEFINITION IMAGE gms polardbx-gms-1.0.1 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/polardbx-engine-2.0:80-8.0.18-20231101115000 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/mysqld-exporter:v0.14.0 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/mysql-client:latest dn polardbx-dn-1.0.1 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/polardbx-engine-2.0:80-8.0.18-20231101115000 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/mysqld-exporter:v0.14.0 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/mysql-client:latest cn polardbx-cn-1.0.1 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/polardbx-sql:5.4.18-20231101115000 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/polardbx-exporter:v1.5.0 cdc polardbx-cdc-1.0.1 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/polardbx-cdc:5.4.18-20231101115000 apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/polardbx-exporter:v1.5.0 Show cluster events: kbcli cluster list-events -n default px-ecy `kbcli cluster label px-ecy app.kubernetes.io/instance- --namespace default ` label "app.kubernetes.io/instance" not found. `kbcli cluster label px-ecy app.kubernetes.io/instance=px-ecy --namespace default ` `kbcli cluster label px-ecy --list --namespace default ` NAME NAMESPACE LABELS px-ecy default app.kubernetes.io/instance=px-ecy label cluster app.kubernetes.io/instance=px-ecy Success `kbcli cluster label case.name=kbcli.test1 -l app.kubernetes.io/instance=px-ecy --namespace default ` `kbcli cluster label px-ecy --list --namespace default ` NAME NAMESPACE LABELS px-ecy default app.kubernetes.io/instance=px-ecy case.name=kbcli.test1 label cluster case.name=kbcli.test1 Success `kbcli cluster label px-ecy case.name=kbcli.test2 --overwrite --namespace default ` `kbcli cluster label px-ecy --list --namespace default ` NAME NAMESPACE LABELS px-ecy default app.kubernetes.io/instance=px-ecy case.name=kbcli.test2 label cluster case.name=kbcli.test2 Success `kbcli cluster label px-ecy case.name- --namespace default ` `kbcli cluster label px-ecy --list --namespace default ` NAME NAMESPACE LABELS px-ecy default app.kubernetes.io/instance=px-ecy delete cluster label case.name Success cluster does not need to check monitor currently check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default Delete Running Sep 12,2025 14:05 UTC+0800 app.kubernetes.io/instance=px-ecy check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances px-ecy --namespace default ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME px-ecy-cdc-0 default px-ecy cdc Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-cn-0 default px-ecy cn Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-dn-0 default px-ecy dn Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:05 UTC+0800 px-ecy-dn-1 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 px-ecy-dn-2 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:14 UTC+0800 px-ecy-gms-0 default px-ecy gms Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-gms-1 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:07 UTC+0800 px-ecy-gms-2 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 check pod status done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check cluster connect `echo ' echo "select 1;" | mysql -hpx-ecy-dn.default.svc.cluster.local -P3306 -upolardbx_root -p"5R1ufc01IilIAHrQ"' | kubectl exec -it px-ecy-dn-0 --namespace default -- bash ` check cluster connect done check component cn exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=cn --namespace default | (grep "cn" || true )` check component cdc exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=cdc --namespace default | (grep "cdc" || true )` cluster cn,cdc scale-out check cluster status before ops check cluster status done cluster_status:Running No resources found in px-ecy namespace. `kbcli cluster scale-out px-ecy --auto-approve --force=true --components cn,cdc --replicas 1 --namespace default ` OpsRequest px-ecy-horizontalscaling-5vlfn created successfully, you can view the progress: kbcli cluster describe-ops px-ecy-horizontalscaling-5vlfn -n default check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-horizontalscaling-5vlfn default HorizontalScaling px-ecy cn,cdc Running 0/2 Sep 12,2025 14:19 UTC+0800 check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default Delete Updating Sep 12,2025 14:05 UTC+0800 app.kubernetes.io/instance=px-ecy cluster_status:Updating cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal 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 px-ecy --namespace default ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME px-ecy-cdc-0 default px-ecy cdc Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-cdc-1 default px-ecy cdc Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:19 UTC+0800 px-ecy-cn-0 default px-ecy cn Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-cn-1 default px-ecy cn Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:19 UTC+0800 px-ecy-dn-0 default px-ecy dn Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:05 UTC+0800 px-ecy-dn-1 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 px-ecy-dn-2 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:14 UTC+0800 px-ecy-gms-0 default px-ecy gms Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-gms-1 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:07 UTC+0800 px-ecy-gms-2 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 check pod status done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check cluster connect `echo ' echo "select 1;" | mysql -hpx-ecy-dn.default.svc.cluster.local -P3306 -upolardbx_root -p"5R1ufc01IilIAHrQ"' | kubectl exec -it px-ecy-dn-0 --namespace default -- bash ` check cluster connect done No resources found in px-ecy namespace. check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-horizontalscaling-5vlfn default HorizontalScaling px-ecy cn,cdc Succeed 2/2 Sep 12,2025 14:19 UTC+0800 check ops status done ops_status:px-ecy-horizontalscaling-5vlfn default HorizontalScaling px-ecy cn,cdc Succeed 2/2 Sep 12,2025 14:19 UTC+0800 `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations px-ecy-horizontalscaling-5vlfn --namespace default ` opsrequest.operations.kubeblocks.io/px-ecy-horizontalscaling-5vlfn patched `kbcli cluster delete-ops --name px-ecy-horizontalscaling-5vlfn --force --auto-approve --namespace default ` OpsRequest px-ecy-horizontalscaling-5vlfn deleted check component cn exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=cn --namespace default | (grep "cn" || true )` check component cdc exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=cdc --namespace default | (grep "cdc" || true )` cluster cn,cdc scale-in check cluster status before ops check cluster status done cluster_status:Running No resources found in px-ecy namespace. `kbcli cluster scale-in px-ecy --auto-approve --force=true --components cn,cdc --replicas 1 --namespace default ` OpsRequest px-ecy-horizontalscaling-z8lhl created successfully, you can view the progress: kbcli cluster describe-ops px-ecy-horizontalscaling-z8lhl -n default check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-horizontalscaling-z8lhl default HorizontalScaling px-ecy cn,cdc Running 0/2 Sep 12,2025 14:24 UTC+0800 check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default Delete Updating Sep 12,2025 14:05 UTC+0800 app.kubernetes.io/instance=px-ecy cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances px-ecy --namespace default ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME px-ecy-cdc-0 default px-ecy cdc Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-cn-0 default px-ecy cn Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-dn-0 default px-ecy dn Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:05 UTC+0800 px-ecy-dn-1 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 px-ecy-dn-2 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:14 UTC+0800 px-ecy-gms-0 default px-ecy gms Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-gms-1 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:07 UTC+0800 px-ecy-gms-2 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 check pod status done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check cluster connect `echo ' echo "select 1;" | mysql -hpx-ecy-dn.default.svc.cluster.local -P3306 -upolardbx_root -p"5R1ufc01IilIAHrQ"' | kubectl exec -it px-ecy-dn-0 --namespace default -- bash ` check cluster connect done No resources found in px-ecy namespace. check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-horizontalscaling-z8lhl default HorizontalScaling px-ecy cn,cdc Succeed 2/2 Sep 12,2025 14:24 UTC+0800 check ops status done ops_status:px-ecy-horizontalscaling-z8lhl default HorizontalScaling px-ecy cn,cdc Succeed 2/2 Sep 12,2025 14:24 UTC+0800 `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations px-ecy-horizontalscaling-z8lhl --namespace default ` opsrequest.operations.kubeblocks.io/px-ecy-horizontalscaling-z8lhl patched `kbcli cluster delete-ops --name px-ecy-horizontalscaling-z8lhl --force --auto-approve --namespace default ` OpsRequest px-ecy-horizontalscaling-z8lhl deleted check component cn exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=cn --namespace default | (grep "cn" || true )` check component cdc exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=cdc --namespace default | (grep "cdc" || true )` cluster restart check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster restart px-ecy --auto-approve --force=true --components cn,cdc --namespace default ` OpsRequest px-ecy-restart-spxk9 created successfully, you can view the progress: kbcli cluster describe-ops px-ecy-restart-spxk9 -n default check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-restart-spxk9 default Restart px-ecy cn,cdc Running 0/2 Sep 12,2025 14:24 UTC+0800 check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default Delete Updating Sep 12,2025 14:05 UTC+0800 app.kubernetes.io/instance=px-ecy 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 px-ecy --namespace default ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME px-ecy-cdc-0 default px-ecy cdc Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:24 UTC+0800 px-ecy-cn-0 default px-ecy cn Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:24 UTC+0800 px-ecy-dn-0 default px-ecy dn Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:05 UTC+0800 px-ecy-dn-1 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 px-ecy-dn-2 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:14 UTC+0800 px-ecy-gms-0 default px-ecy gms Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:05 UTC+0800 px-ecy-gms-1 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:07 UTC+0800 px-ecy-gms-2 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:13 UTC+0800 check pod status done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check cluster connect `echo ' echo "select 1;" | mysql -hpx-ecy-dn.default.svc.cluster.local -P3306 -upolardbx_root -p"5R1ufc01IilIAHrQ"' | kubectl exec -it px-ecy-dn-0 --namespace default -- bash ` check cluster connect done check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-restart-spxk9 default Restart px-ecy cn,cdc Succeed 2/2 Sep 12,2025 14:24 UTC+0800 check ops status done ops_status:px-ecy-restart-spxk9 default Restart px-ecy cn,cdc Succeed 2/2 Sep 12,2025 14:24 UTC+0800 `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations px-ecy-restart-spxk9 --namespace default ` opsrequest.operations.kubeblocks.io/px-ecy-restart-spxk9 patched `kbcli cluster delete-ops --name px-ecy-restart-spxk9 --force --auto-approve --namespace default ` OpsRequest px-ecy-restart-spxk9 deleted cluster stop check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster stop px-ecy --auto-approve --force=true --namespace default ` OpsRequest px-ecy-stop-lvxmr created successfully, you can view the progress: kbcli cluster describe-ops px-ecy-stop-lvxmr -n default check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-stop-lvxmr default Stop px-ecy cdc,cn,dn,gms Running 0/8 Sep 12,2025 14:27 UTC+0800 check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default Delete Stopping Sep 12,2025 14:05 UTC+0800 app.kubernetes.io/instance=px-ecy cluster_status:Stopping cluster_status:Stopping cluster_status:Stopping cluster_status:Stopping check cluster status done cluster_status:Stopped check pod status `kbcli cluster list-instances px-ecy --namespace default ` 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 px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-stop-lvxmr default Stop px-ecy cdc,cn,dn,gms Succeed 8/8 Sep 12,2025 14:27 UTC+0800 check ops status done ops_status:px-ecy-stop-lvxmr default Stop px-ecy cdc,cn,dn,gms Succeed 8/8 Sep 12,2025 14:27 UTC+0800 `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations px-ecy-stop-lvxmr --namespace default ` opsrequest.operations.kubeblocks.io/px-ecy-stop-lvxmr patched `kbcli cluster delete-ops --name px-ecy-stop-lvxmr --force --auto-approve --namespace default ` OpsRequest px-ecy-stop-lvxmr deleted cluster start check cluster status before ops check cluster status done cluster_status:Stopped `kbcli cluster start px-ecy --force=true --namespace default ` OpsRequest px-ecy-start-zk6z9 created successfully, you can view the progress: kbcli cluster describe-ops px-ecy-start-zk6z9 -n default check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-start-zk6z9 default Start px-ecy cdc,cn,dn,gms Running 0/8 Sep 12,2025 14:29 UTC+0800 check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default Delete Updating Sep 12,2025 14:05 UTC+0800 app.kubernetes.io/instance=px-ecy 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 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 px-ecy --namespace default ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME px-ecy-cdc-0 default px-ecy cdc Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:29 UTC+0800 px-ecy-cn-0 default px-ecy cn Running cn-guangzhou-b 500m / 500m 1Gi / 1Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:29 UTC+0800 px-ecy-dn-0 default px-ecy dn Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:29 UTC+0800 px-ecy-dn-1 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:30 UTC+0800 px-ecy-dn-2 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.70/192.168.0.70 Sep 12,2025 14:35 UTC+0800 px-ecy-gms-0 default px-ecy gms Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:29 UTC+0800 px-ecy-gms-1 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:30 UTC+0800 px-ecy-gms-2 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:35 UTC+0800 check pod status done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check cluster connect `echo ' echo "select 1;" | mysql -hpx-ecy-dn.default.svc.cluster.local -P3306 -upolardbx_root -p"5R1ufc01IilIAHrQ"' | kubectl exec -it px-ecy-dn-0 --namespace default -- bash ` check cluster connect done check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-start-zk6z9 default Start px-ecy cdc,cn,dn,gms Succeed 8/8 Sep 12,2025 14:29 UTC+0800 check ops status done ops_status:px-ecy-start-zk6z9 default Start px-ecy cdc,cn,dn,gms Succeed 8/8 Sep 12,2025 14:29 UTC+0800 `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations px-ecy-start-zk6z9 --namespace default ` opsrequest.operations.kubeblocks.io/px-ecy-start-zk6z9 patched `kbcli cluster delete-ops --name px-ecy-start-zk6z9 --force --auto-approve --namespace default ` OpsRequest px-ecy-start-zk6z9 deleted check component cn exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=cn --namespace default | (grep "cn" || true )` check component cdc exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=cdc --namespace default | (grep "cdc" || true )` check cluster status before ops check cluster status done cluster_status:Running `kbcli cluster vscale px-ecy --auto-approve --force=true --components cn,cdc --cpu 600m --memory 1.1Gi --namespace default ` OpsRequest px-ecy-verticalscaling-n6zd2 created successfully, you can view the progress: kbcli cluster describe-ops px-ecy-verticalscaling-n6zd2 -n default check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-verticalscaling-n6zd2 default VerticalScaling px-ecy cn,cdc Running 0/2 Sep 12,2025 14:42 UTC+0800 check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default Delete Updating Sep 12,2025 14:05 UTC+0800 app.kubernetes.io/instance=px-ecy cluster_status:Updating cluster_status:Updating cluster_status:Updating cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal cluster_status:Updating cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal cluster_status:Abnormal 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 px-ecy --namespace default ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME px-ecy-cdc-0 default px-ecy cdc Running cn-guangzhou-b 600m / 600m 1181116006400m / 1181116006400m 192.168.0.70/192.168.0.70 Sep 12,2025 14:42 UTC+0800 px-ecy-cn-0 default px-ecy cn Running cn-guangzhou-b 600m / 600m 1181116006400m / 1181116006400m 192.168.0.70/192.168.0.70 Sep 12,2025 14:42 UTC+0800 px-ecy-dn-0 default px-ecy dn Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:29 UTC+0800 px-ecy-dn-1 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:30 UTC+0800 px-ecy-dn-2 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.70/192.168.0.70 Sep 12,2025 14:35 UTC+0800 px-ecy-gms-0 default px-ecy gms Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:29 UTC+0800 px-ecy-gms-1 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:30 UTC+0800 px-ecy-gms-2 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:20Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:35 UTC+0800 check pod status done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check cluster connect `echo ' echo "select 1;" | mysql -hpx-ecy-dn.default.svc.cluster.local -P3306 -upolardbx_root -p"5R1ufc01IilIAHrQ"' | kubectl exec -it px-ecy-dn-0 --namespace default -- bash ` check cluster connect done check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-verticalscaling-n6zd2 default VerticalScaling px-ecy cn,cdc Succeed 2/2 Sep 12,2025 14:42 UTC+0800 check ops status done ops_status:px-ecy-verticalscaling-n6zd2 default VerticalScaling px-ecy cn,cdc Succeed 2/2 Sep 12,2025 14:42 UTC+0800 `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations px-ecy-verticalscaling-n6zd2 --namespace default ` opsrequest.operations.kubeblocks.io/px-ecy-verticalscaling-n6zd2 patched `kbcli cluster delete-ops --name px-ecy-verticalscaling-n6zd2 --force --auto-approve --namespace default ` OpsRequest px-ecy-verticalscaling-n6zd2 deleted check component gms exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=gms --namespace default | (grep "gms" || true )` check component dn exists `kubectl get components -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=dn --namespace default | (grep "dn" || true )` `kubectl get pvc -l app.kubernetes.io/instance=px-ecy,apps.kubeblocks.io/component-name=gms,dn,apps.kubeblocks.io/vct-name=data --namespace default ` No resources found in default namespace. px-ecy gms,dn data pvc is empty cluster volume-expand check cluster status before ops check cluster status done cluster_status:Running No resources found in px-ecy namespace. `kbcli cluster volume-expand px-ecy --auto-approve --force=true --components gms,dn --volume-claim-templates data --storage 24Gi --namespace default ` OpsRequest px-ecy-volumeexpansion-9kfd8 created successfully, you can view the progress: kbcli cluster describe-ops px-ecy-volumeexpansion-9kfd8 -n default check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-volumeexpansion-9kfd8 default VolumeExpansion px-ecy gms,dn Running 0/6 Sep 12,2025 14:53 UTC+0800 check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default Delete Updating Sep 12,2025 14:05 UTC+0800 app.kubernetes.io/instance=px-ecy cluster_status:Updating cluster_status:Updating cluster_status:Updating check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances px-ecy --namespace default ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME px-ecy-cdc-0 default px-ecy cdc Running cn-guangzhou-b 600m / 600m 1181116006400m / 1181116006400m 192.168.0.70/192.168.0.70 Sep 12,2025 14:42 UTC+0800 px-ecy-cn-0 default px-ecy cn Running cn-guangzhou-b 600m / 600m 1181116006400m / 1181116006400m 192.168.0.70/192.168.0.70 Sep 12,2025 14:42 UTC+0800 px-ecy-dn-0 default px-ecy dn Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:29 UTC+0800 px-ecy-dn-1 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:30 UTC+0800 px-ecy-dn-2 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.70/192.168.0.70 Sep 12,2025 14:35 UTC+0800 px-ecy-gms-0 default px-ecy gms Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:29 UTC+0800 px-ecy-gms-1 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:30 UTC+0800 px-ecy-gms-2 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:35 UTC+0800 check pod status done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check cluster connect `echo ' echo "select 1;" | mysql -hpx-ecy-dn.default.svc.cluster.local -P3306 -upolardbx_root -p"5R1ufc01IilIAHrQ"' | kubectl exec -it px-ecy-dn-0 --namespace default -- bash ` check cluster connect done No resources found in px-ecy namespace. check ops status `kbcli cluster list-ops px-ecy --status all --namespace default ` NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME px-ecy-volumeexpansion-9kfd8 default VolumeExpansion px-ecy gms,dn Succeed 6/6 Sep 12,2025 14:53 UTC+0800 check ops status done ops_status:px-ecy-volumeexpansion-9kfd8 default VolumeExpansion px-ecy gms,dn Succeed 6/6 Sep 12,2025 14:53 UTC+0800 `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations px-ecy-volumeexpansion-9kfd8 --namespace default ` opsrequest.operations.kubeblocks.io/px-ecy-volumeexpansion-9kfd8 patched `kbcli cluster delete-ops --name px-ecy-volumeexpansion-9kfd8 --force --auto-approve --namespace default ` OpsRequest px-ecy-volumeexpansion-9kfd8 deleted cluster update terminationPolicy WipeOut `kbcli cluster update px-ecy --termination-policy=WipeOut --namespace default ` cluster.apps.kubeblocks.io/px-ecy updated check cluster status `kbcli cluster list px-ecy --show-labels --namespace default ` NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS px-ecy default WipeOut Running Sep 12,2025 14:05 UTC+0800 app.kubernetes.io/instance=px-ecy check cluster status done cluster_status:Running check pod status `kbcli cluster list-instances px-ecy --namespace default ` NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME px-ecy-cdc-0 default px-ecy cdc Running cn-guangzhou-b 600m / 600m 1181116006400m / 1181116006400m 192.168.0.70/192.168.0.70 Sep 12,2025 14:42 UTC+0800 px-ecy-cn-0 default px-ecy cn Running cn-guangzhou-b 600m / 600m 1181116006400m / 1181116006400m 192.168.0.70/192.168.0.70 Sep 12,2025 14:42 UTC+0800 px-ecy-dn-0 default px-ecy dn Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.13/192.168.0.13 Sep 12,2025 14:29 UTC+0800 px-ecy-dn-1 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:30 UTC+0800 px-ecy-dn-2 default px-ecy dn Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.70/192.168.0.70 Sep 12,2025 14:35 UTC+0800 px-ecy-gms-0 default px-ecy gms Running leader cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.12/192.168.0.12 Sep 12,2025 14:29 UTC+0800 px-ecy-gms-1 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.50/192.168.0.50 Sep 12,2025 14:30 UTC+0800 px-ecy-gms-2 default px-ecy gms Running follower cn-guangzhou-b 500m / 500m 1Gi / 1Gi data:24Gi 192.168.0.18/192.168.0.18 Sep 12,2025 14:35 UTC+0800 check pod status done `kubectl get secrets -l app.kubernetes.io/instance=px-ecy` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.username}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.password}"` `kubectl get secrets px-ecy-gms-account-polardbx-root -o jsonpath="{.data.port}"` DB_USERNAME:polardbx_root;DB_PASSWORD:5R1ufc01IilIAHrQ;DB_PORT:;DB_DATABASE: check cluster connect `echo ' echo "select 1;" | mysql -hpx-ecy-dn.default.svc.cluster.local -P3306 -upolardbx_root -p"5R1ufc01IilIAHrQ"' | kubectl exec -it px-ecy-dn-0 --namespace default -- bash ` check cluster connect done cluster list-logs `kbcli cluster list-logs px-ecy --namespace default ` No log files found. cluster logs `kbcli cluster logs px-ecy --tail 30 --namespace default ` Defaulted container "engine" out of: engine, exporter, kbagent, tools-updater (init), init-kbagent (init), kbagent-worker (init) 2025-09-12 06:29:53,925 - GalaxyEngine - INFO - finish wait for enable 2025-09-12 06:29:53,932 - AuditController - INFO - Start Audit Controller Process: ['/tools/xstore/current/venv/bin/python3', '/tools/xstore/v1.5.0-1700478258.106533/audit_controller.py'] INFO:root:Bootstrapping engine galaxy ... 2025-09-12 06:29:53,938 - GalaxyEngine - INFO - log_data_separtion False, source_path /data/mysql/log, destination_path /data/mysql/log 2025-09-12 06:29:53,938 - GalaxyEngine - INFO - log_data_separtion False, source_path /data/mysql/log, destination_path /data/mysql/log 2025-09-12 06:29:53,938 - GalaxyEngine - INFO - It not necessary to mv data because the source_path equals the destination_path 2025-09-12 06:29:53,938 - GalaxyEngine - INFO - It not necessary to mv data because the source_path equals the destination_path 2025-09-12 06:29:53,939 - GalaxyEngine - INFO - starting process... 2025-09-12 06:29:53,939 - GalaxyEngine - INFO - starting process... 2025-09-12 06:29:53,939 - GalaxyEngine - INFO - () start command: /opt/galaxy_engine/bin/mysqld_safe --defaults-file=/data/mysql/conf/my.cnf --loose-pod-name=px-ecy-gms-0 2025-09-12 06:29:53,939 - GalaxyEngine - INFO - () start command: /opt/galaxy_engine/bin/mysqld_safe --defaults-file=/data/mysql/conf/my.cnf --loose-pod-name=px-ecy-gms-0 /tools/xstore/current/venv/lib64/python3.6/site-packages/pymysql/_auth.py:8: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6. from cryptography.hazmat.backends import default_backend 2025-09-12 06:29:54,426 - AuditController - INFO - Creating mysql connection pool... 2025-09-12 06:29:54,430 - AuditController - ERROR - Creating mysql connection pool failed: 2003: Can't connect to MySQL server on 'localhost:3306' (111 Connection refused) wait mysql ready ERROR 2003 (HY000): Can't connect to MySQL server on '127.1' (111) 2025-09-12T06:29:55.541986Z mysqld_safe Logging to '/data/mysql/log/alert.log'. 2025-09-12T06:29:55.555681Z mysqld_safe Starting mysqld daemon with databases from /data/mysql/data wait mysql ready ERROR 2003 (HY000): Can't connect to MySQL server on '127.1' (111) wait mysql ready ERROR 2003 (HY000): Can't connect to MySQL server on '127.1' (111) wait mysql ready 1 1 mysql is ok 2025-09-12 06:35:29,731 - AuditController - INFO - Created a mysql connection pool with size = 3. 2025-09-12 06:35:29,731 - AuditController - INFO - Starting a Label Check Thread to listen k8s' audit label every 10 second. 2025-09-12 06:35:29,731 - AuditController - INFO - Starting a Log Flush Thread to flush audit log every 1 second. cluster logs specify instance and container `kbcli cluster logs px-ecy --tail 30 --instance px-ecy-gms-0 -c exporter --namespace default ` ts=2025-09-12T06:29:48.987Z caller=mysqld_exporter.go:277 level=info msg="Starting mysqld_exporter" version="(version=0.14.0, branch=HEAD, revision=ca1b9af82a471c849c529eb8aadb1aac73e7b68c)" ts=2025-09-12T06:29:48.987Z caller=mysqld_exporter.go:278 level=info msg="Build context" (gogo1.17.8,userroot@401d370ca42e,date20220304-16:25:15)=(MISSING) ts=2025-09-12T06:29:48.987Z caller=mysqld_exporter.go:293 level=info msg="Scraper enabled" scraper=global_status ts=2025-09-12T06:29:48.987Z caller=mysqld_exporter.go:293 level=info msg="Scraper enabled" scraper=global_variables ts=2025-09-12T06:29:48.987Z caller=mysqld_exporter.go:293 level=info msg="Scraper enabled" scraper=slave_status ts=2025-09-12T06:29:48.987Z caller=mysqld_exporter.go:293 level=info msg="Scraper enabled" scraper=info_schema.innodb_cmp ts=2025-09-12T06:29:48.987Z caller=mysqld_exporter.go:293 level=info msg="Scraper enabled" scraper=info_schema.innodb_cmpmem ts=2025-09-12T06:29:48.987Z caller=mysqld_exporter.go:293 level=info msg="Scraper enabled" scraper=info_schema.query_response_time ts=2025-09-12T06:29:48.987Z caller=mysqld_exporter.go:303 level=info msg="Listening on address" address=:9104 ts=2025-09-12T06:29:48.987Z caller=tls_config.go:195 level=info msg="TLS is disabled." http2=false delete cluster px-ecy `kbcli cluster delete px-ecy --auto-approve --namespace default ` Cluster px-ecy deleted pod_info:px-ecy-cdc-0 2/2 Running 0 12m px-ecy-cn-0 2/2 Running 0 12m px-ecy-dn-0 3/3 Running 0 25m px-ecy-dn-1 3/3 Running 0 24m px-ecy-dn-2 3/3 Running 0 19m px-ecy-gms-0 3/3 Running 0 25m px-ecy-gms-1 3/3 Running 0 24m px-ecy-gms-2 3/3 Running 0 19m pod_info:px-ecy-dn-0 3/3 Terminating 0 25m px-ecy-dn-1 3/3 Terminating 0 25m px-ecy-dn-2 3/3 Terminating 0 19m px-ecy-gms-0 3/3 Terminating 0 25m px-ecy-gms-1 3/3 Terminating 0 25m px-ecy-gms-2 3/3 Terminating 0 19m No resources found in default namespace. delete cluster pod done No resources found in default namespace. check cluster resource non-exist OK: pvc No resources found in default namespace. delete cluster done No resources found in default namespace. No resources found in default namespace. No resources found in default namespace. Polardbx Test Suite All Done! Test Engine: polardbx Test Type: 23 --------------------------------------Polardbx (Topology = Replicas 3) Test Result-------------------------------------- [PASSED]|[Create]|[ComponentDefinition=polardbx-cdc-1.0.1;ComponentVersion=polardbx-cdc;ServiceVersion=2.3.0;]|[Description=Create a cluster with the specified component definition polardbx-cdc-1.0.1 and component version polardbx-cdc and service version 2.3.0] [PASSED]|[Update]|[Monitor=true]|[Description=Update the cluster Monitor enable] [PASSED]|[HorizontalScaling Out]|[ComponentName=cn,cdc]|[Description=HorizontalScaling Out the cluster specify component cn,cdc] [PASSED]|[HorizontalScaling In]|[ComponentName=cn,cdc]|[Description=HorizontalScaling In the cluster specify component cn,cdc] [PASSED]|[Restart]|[ComponentName=cn,cdc]|[Description=Restart the cluster specify component cn,cdc] [PASSED]|[Stop]|[-]|[Description=Stop the cluster] [PASSED]|[Start]|[-]|[Description=Start the cluster] [PASSED]|[VerticalScaling]|[ComponentName=cn,cdc]|[Description=VerticalScaling the cluster specify component cn,cdc] [PASSED]|[VolumeExpansion]|[ComponentName=gms,dn]|[Description=VolumeExpansion the cluster specify component gms,dn] [PASSED]|[Update]|[TerminationPolicy=WipeOut]|[Description=Update the cluster TerminationPolicy WipeOut] [PASSED]|[Delete]|[-]|[Description=Delete the cluster] [END]