https://github.com/apecloud/apecloud-cd/actions/runs/21930235150 previous_version: kubeblocks_version:1.0.2 bash test/kbcli/test_kbcli_1.0.sh --type 2 --version 1.0.2 --service-version 17 --generate-output true --aws-access-key-id *** --aws-secret-access-key *** --jihulab-token *** --random-namespace true --region eastus --cloud-provider aks CURRENT_TEST_DIR:test/kbcli source commons files source engines files source kubeblocks files source kubedb files CLUSTER_NAME:  `kubectl get namespace | grep ns-pkqco `(B   `kubectl create namespace ns-pkqco`(B  namespace/ns-pkqco created create namespace ns-pkqco done(B download kbcli  `gh release list --repo apecloud/kbcli --limit 100 | (grep "1.0" || true)`(B   `curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s v1.0.2`(B  Your system is linux_amd64 Installing kbcli ... Downloading ... kbcli installed successfully. Kubernetes: v1.32.10 KubeBlocks: 1.0.2 kbcli: 1.0.2 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 v1.0.2 done(B Kubernetes: v1.32.10 KubeBlocks: 1.0.2 kbcli: 1.0.2 Kubernetes Env: v1.32.10 check snapshot controller check snapshot controller done(B POD_RESOURCES: aks kb-default-sc found aks default-vsc found found default storage class: default (B KubeBlocks version is:1.0.2 skip upgrade KubeBlocks(B current KubeBlocks version: 1.0.2 check component definition set component name:postgresql set component version set component version:postgresql set service versions:18.1.0,17.5.0,16.9.0,16.4.0,15.13.0,15.7.0,14.18.0,14.8.0,14.7.2,12.22.0,12.15.0,12.14.1,12.14.0 set service versions sorted:12.14.0,12.14.1,12.15.0,12.22.0,14.7.2,14.8.0,14.18.0,15.7.0,15.13.0,16.4.0,16.9.0,17.5.0,18.1.0 set postgresql component definition set postgresql component definition postgresql-18-1.0.2 REPORT_COUNT 0:0 set replicas first:2,12.14.0|2,12.14.1|2,12.15.0|2,12.22.0|2,14.7.2|2,14.8.0|2,14.18.0|2,15.7.0|2,15.13.0|2,16.4.0|2,16.9.0|2,17.5.0|2,18.1.0 set replicas second max again:2,17.5.0 REPORT_COUNT 2:1 CLUSTER_TOPOLOGY:replication cluster definition topology: replication topology replication found in cluster definition postgresql set postgresql component definition set postgresql component definition postgresql-17-1.0.2 LIMIT_CPU:0.1 LIMIT_MEMORY:0.5 storage size: 3 CLUSTER_NAME:postgres-nczgqd pod_info: termination_policy:WipeOut create 2 replica WipeOut postgresql cluster check component definition set component definition by component version check cmpd by labels set component definition1: postgresql-17-1.0.2 by component version:postgresql apiVersion: apps.kubeblocks.io/v1 kind: Cluster metadata: name: postgres-nczgqd namespace: ns-pkqco spec: clusterDef: postgresql topology: replication terminationPolicy: WipeOut componentSpecs: - name: postgresql serviceVersion: 17.5.0 labels: apps.kubeblocks.postgres.patroni/scope: postgres-nczgqd-postgresql replicas: 2 disableExporter: true resources: limits: cpu: 100m memory: 0.5Gi requests: cpu: 100m memory: 0.5Gi volumeClaimTemplates: - name: data spec: storageClassName: accessModes: - ReadWriteOnce resources: requests: storage: 3Gi  `kubectl apply -f test_create_postgres-nczgqd.yaml`(B  cluster.apps.kubeblocks.io/postgres-nczgqd created apply test_create_postgres-nczgqd.yaml Success(B  `rm -rf test_create_postgres-nczgqd.yaml`(B  check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Creating Feb 12,2026 09:59 UTC+0800 clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running primary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 09:59 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 09:59 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-0;secondary(B: postgres-nczgqd-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B  `kubectl get secrets -l app.kubernetes.io/instance=postgres-nczgqd`(B  set secret: postgres-nczgqd-postgresql-account-postgres  `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8S01fMj0p6;DB_PORT:5432;DB_DATABASE:postgres(B check pod postgres-nczgqd-postgresql-0 container_name postgresql exist password 8S01fMj0p6(B check pod postgres-nczgqd-postgresql-0 container_name pgbouncer exist password 8S01fMj0p6(B check pod postgres-nczgqd-postgresql-0 container_name dbctl exist password 8S01fMj0p6(B check pod postgres-nczgqd-postgresql-0 container_name kbagent exist password 8S01fMj0p6(B check pod postgres-nczgqd-postgresql-0 container_name config-manager exist password 8S01fMj0p6(B No container logs contain secret password.(B describe cluster  `kbcli cluster describe postgres-nczgqd --namespace ns-pkqco `(B  Name: postgres-nczgqd Created Time: Feb 12,2026 09:59 UTC+0800 NAMESPACE CLUSTER-DEFINITION TOPOLOGY STATUS TERMINATION-POLICY ns-pkqco postgresql replication Running WipeOut Endpoints: COMPONENT INTERNAL EXTERNAL postgresql postgres-nczgqd-postgresql-postgresql.ns-pkqco.svc.cluster.local:5432 postgres-nczgqd-postgresql-postgresql.ns-pkqco.svc.cluster.local:6432 Topology: COMPONENT SERVICE-VERSION INSTANCE ROLE STATUS AZ NODE CREATED-TIME postgresql 17.5.0 postgres-nczgqd-postgresql-0 primary Running 0 aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 09:59 UTC+0800 postgresql 17.5.0 postgres-nczgqd-postgresql-1 secondary Running 0 aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 09:59 UTC+0800 Resources Allocation: COMPONENT INSTANCE-TEMPLATE CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE-SIZE STORAGE-CLASS postgresql 100m / 100m 512Mi / 512Mi data:3Gi default Images: COMPONENT COMPONENT-DEFINITION IMAGE postgresql postgresql-17-1.0.2 docker.io/apecloud/spilo:17.5 docker.io/apecloud/pgbouncer:1.19.0 docker.io/apecloud/dbctl:0.2.0 docker.io/apecloud/kubeblocks-tools:1.0.2 Data Protection: BACKUP-REPO AUTO-BACKUP BACKUP-SCHEDULE BACKUP-METHOD BACKUP-RETENTION RECOVERABLE-TIME Show cluster events: kbcli cluster list-events -n ns-pkqco postgres-nczgqd  `kbcli cluster label postgres-nczgqd app.kubernetes.io/instance- --namespace ns-pkqco `(B  label "app.kubernetes.io/instance" not found.  `kbcli cluster label postgres-nczgqd app.kubernetes.io/instance=postgres-nczgqd --namespace ns-pkqco `(B   `kbcli cluster label postgres-nczgqd --list --namespace ns-pkqco `(B  NAME NAMESPACE LABELS postgres-nczgqd ns-pkqco app.kubernetes.io/instance=postgres-nczgqd clusterdefinition.kubeblocks.io/name=postgresql label cluster app.kubernetes.io/instance=postgres-nczgqd Success(B  `kbcli cluster label case.name=kbcli.test1 -l app.kubernetes.io/instance=postgres-nczgqd --namespace ns-pkqco `(B   `kbcli cluster label postgres-nczgqd --list --namespace ns-pkqco `(B  NAME NAMESPACE LABELS postgres-nczgqd ns-pkqco app.kubernetes.io/instance=postgres-nczgqd case.name=kbcli.test1 clusterdefinition.kubeblocks.io/name=postgresql label cluster case.name=kbcli.test1 Success(B  `kbcli cluster label postgres-nczgqd case.name=kbcli.test2 --overwrite --namespace ns-pkqco `(B   `kbcli cluster label postgres-nczgqd --list --namespace ns-pkqco `(B  NAME NAMESPACE LABELS postgres-nczgqd ns-pkqco app.kubernetes.io/instance=postgres-nczgqd case.name=kbcli.test2 clusterdefinition.kubeblocks.io/name=postgresql label cluster case.name=kbcli.test2 Success(B  `kbcli cluster label postgres-nczgqd case.name- --namespace ns-pkqco `(B   `kbcli cluster label postgres-nczgqd --list --namespace ns-pkqco `(B  NAME NAMESPACE LABELS postgres-nczgqd ns-pkqco app.kubernetes.io/instance=postgres-nczgqd clusterdefinition.kubeblocks.io/name=postgresql delete cluster label case.name Success(B cluster connect  `echo 'create extension vector;' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres `(B  CREATE EXTENSION List of installed extensions Name | Version | Schema | Description --------------------+---------+------------+------------------------------------------------------------------------ file_fdw | 1.0 | public | foreign-data wrapper for flat file access pg_auth_mon | 1.1 | public | monitor connection attempts per user pg_cron | 1.6 | pg_catalog | Job scheduler for PostgreSQL pg_stat_kcache | 2.3.0 | public | Kernel statistics gathering pg_stat_statements | 1.11 | public | track planning and execution statistics of all SQL statements executed plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language plpython3u | 1.0 | pg_catalog | PL/Python3U untrusted procedural language set_user | 4.1.0 | public | similar to SET ROLE but with added logging vector | 0.8.0 | public | vector data type and ivfflat and hnsw access methods (9 rows)  `echo 'show max_connections;' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres `(B  max_connections ----------------- 56 (1 row) connect cluster Success(B set max_connections to 56 insert batch data by db client  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge pods test-db-client-executionloop-postgres-nczgqd --namespace ns-pkqco `(B   `kubectl get secrets -l app.kubernetes.io/instance=postgres-nczgqd`(B  set secret: postgres-nczgqd-postgresql-account-postgres  `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8S01fMj0p6;DB_PORT:5432;DB_DATABASE:postgres(B apiVersion: v1 kind: Pod metadata: name: test-db-client-executionloop-postgres-nczgqd namespace: ns-pkqco spec: containers: - name: test-dbclient imagePullPolicy: IfNotPresent image: docker.io/apecloud/dbclient:test args: - "--host" - "postgres-nczgqd-postgresql-postgresql.ns-pkqco.svc.cluster.local" - "--user" - "postgres" - "--password" - "8S01fMj0p6" - "--port" - "5432" - "--dbtype" - "postgresql" - "--test" - "executionloop" - "--duration" - "60" - "--interval" - "1" restartPolicy: Never  `kubectl apply -f test-db-client-executionloop-postgres-nczgqd.yaml`(B  pod/test-db-client-executionloop-postgres-nczgqd created apply test-db-client-executionloop-postgres-nczgqd.yaml Success(B  `rm -rf test-db-client-executionloop-postgres-nczgqd.yaml`(B  check pod status pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 6s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 10s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 15s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 21s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 26s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 31s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 37s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 42s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 47s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 52s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 1/1 Running 0 58s(B check pod test-db-client-executionloop-postgres-nczgqd status done(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-nczgqd 0/1 Completed 0 63s(B check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running primary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 09:59 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 09:59 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-0;secondary(B: postgres-nczgqd-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B --host postgres-nczgqd-postgresql-postgresql.ns-pkqco.svc.cluster.local --user postgres --password 8S01fMj0p6 --port 5432 --dbtype postgresql --test executionloop --duration 60 --interval 1 SLF4J(I): Connected with provider of type [ch.qos.logback.classic.spi.LogbackServiceProvider] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils (file:/app/oneclient-1.0-all.jar) to field java.util.TimeZone.defaultTimeZone WARNING: Please consider reporting this to the maintainers of org.postgresql.jdbc.TimestampUtils WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Execution loop start: create databases executions_loop CREATE DATABASE executions_loop; reconnect connection executions_loop drop table executions_loop_table DROP TABLE IF EXISTS executions_loop_table; create table executions_loop_table CREATE TABLE IF NOT EXISTS executions_loop_table (id SERIAL PRIMARY KEY, value TEXT, tinyint_col SMALLINT, smallint_col SMALLINT, integer_col INTEGER, bigint_col BIGINT, real_col REAL, double_col DOUBLE PRECISION, numeric_col NUMERIC(10, 2), date_col DATE, time_col TIME, timestamp_col TIMESTAMP, timestamptz_col TIMESTAMP WITH TIME ZONE, interval_col INTERVAL, boolean_col BOOLEAN, char_col CHAR(10), varchar_col VARCHAR(255), text_col TEXT, bytea_col BYTEA, uuid_col UUID, json_col JSON, jsonb_col JSONB, xml_col XML, enum_col VARCHAR(10) CHECK (enum_col IN ('Option1', 'Option2', 'Option3')), set_col VARCHAR(255) CHECK (set_col IN ('Value1', 'Value2', 'Value3')), int_array_col INTEGER[], text_array_col TEXT[], point_col POINT, line_col LINE, lseg_col LSEG, box_col BOX, path_col PATH, polygon_col POLYGON, circle_col CIRCLE, cidr_col CIDR, inet_col INET, macaddr_col MACADDR, macaddr8_col MACADDR8, bit_col BIT(8), bit_var_col BIT VARYING(8), varbit_col BIT VARYING(8), money_col MONEY, oid_col OID, regproc_col REGPROC, regprocedure_col REGPROCEDURE, regoper_col REGOPER, regoperator_col REGOPERATOR, regclass_col REGCLASS, regtype_col REGTYPE, regrole_col REGROLE, regnamespace_col REGNAMESPACE, regconfig_col REGCONFIG, regdictionary_col REGDICTIONARY ); Execution loop start:INSERT INTO executions_loop_table (value, tinyint_col, smallint_col, integer_col, bigint_col, real_col, double_col, numeric_col, date_col, time_col, timestamp_col, timestamptz_col, interval_col, boolean_col, char_col, varchar_col, text_col, bytea_col, uuid_col, json_col, jsonb_col, xml_col, enum_col, set_col, int_array_col, text_array_col, point_col, line_col, lseg_col, box_col, path_col, polygon_col, circle_col, cidr_col, inet_col, macaddr_col, macaddr8_col, bit_col, bit_var_col, varbit_col, money_col, oid_col, regproc_col, regprocedure_col, regoper_col, regoperator_col, regclass_col, regtype_col, regrole_col, regnamespace_col, regconfig_col, regdictionary_col) VALUES ('executions_loop_test_1', 41, 28177, -509819859, -9068114108782857697, 0.50293326, 0.2030692233987016, 43.21918810409976, '2026-02-12', '02:04:13', '2026-02-12 02:04:13.343', CURRENT_TIMESTAMP, '6 hours 15 minutes 54 seconds', TRUE, 'xKI7VTOA1E', 'LZYz4f5TomIhMqkKdXiB8rWQ63FNL4QFMOqXSn0NmS4wO2RrnaEygMGwfIL978l0v3JyDENH2Ba1zA7z96Z5FWocPR6Woa5m9pJ6RPbKCdaJ0JW71yYSCWVtPq4CRtlA9wyoTUxgvac2yib2q5wqDrnqpZ8ZeDVcpisBstgGlJOCStzP6Ichc1jMTVrmGkuZ28K5Irdvm4tsxR4khESW3mmNvGiD0AgMgcZIIjoSuDmAWD9ElYmzWwFY1qoLVbQ', 'x0n0dbU6VYa4RQl2cUst0bS629xLEVH9JR85qE1flJ2zU5WgUulCUTL1uv4rIujXaLbmXJkmV6mAWqi9tc5dnXRrmKkSfF1Af6hYZTvEobtDSCGzks7AFtmydeXkNhei5mFiIPaan9zWgpFLEKWx0SprQNXBjuXxBNkm86mPBSzqUsyziQOlMvflJVzRwhAi29PU54uxu0tKIm9TcwTPLtlcnW3qKX9bh2dGTw1o6QZWgvRE6ViYxPfte41RB3L', decode('a61b1db877bd5602467e', 'hex'), '4551bae0-702c-4e49-980b-8d8e48991d3a', '{"key1": "BQL9UlvBDi", "key2": 46}', '{"key1": "KJW2qDZlRv", "key2": 16}', 'KyWbaeY7qW52', 'Option1', 'Value1', ARRAY[15, 29, 84], ARRAY['wm0FdcmTCs', '8af4BSDhPS', 'WELGAo988m'], '(56.09196929892071, 34.92903954443627)', '{2.870243561546626, 86.76251956797594, 8.721159876822993}', '[(45.81005911004823, 65.15101403930205), (10.812045293918004, 58.48466802623825)]', '((57.17764257630091, 36.34708395906724), (63.99506477362641, 29.67417855082267))', '((36.02748122048677, 95.8333659397258), (42.43893642302056, 81.60109555219948), (83.74418857666083, 87.23402072226963))', '((32.714382492774874, 57.280070583923305), (46.451050100646405, 19.26551788663764), (27.38013339878701, 28.68702516757039), (96.39488325587334, 75.11864422503442))', '<(7.988381, 8.950881), 9.895494>', '192.168.247.0/24', '192.168.198.73', '08:00:2b:01:02:03', '08:00:2b:01:02:03:04:05', B'10101010', B'10101010', B'10101010', '$510.57869962007527', 898990164, 'acos', abs(1), '#-', +1, 'pg_class', 'integer', 'postgres', 'pg_catalog', 'simple', 'english_stem' ); [ 1s ] executions total: 1 successful: 1 failed: 0 disconnect: 0 [ 2s ] executions total: 139 successful: 139 failed: 0 disconnect: 0 [ 3s ] executions total: 273 successful: 273 failed: 0 disconnect: 0 [ 4s ] executions total: 423 successful: 423 failed: 0 disconnect: 0 [ 5s ] executions total: 563 successful: 563 failed: 0 disconnect: 0 [ 6s ] executions total: 709 successful: 709 failed: 0 disconnect: 0 [ 7s ] executions total: 780 successful: 780 failed: 0 disconnect: 0 [ 8s ] executions total: 897 successful: 897 failed: 0 disconnect: 0 [ 9s ] executions total: 1035 successful: 1035 failed: 0 disconnect: 0 [ 10s ] executions total: 1168 successful: 1168 failed: 0 disconnect: 0 [ 11s ] executions total: 1241 successful: 1241 failed: 0 disconnect: 0 [ 12s ] executions total: 1258 successful: 1258 failed: 0 disconnect: 0 [ 13s ] executions total: 1348 successful: 1348 failed: 0 disconnect: 0 [ 14s ] executions total: 1496 successful: 1496 failed: 0 disconnect: 0 [ 15s ] executions total: 1627 successful: 1627 failed: 0 disconnect: 0 [ 16s ] executions total: 1762 successful: 1762 failed: 0 disconnect: 0 [ 17s ] executions total: 1894 successful: 1894 failed: 0 disconnect: 0 [ 18s ] executions total: 2008 successful: 2008 failed: 0 disconnect: 0 [ 19s ] executions total: 2139 successful: 2139 failed: 0 disconnect: 0 [ 20s ] executions total: 2279 successful: 2279 failed: 0 disconnect: 0 [ 21s ] executions total: 2375 successful: 2375 failed: 0 disconnect: 0 [ 22s ] executions total: 2512 successful: 2512 failed: 0 disconnect: 0 [ 23s ] executions total: 2629 successful: 2629 failed: 0 disconnect: 0 [ 24s ] executions total: 2768 successful: 2768 failed: 0 disconnect: 0 [ 25s ] executions total: 2900 successful: 2900 failed: 0 disconnect: 0 [ 26s ] executions total: 3035 successful: 3035 failed: 0 disconnect: 0 [ 27s ] executions total: 3057 successful: 3057 failed: 0 disconnect: 0 [ 28s ] executions total: 3066 successful: 3066 failed: 0 disconnect: 0 [ 29s ] executions total: 3075 successful: 3075 failed: 0 disconnect: 0 [ 30s ] executions total: 3088 successful: 3088 failed: 0 disconnect: 0 [ 31s ] executions total: 3124 successful: 3124 failed: 0 disconnect: 0 [ 32s ] executions total: 3259 successful: 3259 failed: 0 disconnect: 0 [ 33s ] executions total: 3402 successful: 3402 failed: 0 disconnect: 0 [ 34s ] executions total: 3509 successful: 3509 failed: 0 disconnect: 0 [ 35s ] executions total: 3627 successful: 3627 failed: 0 disconnect: 0 [ 36s ] executions total: 3739 successful: 3739 failed: 0 disconnect: 0 [ 37s ] executions total: 3871 successful: 3871 failed: 0 disconnect: 0 [ 38s ] executions total: 4007 successful: 4007 failed: 0 disconnect: 0 [ 39s ] executions total: 4113 successful: 4113 failed: 0 disconnect: 0 [ 40s ] executions total: 4223 successful: 4223 failed: 0 disconnect: 0 [ 41s ] executions total: 4295 successful: 4295 failed: 0 disconnect: 0 [ 42s ] executions total: 4316 successful: 4316 failed: 0 disconnect: 0 [ 43s ] executions total: 4320 successful: 4320 failed: 0 disconnect: 0 [ 44s ] executions total: 4468 successful: 4468 failed: 0 disconnect: 0 [ 45s ] executions total: 4588 successful: 4588 failed: 0 disconnect: 0 [ 46s ] executions total: 4717 successful: 4717 failed: 0 disconnect: 0 [ 47s ] executions total: 4864 successful: 4864 failed: 0 disconnect: 0 [ 48s ] executions total: 4982 successful: 4982 failed: 0 disconnect: 0 [ 49s ] executions total: 5109 successful: 5109 failed: 0 disconnect: 0 [ 50s ] executions total: 5170 successful: 5170 failed: 0 disconnect: 0 [ 51s ] executions total: 5296 successful: 5296 failed: 0 disconnect: 0 [ 52s ] executions total: 5437 successful: 5437 failed: 0 disconnect: 0 [ 53s ] executions total: 5541 successful: 5541 failed: 0 disconnect: 0 [ 54s ] executions total: 5688 successful: 5688 failed: 0 disconnect: 0 [ 55s ] executions total: 5726 successful: 5726 failed: 0 disconnect: 0 [ 56s ] executions total: 5736 successful: 5736 failed: 0 disconnect: 0 [ 60s ] executions total: 5753 successful: 5753 failed: 0 disconnect: 0 Test Result: Total Executions: 5753 Successful Executions: 5753 Failed Executions: 0 Disconnection Counts: 0 Connection Information: Database Type: postgresql Host: postgres-nczgqd-postgresql-postgresql.ns-pkqco.svc.cluster.local Port: 5432 Database: Table: User: postgres Org: Access Mode: mysql Test Type: executionloop Query: Duration: 60 seconds Interval: 1 seconds DB_CLIENT_BATCH_DATA_COUNT: 5753  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge pods test-db-client-executionloop-postgres-nczgqd --namespace ns-pkqco `(B  pod/test-db-client-executionloop-postgres-nczgqd patched (no change) pod "test-db-client-executionloop-postgres-nczgqd" force deleted check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster vscale postgres-nczgqd --auto-approve --force=true --components postgresql --cpu 200m --memory 0.6Gi --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-verticalscaling-lsmlk created successfully, you can view the progress: kbcli cluster describe-ops postgres-nczgqd-verticalscaling-lsmlk -n ns-pkqco check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-verticalscaling-lsmlk ns-pkqco VerticalScaling postgres-nczgqd postgresql Running 0/2 Feb 12,2026 10:05 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:07 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:05 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-verticalscaling-lsmlk ns-pkqco VerticalScaling postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:05 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-verticalscaling-lsmlk ns-pkqco VerticalScaling postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:05 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-verticalscaling-lsmlk --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-verticalscaling-lsmlk patched  `kbcli cluster delete-ops --name postgres-nczgqd-verticalscaling-lsmlk --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-verticalscaling-lsmlk deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B test failover (B check cluster status before cluster-failover- check cluster status done(B cluster_status:Running(B delete pod:postgres-nczgqd-postgresql-1  `kubectl delete pod postgres-nczgqd-postgresql-1 --force --namespace ns-pkqco `(B  pod "postgres-nczgqd-postgresql-1" force deleted check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:07 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:08 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check failover pod name failover pod name:postgres-nczgqd-postgresql-1 checking failover...(B  `kubectl delete pod postgres-nczgqd-postgresql-1 --force --namespace ns-pkqco `(B  pod "postgres-nczgqd-postgresql-1" force deleted check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:07 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:09 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B failover pod name:postgres-nczgqd-postgresql-1 checking failover...(B  `kubectl delete pod postgres-nczgqd-postgresql-1 --force --namespace ns-pkqco `(B  pod "postgres-nczgqd-postgresql-1" force deleted check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:07 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:10 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B failover pod name:postgres-nczgqd-postgresql-1 checking failover...(B  `kubectl delete pod postgres-nczgqd-postgresql-1 --force --namespace ns-pkqco `(B  pod "postgres-nczgqd-postgresql-1" force deleted check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:07 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:10 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B failover pod name:postgres-nczgqd-postgresql-1 checking failover...(B  `kubectl delete pod postgres-nczgqd-postgresql-1 --force --namespace ns-pkqco `(B  pod "postgres-nczgqd-postgresql-1" force deleted check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:07 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:11 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B failover pod name:postgres-nczgqd-postgresql-1 checking failover...(B  `kubectl delete pod postgres-nczgqd-postgresql-1 --force --namespace ns-pkqco `(B  pod "postgres-nczgqd-postgresql-1" force deleted check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:07 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:11 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check failover pod name timeout(B check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B cluster restart check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster restart postgres-nczgqd --auto-approve --force=true --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-restart-w4vzs created successfully, you can view the progress: kbcli cluster describe-ops postgres-nczgqd-restart-w4vzs -n ns-pkqco check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-restart-w4vzs ns-pkqco Restart postgres-nczgqd postgresql Running 0/2 Feb 12,2026 10:12 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:12 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:14 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-0;secondary(B: postgres-nczgqd-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-restart-w4vzs ns-pkqco Restart postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:12 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-restart-w4vzs ns-pkqco Restart postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:12 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-restart-w4vzs --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-restart-w4vzs patched  `kbcli cluster delete-ops --name postgres-nczgqd-restart-w4vzs --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-restart-w4vzs deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B  `kubectl get pvc -l app.kubernetes.io/instance=postgres-nczgqd,apps.kubeblocks.io/component-name=postgresql,apps.kubeblocks.io/vct-name=data --namespace ns-pkqco `(B  cluster volume-expand check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster volume-expand postgres-nczgqd --auto-approve --force=true --components postgresql --volume-claim-templates data --storage 6Gi --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-volumeexpansion-qcrbw created successfully, you can view the progress: kbcli cluster describe-ops postgres-nczgqd-volumeexpansion-qcrbw -n ns-pkqco check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-volumeexpansion-qcrbw ns-pkqco VolumeExpansion postgres-nczgqd postgresql Running 0/2 Feb 12,2026 10:14 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:12 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:14 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-0;secondary(B: postgres-nczgqd-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-volumeexpansion-qcrbw ns-pkqco VolumeExpansion postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:14 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-volumeexpansion-qcrbw ns-pkqco VolumeExpansion postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:14 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-volumeexpansion-qcrbw --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-volumeexpansion-qcrbw patched  `kbcli cluster delete-ops --name postgres-nczgqd-volumeexpansion-qcrbw --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-volumeexpansion-qcrbw deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B cluster configure component_tmp: postgresql apiVersion: operations.kubeblocks.io/v1alpha1 kind: OpsRequest metadata: generateName: postgres-nczgqd-reconfiguring- namespace: ns-pkqco spec: type: Reconfiguring clusterName: postgres-nczgqd force: true reconfigures: - componentName: postgresql parameters: - key: shared_buffers value: '512MB' check cluster status before ops check cluster status done(B cluster_status:Running(B  `kubectl create -f test_ops_cluster_postgres-nczgqd.yaml`(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-reconfiguring-mq7k7 created create test_ops_cluster_postgres-nczgqd.yaml Success(B  `rm -rf test_ops_cluster_postgres-nczgqd.yaml`(B  check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-reconfiguring-mq7k7 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Running -/- Feb 12,2026 10:19 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:21 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:20 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-reconfiguring-mq7k7 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:19 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-reconfiguring-mq7k7 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:19 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-reconfiguring-mq7k7 --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-reconfiguring-mq7k7 patched  `kbcli cluster delete-ops --name postgres-nczgqd-reconfiguring-mq7k7 --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-reconfiguring-mq7k7 deleted component_config:postgresql check config variables current value_actual: 512MB configure:[shared_buffers] result actual:[512MB] equal expected:[512MB](B check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B cluster postgresql scale-out cluster postgresql scale-out replicas: 3 check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster scale-out postgres-nczgqd --auto-approve --force=true --components postgresql --replicas 1 --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-horizontalscaling-jb4l7 created successfully, you can view the progress: kbcli cluster describe-ops postgres-nczgqd-horizontalscaling-jb4l7 -n ns-pkqco check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-horizontalscaling-jb4l7 ns-pkqco HorizontalScaling postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:22 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:21 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:20 UTC+0800 postgres-nczgqd-postgresql-2 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:22 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 postgres-nczgqd-postgresql-2 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-horizontalscaling-jb4l7 ns-pkqco HorizontalScaling postgres-nczgqd postgresql Succeed 1/1 Feb 12,2026 10:22 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-horizontalscaling-jb4l7 ns-pkqco HorizontalScaling postgres-nczgqd postgresql Succeed 1/1 Feb 12,2026 10:22 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-horizontalscaling-jb4l7 --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-horizontalscaling-jb4l7 patched  `kbcli cluster delete-ops --name postgres-nczgqd-horizontalscaling-jb4l7 --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-horizontalscaling-jb4l7 deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B cluster postgresql scale-in cluster postgresql scale-in replicas: 2 check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster scale-in postgres-nczgqd --auto-approve --force=true --components postgresql --replicas 1 --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-horizontalscaling-d4sds created successfully, you can view the progress: kbcli cluster describe-ops postgres-nczgqd-horizontalscaling-d4sds -n ns-pkqco check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-horizontalscaling-d4sds ns-pkqco HorizontalScaling postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:28 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:21 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:20 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-horizontalscaling-d4sds ns-pkqco HorizontalScaling postgres-nczgqd postgresql Succeed 1/1 Feb 12,2026 10:28 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-horizontalscaling-d4sds ns-pkqco HorizontalScaling postgres-nczgqd postgresql Succeed 1/1 Feb 12,2026 10:28 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-horizontalscaling-d4sds --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-horizontalscaling-d4sds patched  `kbcli cluster delete-ops --name postgres-nczgqd-horizontalscaling-d4sds --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-horizontalscaling-d4sds deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B cluster update terminationPolicy WipeOut  `kbcli cluster update postgres-nczgqd --termination-policy=WipeOut --namespace ns-pkqco `(B  cluster.apps.kubeblocks.io/postgres-nczgqd updated (no change) check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:21 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:20 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B  `kubectl get backupschedule -l app.kubernetes.io/instance=postgres-nczgqd `(B   `kubectl get backupschedule postgres-nczgqd-postgresql-backup-schedule -ojsonpath='{.spec.schedules[*].backupMethod}' `(B  backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched cluster wal-g backup  `kubectl get backuprepo backuprepo-kbcli-test -o jsonpath="{.spec.credential.name}"`(B   `kubectl get backuprepo backuprepo-kbcli-test -o jsonpath="{.spec.credential.namespace}"`(B   `kubectl get secrets kb-backuprepo-pn64t -n kb-wrwyg -o jsonpath="{.data.accessKeyId}"`(B   `kubectl get secrets kb-backuprepo-pn64t -n kb-wrwyg -o jsonpath="{.data.secretAccessKey}"`(B  KUBEBLOCKS NAMESPACE:kb-wrwyg get kubeblocks namespace done(B  `kubectl get secrets -l app.kubernetes.io/instance=kbcli-test-minio --namespace kb-wrwyg -o jsonpath="{.items[0].data.root-user}"`(B   `kubectl get secrets -l app.kubernetes.io/instance=kbcli-test-minio --namespace kb-wrwyg -o jsonpath="{.items[0].data.root-password}"`(B  minio_user:kbclitest,minio_password:kbclitest,minio_endpoint:kbcli-test-minio.kb-wrwyg.svc.cluster.local:9000 list minio bucket kbcli-test  `echo 'mc alias set minioserver http://kbcli-test-minio.kb-wrwyg.svc.cluster.local:9000 kbclitest kbclitest;mc ls minioserver' | kubectl exec -it kbcli-test-minio-546f6447c7-cvf8k --namespace kb-wrwyg -- bash`(B  list minio bucket done(B default backuprepo:backuprepo-kbcli-test exists(B  `kbcli cluster backup postgres-nczgqd --method wal-g --namespace ns-pkqco `(B  Backup backup-ns-pkqco-postgres-nczgqd-20260212102925 created successfully, you can view the progress: kbcli cluster list-backups --names=backup-ns-pkqco-postgres-nczgqd-20260212102925 -n ns-pkqco check backup status  `kbcli cluster list-backups postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE SOURCE-CLUSTER METHOD STATUS TOTAL-SIZE DURATION DELETION-POLICY CREATE-TIME COMPLETION-TIME EXPIRATION 0d737d27-postgres-nczgqd-postg-wal-g-archive ns-pkqco postgres-nczgqd wal-g-archive Running(AvailablePods: 1) Delete Feb 12,2026 10:29 UTC+0800 backup-ns-pkqco-postgres-nczgqd-20260212102925 ns-pkqco postgres-nczgqd wal-g Running Delete Feb 12,2026 10:29 UTC+0800 backup_status:postgres-nczgqd-wal-g-Running(B backup_status:postgres-nczgqd-wal-g-Running(B check backup status done(B backup_status:backup-ns-pkqco-postgres-nczgqd-20260212102925 ns-pkqco postgres-nczgqd wal-g Completed 8263472 11s Delete Feb 12,2026 10:29 UTC+0800 Feb 12,2026 10:29 UTC+0800 (B  `create table if not exists msg(id SERIAL PRIMARY KEY, msg text, time timestamp);insert into msg (msg, time) values ('kbcli-test-data-nczgqd0', now());`(B  CREATE TABLE INSERT 0 1  `insert into msg (msg, time) values ('kbcli-test-data-nczgqd1', now());`(B  INSERT 0 1 pg_switch_wal --------------- 0/17013278 (1 row)  `insert into msg (msg, time) values ('kbcli-test-data-nczgqd2', now());`(B  INSERT 0 1 pg_switch_wal --------------- 0/18000140 (1 row) checking recoverable time 1 (B recoverable time:Feb 12,2026 10:29:43 UTC+0800(B check recoverable time 1 done(B recoverable time:Feb 12,2026 10:29:54 UTC+0800(B cluster restore-to-time backup  `kbcli cluster restore postgres-nczgqd-backup --backup 0d737d27-postgres-nczgqd-postg-wal-g-archive --restore-to-time "Feb 12,2026 10:29:54 UTC+0800" --namespace ns-pkqco `(B  Cluster postgres-nczgqd-backup created check cluster status  `kbcli cluster list postgres-nczgqd-backup --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd-backup ns-pkqco postgresql WipeOut Creating Feb 12,2026 10:30 UTC+0800 clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd-backup --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-backup-postgresql-0 ns-pkqco postgres-nczgqd-backup postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:34 UTC+0800 postgres-nczgqd-backup-postgresql-1 ns-pkqco postgres-nczgqd-backup postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:34 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-backup-postgresql-0;secondary(B: postgres-nczgqd-backup-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-backup-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B  `select * from msg;`(B  id | msg | time ----+-------------------------+---------------------------- 1 | kbcli-test-data-nczgqd0 | 2026-02-12 02:29:39.232429 2 | kbcli-test-data-nczgqd1 | 2026-02-12 02:29:43.190248 (2 rows) Point-In-Time Recovery Success(B delete cluster postgres-nczgqd-backup  `kbcli cluster delete postgres-nczgqd-backup --auto-approve --namespace ns-pkqco `(B  pod_info:postgres-nczgqd-backup-postgresql-0 5/5 Running 0 2m12s postgres-nczgqd-backup-postgresql-1 5/5 Running 0 2m12s Cluster postgres-nczgqd-backup deleted pod_info:postgres-nczgqd-backup-postgresql-0 5/5 Terminating 0 2m33s postgres-nczgqd-backup-postgresql-1 5/5 Terminating 0 2m33s delete cluster pod done(B check cluster resource non-exist OK: pvc(B delete cluster done(B cluster restore backup  `kbcli cluster describe-backup --names backup-ns-pkqco-postgres-nczgqd-20260212102925 --namespace ns-pkqco `(B  Name: backup-ns-pkqco-postgres-nczgqd-20260212102925 Cluster: postgres-nczgqd Namespace: ns-pkqco Spec: Method: wal-g Policy Name: postgres-nczgqd-postgresql-backup-policy Actions: dp-backup-0: ActionType: Job WorkloadName: dp-backup-0-backup-ns-pkqco-postgres-nczgqd-20260212102925-2b17 TargetPodName: postgres-nczgqd-postgresql-1 Phase: Completed Start Time: Feb 12,2026 10:29 UTC+0800 Completion Time: Feb 12,2026 10:29 UTC+0800 Extras: =================== 1 =================== walGBackupName: base_0000000A0000000000000015 Status: Phase: Completed Total Size: 8263472 ActionSet Name: postgresql-wal-g Repository: backuprepo-kbcli-test Duration: 11s Start Time: Feb 12,2026 10:29 UTC+0800 Completion Time: Feb 12,2026 10:29 UTC+0800 Path: /ns-pkqco/postgres-nczgqd-0d737d27-36c6-4a49-a643-94b00aa02612/postgresql/backup-ns-pkqco-postgres-nczgqd-20260212102925 Time Range Start: Feb 12,2026 10:29 UTC+0800 Time Range End: Feb 12,2026 10:29 UTC+0800 Warning Events:  `kbcli cluster restore postgres-nczgqd-backup --backup backup-ns-pkqco-postgres-nczgqd-20260212102925 --namespace ns-pkqco `(B  Cluster postgres-nczgqd-backup created check cluster status  `kbcli cluster list postgres-nczgqd-backup --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd-backup ns-pkqco postgresql WipeOut Creating Feb 12,2026 10:37 UTC+0800 clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd-backup --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-backup-postgresql-0 ns-pkqco postgres-nczgqd-backup postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:38 UTC+0800 postgres-nczgqd-backup-postgresql-1 ns-pkqco postgres-nczgqd-backup postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:38 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-backup-postgresql-1;secondary(B: postgres-nczgqd-backup-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-backup-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B  `kbcli cluster describe-backup --names backup-ns-pkqco-postgres-nczgqd-20260212102925 --namespace ns-pkqco `(B  Name: backup-ns-pkqco-postgres-nczgqd-20260212102925 Cluster: postgres-nczgqd Namespace: ns-pkqco Spec: Method: wal-g Policy Name: postgres-nczgqd-postgresql-backup-policy Actions: dp-backup-0: ActionType: Job WorkloadName: dp-backup-0-backup-ns-pkqco-postgres-nczgqd-20260212102925-2b17 TargetPodName: postgres-nczgqd-postgresql-1 Phase: Completed Start Time: Feb 12,2026 10:29 UTC+0800 Completion Time: Feb 12,2026 10:29 UTC+0800 Extras: =================== 1 =================== walGBackupName: base_0000000A0000000000000015 Status: Phase: Completed Total Size: 8263472 ActionSet Name: postgresql-wal-g Repository: backuprepo-kbcli-test Duration: 11s Start Time: Feb 12,2026 10:29 UTC+0800 Completion Time: Feb 12,2026 10:29 UTC+0800 Path: /ns-pkqco/postgres-nczgqd-0d737d27-36c6-4a49-a643-94b00aa02612/postgresql/backup-ns-pkqco-postgres-nczgqd-20260212102925 Time Range Start: Feb 12,2026 10:29 UTC+0800 Time Range End: Feb 12,2026 10:29 UTC+0800 Warning Events:  `kubectl get secrets -l app.kubernetes.io/instance=postgres-nczgqd`(B  set secret: postgres-nczgqd-postgresql-account-postgres  `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8S01fMj0p6;DB_PORT:5432;DB_DATABASE:postgres(B  `echo 'DROP TABLE msg;' | kubectl exec -it postgres-nczgqd-postgresql-1 -n default -- psql -U postgres `(B   `kubectl get backupschedule -l app.kubernetes.io/instance=postgres-nczgqd `(B   `kubectl get backupschedule postgres-nczgqd-postgresql-backup-schedule -ojsonpath='{.spec.schedules[*].backupMethod}' `(B  backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule patched cluster connect  `echo 'create extension vector;' | kubectl exec -it postgres-nczgqd-backup-postgresql-1 --namespace ns-pkqco -- psql -U postgres `(B  List of installed extensions Name | Version | Schema | Description --------------------+---------+------------+------------------------------------------------------------------------ file_fdw | 1.0 | public | foreign-data wrapper for flat file access pg_auth_mon | 1.1 | public | monitor connection attempts per user pg_cron | 1.6 | pg_catalog | Job scheduler for PostgreSQL pg_stat_kcache | 2.3.0 | public | Kernel statistics gathering pg_stat_statements | 1.11 | public | track planning and execution statistics of all SQL statements executed plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language plpython3u | 1.0 | pg_catalog | PL/Python3U untrusted procedural language set_user | 4.1.0 | public | similar to SET ROLE but with added logging vector | 0.8.0 | public | vector data type and ivfflat and hnsw access methods (9 rows)  `echo 'show max_connections;' | kubectl exec -it postgres-nczgqd-backup-postgresql-1 --namespace ns-pkqco -- psql -U postgres `(B  max_connections ----------------- 67 (1 row) connect cluster Success(B set max_connections to 67 delete cluster postgres-nczgqd-backup  `kbcli cluster delete postgres-nczgqd-backup --auto-approve --namespace ns-pkqco `(B  pod_info:postgres-nczgqd-backup-postgresql-0 5/5 Running 0 112s postgres-nczgqd-backup-postgresql-1 5/5 Running 0 112s Cluster postgres-nczgqd-backup deleted pod_info:postgres-nczgqd-backup-postgresql-0 5/5 Terminating 0 2m13s postgres-nczgqd-backup-postgresql-1 5/5 Terminating 0 2m13s delete cluster pod done(B check cluster resource non-exist OK: pvc(B delete cluster done(B cluster delete backup  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge backups 0d737d27-postgres-nczgqd-postg-wal-g-archive --namespace ns-pkqco `(B  backup.dataprotection.kubeblocks.io/0d737d27-postgres-nczgqd-postg-wal-g-archive patched  `kbcli cluster delete-backup postgres-nczgqd --name 0d737d27-postgres-nczgqd-postg-wal-g-archive --force --auto-approve --namespace ns-pkqco `(B  Backup 0d737d27-postgres-nczgqd-postg-wal-g-archive deleted  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge backups backup-ns-pkqco-postgres-nczgqd-20260212102925 --namespace ns-pkqco `(B  backup.dataprotection.kubeblocks.io/backup-ns-pkqco-postgres-nczgqd-20260212102925 patched  `kbcli cluster delete-backup postgres-nczgqd --name backup-ns-pkqco-postgres-nczgqd-20260212102925 --force --auto-approve --namespace ns-pkqco `(B  Backup backup-ns-pkqco-postgres-nczgqd-20260212102925 deleted test switchover(B cluster promote check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster promote postgres-nczgqd --auto-approve --force=true --instance postgres-nczgqd-postgresql-1 --candidate postgres-nczgqd-postgresql-0 --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-switchover-n4t52 created successfully, you can view the progress: kbcli cluster describe-ops postgres-nczgqd-switchover-n4t52 -n ns-pkqco check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-postgresql-backup-schedule-enable-1 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:29 UTC+0800 postgres-nczgqd-postgresql-backup-schedule-disable-2 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:39 UTC+0800 postgres-nczgqd-switchover-n4t52 ns-pkqco Switchover postgres-nczgqd postgres-nczgqd-postgresql Running -/- Feb 12,2026 10:40 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:21 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:20 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-0;secondary(B: postgres-nczgqd-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-postgresql-backup-schedule-enable-1 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:29 UTC+0800 postgres-nczgqd-postgresql-backup-schedule-disable-2 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:39 UTC+0800 postgres-nczgqd-switchover-n4t52 ns-pkqco Switchover postgres-nczgqd postgres-nczgqd-postgresql Succeed 1/1 Feb 12,2026 10:40 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-switchover-n4t52 ns-pkqco Switchover postgres-nczgqd postgres-nczgqd-postgresql Succeed 1/1 Feb 12,2026 10:40 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-switchover-n4t52 --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-switchover-n4t52 patched  `kbcli cluster delete-ops --name postgres-nczgqd-switchover-n4t52 --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-switchover-n4t52 deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B switchover pod:postgres-nczgqd-postgresql-0 switchover success(B  `kubectl get secrets -l app.kubernetes.io/instance=postgres-nczgqd`(B  set secret: postgres-nczgqd-postgresql-account-postgres  `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8S01fMj0p6;DB_PORT:5432;DB_DATABASE:postgres(B  `create database benchtest;`(B  return msg:DROP DATABASE CREATE DATABASE apiVersion: v1 kind: Pod metadata: name: benchtest-postgres-nczgqd namespace: ns-pkqco spec: containers: - name: test-sysbench imagePullPolicy: IfNotPresent image: docker.io/apecloud/customsuites:latest env: - name: TYPE value: "2" - name: FLAG value: "0" - name: CONFIGS value: "mode:all,driver:pgsql,host:postgres-nczgqd-postgresql-postgresql.ns-pkqco.svc.cluster.local,user:postgres,password:8S01fMj0p6,port:5432,db:benchtest,tables:5,threads:4,times:10,size:1000,type:oltp_read_write" restartPolicy: Never  `kubectl apply -f benchtest-postgres-nczgqd.yaml`(B  pod/benchtest-postgres-nczgqd created apply benchtest-postgres-nczgqd.yaml Success(B check pod status pod_status:NAME READY STATUS RESTARTS AGE benchtest-postgres-nczgqd 0/1 ContainerCreating 0 0s(B pod_status:NAME READY STATUS RESTARTS AGE benchtest-postgres-nczgqd 1/1 Running 0 5s(B pod_status:NAME READY STATUS RESTARTS AGE benchtest-postgres-nczgqd 1/1 Running 0 10s(B check pod benchtest-postgres-nczgqd status done(B pod_status:NAME READY STATUS RESTARTS AGE benchtest-postgres-nczgqd 0/1 Completed 0 15s(B  `rm -rf benchtest-postgres-nczgqd.yaml`(B   `kubectl logs benchtest-postgres-nczgqd --tail 30 --namespace ns-pkqco `(B  [ 7s ] thds: 4 tps: 84.02 qps: 1712.41 (r/w/o: 1204.29/336.08/172.04) lat (ms,99%): 97.55 err/s: 0.00 reconn/s: 0.00 [ 8s ] thds: 4 tps: 47.99 qps: 986.85 (r/w/o: 686.90/197.97/101.98) lat (ms,99%): 104.84 err/s: 2.00 reconn/s: 0.00 [ 9s ] thds: 4 tps: 83.01 qps: 1664.19 (r/w/o: 1170.14/326.04/168.02) lat (ms,99%): 101.13 err/s: 0.00 reconn/s: 0.00 [ 10s ] thds: 4 tps: 79.00 qps: 1581.92 (r/w/o: 1103.94/313.98/163.99) lat (ms,99%): 97.55 err/s: 0.00 reconn/s: 0.00 SQL statistics: queries performed: read: 9716 write: 2719 other: 1417 total: 13852 transactions: 680 (67.94 per sec.) queries: 13852 (1383.93 per sec.) ignored errors: 14 (1.40 per sec.) reconnects: 0 (0.00 per sec.) General statistics: total time: 10.0077s total number of events: 680 Latency (ms): min: 5.55 avg: 58.85 max: 202.76 99th percentile: 193.38 sum: 40015.05 Threads fairness: events (avg/stddev): 170.0000/2.12 execution time (avg/stddev): 10.0038/0.00  `kubectl delete pod benchtest-postgres-nczgqd --force --namespace ns-pkqco `(B  pod "benchtest-postgres-nczgqd" force deleted test failover connectionstress(B check cluster status before cluster-failover-connectionstress check cluster status done(B cluster_status:Running(B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge pods test-db-client-connectionstress-postgres-nczgqd --namespace ns-pkqco `(B   `kubectl get secrets -l app.kubernetes.io/instance=postgres-nczgqd`(B  set secret: postgres-nczgqd-postgresql-account-postgres  `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-nczgqd-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8S01fMj0p6;DB_PORT:5432;DB_DATABASE:postgres(B apiVersion: v1 kind: Pod metadata: name: test-db-client-connectionstress-postgres-nczgqd namespace: ns-pkqco spec: containers: - name: test-dbclient imagePullPolicy: IfNotPresent image: docker.io/apecloud/dbclient:test args: - "--host" - "postgres-nczgqd-postgresql-postgresql.ns-pkqco.svc.cluster.local" - "--user" - "postgres" - "--password" - "8S01fMj0p6" - "--port" - "5432" - "--database" - "postgres" - "--dbtype" - "postgresql" - "--test" - "connectionstress" - "--connections" - "67" - "--duration" - "60" restartPolicy: Never  `kubectl apply -f test-db-client-connectionstress-postgres-nczgqd.yaml`(B  pod/test-db-client-connectionstress-postgres-nczgqd created apply test-db-client-connectionstress-postgres-nczgqd.yaml Success(B  `rm -rf test-db-client-connectionstress-postgres-nczgqd.yaml`(B  check pod status check pod test-db-client-connectionstress-postgres-nczgqd status done(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstress-postgres-nczgqd 0/1 Completed 0 5s(B check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:21 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:20 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-0;secondary(B: postgres-nczgqd-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B org.postgresql.util.PSQLException: FATAL: sorry, too many clients already at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:438) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:222) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) at org.postgresql.jdbc.PgConnection.(PgConnection.java:194) at org.postgresql.Driver.makeConnection(Driver.java:431) at org.postgresql.Driver.connect(Driver.java:247) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at com.apecloud.dbtester.tester.PostgreSQLTester.connect(PostgreSQLTester.java:64) at com.apecloud.dbtester.tester.PostgreSQLTester.connectionStress(PostgreSQLTester.java:115) at com.apecloud.dbtester.commons.TestExecutor.executeTest(TestExecutor.java:37) at OneClient.executeTest(OneClient.java:108) at OneClient.main(OneClient.java:40) java.io.IOException: Failed to connect to PostgreSQL database: at com.apecloud.dbtester.tester.PostgreSQLTester.connect(PostgreSQLTester.java:66) at com.apecloud.dbtester.tester.PostgreSQLTester.connectionStress(PostgreSQLTester.java:115) at com.apecloud.dbtester.commons.TestExecutor.executeTest(TestExecutor.java:37) at OneClient.executeTest(OneClient.java:108) at OneClient.main(OneClient.java:40) Caused by: org.postgresql.util.PSQLException: FATAL: sorry, too many clients already at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:438) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:222) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) at org.postgresql.jdbc.PgConnection.(PgConnection.java:194) at org.postgresql.Driver.makeConnection(Driver.java:431) at org.postgresql.Driver.connect(Driver.java:247) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at com.apecloud.dbtester.tester.PostgreSQLTester.connect(PostgreSQLTester.java:64) ... 4 more Feb 12, 2026 2:43:23 AM org.postgresql.Driver connect SEVERE: Connection error: org.postgresql.util.PSQLException: FATAL: sorry, too many clients already at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:438) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:222) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) at org.postgresql.jdbc.PgConnection.(PgConnection.java:194) at org.postgresql.Driver.makeConnection(Driver.java:431) at org.postgresql.Driver.connect(Driver.java:247) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at com.apecloud.dbtester.tester.PostgreSQLTester.connect(PostgreSQLTester.java:59) at com.apecloud.dbtester.tester.PostgreSQLTester.connectionStress(PostgreSQLTester.java:115) at com.apecloud.dbtester.commons.TestExecutor.executeTest(TestExecutor.java:37) at OneClient.executeTest(OneClient.java:108) at OneClient.main(OneClient.java:40) Failed to connect to PostgreSQL database: org.postgresql.util.PSQLException: FATAL: sorry, too many clients already Trying with database PostgreSQL. Feb 12, 2026 2:43:23 AM org.postgresql.Driver connect SEVERE: Connection error: org.postgresql.util.PSQLException: FATAL: sorry, too many clients already at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:438) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:222) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) at org.postgresql.jdbc.PgConnection.(PgConnection.java:194) at org.postgresql.Driver.makeConnection(Driver.java:431) at org.postgresql.Driver.connect(Driver.java:247) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at com.apecloud.dbtester.tester.PostgreSQLTester.connect(PostgreSQLTester.java:64) at com.apecloud.dbtester.tester.PostgreSQLTester.connectionStress(PostgreSQLTester.java:115) at com.apecloud.dbtester.commons.TestExecutor.executeTest(TestExecutor.java:37) at OneClient.executeTest(OneClient.java:108) at OneClient.main(OneClient.java:40) java.io.IOException: Failed to connect to PostgreSQL database: at com.apecloud.dbtester.tester.PostgreSQLTester.connect(PostgreSQLTester.java:66) at com.apecloud.dbtester.tester.PostgreSQLTester.connectionStress(PostgreSQLTester.java:115) at com.apecloud.dbtester.commons.TestExecutor.executeTest(TestExecutor.java:37) at OneClient.executeTest(OneClient.java:108) at OneClient.main(OneClient.java:40) Caused by: org.postgresql.util.PSQLException: FATAL: sorry, too many clients already at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:438) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:222) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) at org.postgresql.jdbc.PgConnection.(PgConnection.java:194) at org.postgresql.Driver.makeConnection(Driver.java:431) at org.postgresql.Driver.connect(Driver.java:247) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at java.sql/java.sql.DriverManager.getConnection(Unknown Source) at com.apecloud.dbtester.tester.PostgreSQLTester.connect(PostgreSQLTester.java:64) ... 4 more Test Result: null Connection Information: Database Type: postgresql Host: postgres-nczgqd-postgresql-postgresql.ns-pkqco.svc.cluster.local Port: 5432 Database: postgres Table: User: postgres Org: Access Mode: mysql Test Type: connectionstress Connection Count: 67 Duration: 60 seconds  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge pods test-db-client-connectionstress-postgres-nczgqd --namespace ns-pkqco `(B  pod/test-db-client-connectionstress-postgres-nczgqd patched (no change) pod "test-db-client-connectionstress-postgres-nczgqd" force deleted check failover pod name failover pod name:postgres-nczgqd-postgresql-0 failover connectionstress Success(B check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B test failover kill1(B check cluster status before cluster-failover-kill1 check cluster status done(B cluster_status:Running(B  `kill 1`(B  exec return message: check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Error primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:21 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:20 UTC+0800 check pod status done(B check cluster role primary(B: postgres-nczgqd-postgresql-0 postgres-nczgqd-postgresql-1;secondary(B: primary(B: postgres-nczgqd-postgresql-0 postgres-nczgqd-postgresql-1;secondary(B: primary(B: postgres-nczgqd-postgresql-0 postgres-nczgqd-postgresql-1;secondary(B: primary(B: postgres-nczgqd-postgresql-0 postgres-nczgqd-postgresql-1;secondary(B: check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check failover pod name failover pod name:postgres-nczgqd-postgresql-1 failover kill1 Success(B check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B cluster configure component_tmp: postgresql apiVersion: operations.kubeblocks.io/v1alpha1 kind: OpsRequest metadata: generateName: postgres-nczgqd-reconfiguring- namespace: ns-pkqco spec: type: Reconfiguring clusterName: postgres-nczgqd force: true reconfigures: - componentName: postgresql parameters: - key: max_connections value: '200' check cluster status before ops check cluster status done(B cluster_status:Running(B  `kubectl create -f test_ops_cluster_postgres-nczgqd.yaml`(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-reconfiguring-qqv6f created create test_ops_cluster_postgres-nczgqd.yaml Success(B  `rm -rf test_ops_cluster_postgres-nczgqd.yaml`(B  check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-postgresql-backup-schedule-enable-1 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:29 UTC+0800 postgres-nczgqd-postgresql-backup-schedule-disable-2 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:39 UTC+0800 postgres-nczgqd-reconfiguring-qqv6f ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Running -/- Feb 12,2026 10:44 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:21 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:20 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-postgresql-backup-schedule-enable-1 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:29 UTC+0800 postgres-nczgqd-postgresql-backup-schedule-disable-2 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:39 UTC+0800 postgres-nczgqd-reconfiguring-qqv6f ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:44 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-postgresql-backup-schedule-enable-1 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:29 UTC+0800 postgres-nczgqd-postgresql-backup-schedule-disable-2 ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:39 UTC+0800 postgres-nczgqd-reconfiguring-qqv6f ns-pkqco Reconfiguring postgres-nczgqd postgresql,postgresql Succeed -/- Feb 12,2026 10:44 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-postgresql-backup-schedule-enable-1 --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule-enable-1 patched  `kbcli cluster delete-ops --name postgres-nczgqd-postgresql-backup-schedule-enable-1 --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-postgresql-backup-schedule-enable-1 deleted  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-postgresql-backup-schedule-disable-2 --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-postgresql-backup-schedule-disable-2 patched  `kbcli cluster delete-ops --name postgres-nczgqd-postgresql-backup-schedule-disable-2 --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-postgresql-backup-schedule-disable-2 deleted  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-reconfiguring-qqv6f --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-reconfiguring-qqv6f patched  `kbcli cluster delete-ops --name postgres-nczgqd-reconfiguring-qqv6f --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-reconfiguring-qqv6f deleted component_config:postgresql check config variables current value_actual: 200 configure:[max_connections] result actual:[200] equal expected:[200](B check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B cluster does not need to check monitor currently check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:21 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:20 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-1;secondary(B: postgres-nczgqd-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B cluster stop check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster stop postgres-nczgqd --auto-approve --force=true --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-stop-kv98l created successfully, you can view the progress: kbcli cluster describe-ops postgres-nczgqd-stop-kv98l -n ns-pkqco check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-stop-kv98l ns-pkqco Stop postgres-nczgqd postgresql Running 0/2 Feb 12,2026 10:44 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Stopping Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Stopping(B cluster_status:Stopping(B cluster_status:Stopping(B cluster_status:Stopping(B cluster_status:Stopping(B cluster_status:Stopping(B cluster_status:Stopping(B cluster_status:Stopping(B cluster_status:Stopping(B cluster_status:Stopping(B check cluster status done(B cluster_status:Stopped(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME check pod status done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-stop-kv98l ns-pkqco Stop postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:44 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-stop-kv98l ns-pkqco Stop postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:44 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-stop-kv98l --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-stop-kv98l patched  `kbcli cluster delete-ops --name postgres-nczgqd-stop-kv98l --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-stop-kv98l deleted cluster start check cluster status before ops check cluster status done(B cluster_status:Stopped(B  `kbcli cluster start postgres-nczgqd --force=true --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-start-gwnc5 created successfully, you can view the progress: kbcli cluster describe-ops postgres-nczgqd-start-gwnc5 -n ns-pkqco check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-start-gwnc5 ns-pkqco Start postgres-nczgqd postgresql Running 0/2 Feb 12,2026 10:45 UTC+0800 check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:45 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:45 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-0;secondary(B: postgres-nczgqd-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-start-gwnc5 ns-pkqco Start postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:45 UTC+0800 check ops status done(B ops_status:postgres-nczgqd-start-gwnc5 ns-pkqco Start postgres-nczgqd postgresql Succeed 2/2 Feb 12,2026 10:45 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-start-gwnc5 --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-start-gwnc5 patched  `kbcli cluster delete-ops --name postgres-nczgqd-start-gwnc5 --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-start-gwnc5 deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-1 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B cluster update terminationPolicy WipeOut  `kbcli cluster update postgres-nczgqd --termination-policy=WipeOut --namespace ns-pkqco `(B  cluster.apps.kubeblocks.io/postgres-nczgqd updated (no change) check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:45 UTC+0800 postgres-nczgqd-postgresql-1 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:45 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-0;secondary(B: postgres-nczgqd-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B cluster pg-basebackup backup  `kubectl get backuprepo backuprepo-kbcli-test -o jsonpath="{.spec.credential.name}"`(B   `kubectl get backuprepo backuprepo-kbcli-test -o jsonpath="{.spec.credential.namespace}"`(B   `kubectl get secrets kb-backuprepo-pn64t -n kb-wrwyg -o jsonpath="{.data.accessKeyId}"`(B   `kubectl get secrets kb-backuprepo-pn64t -n kb-wrwyg -o jsonpath="{.data.secretAccessKey}"`(B  KUBEBLOCKS NAMESPACE:kb-wrwyg get kubeblocks namespace done(B  `kubectl get secrets -l app.kubernetes.io/instance=kbcli-test-minio --namespace kb-wrwyg -o jsonpath="{.items[0].data.root-user}"`(B   `kubectl get secrets -l app.kubernetes.io/instance=kbcli-test-minio --namespace kb-wrwyg -o jsonpath="{.items[0].data.root-password}"`(B  minio_user:kbclitest,minio_password:kbclitest,minio_endpoint:kbcli-test-minio.kb-wrwyg.svc.cluster.local:9000 list minio bucket kbcli-test  `echo 'mc alias set minioserver http://kbcli-test-minio.kb-wrwyg.svc.cluster.local:9000 kbclitest kbclitest;mc ls minioserver' | kubectl exec -it kbcli-test-minio-546f6447c7-cvf8k --namespace kb-wrwyg -- bash`(B  list minio bucket done(B default backuprepo:backuprepo-kbcli-test exists(B  `kbcli cluster backup postgres-nczgqd --method pg-basebackup --namespace ns-pkqco `(B  Backup backup-ns-pkqco-postgres-nczgqd-20260212105112 created successfully, you can view the progress: kbcli cluster list-backups --names=backup-ns-pkqco-postgres-nczgqd-20260212105112 -n ns-pkqco check backup status  `kbcli cluster list-backups postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE SOURCE-CLUSTER METHOD STATUS TOTAL-SIZE DURATION DELETION-POLICY CREATE-TIME COMPLETION-TIME EXPIRATION backup-ns-pkqco-postgres-nczgqd-20260212105112 ns-pkqco postgres-nczgqd pg-basebackup Running Delete Feb 12,2026 10:51 UTC+0800 backup_status:postgres-nczgqd-pg-basebackup-Running(B backup_status:postgres-nczgqd-pg-basebackup-Running(B check backup status done(B backup_status:backup-ns-pkqco-postgres-nczgqd-20260212105112 ns-pkqco postgres-nczgqd pg-basebackup Completed 11861059 10s Delete Feb 12,2026 10:51 UTC+0800 Feb 12,2026 10:51 UTC+0800 (B cluster restore backup  `kbcli cluster describe-backup --names backup-ns-pkqco-postgres-nczgqd-20260212105112 --namespace ns-pkqco `(B  Name: backup-ns-pkqco-postgres-nczgqd-20260212105112 Cluster: postgres-nczgqd Namespace: ns-pkqco Spec: Method: pg-basebackup Policy Name: postgres-nczgqd-postgresql-backup-policy Actions: dp-backup-0: ActionType: Job WorkloadName: dp-backup-0-backup-ns-pkqco-postgres-nczgqd-20260212105112-a7ba TargetPodName: postgres-nczgqd-postgresql-1 Phase: Completed Start Time: Feb 12,2026 10:51 UTC+0800 Completion Time: Feb 12,2026 10:51 UTC+0800 Status: Phase: Completed Total Size: 11861059 ActionSet Name: postgresql-basebackup Repository: backuprepo-kbcli-test Duration: 10s Start Time: Feb 12,2026 10:51 UTC+0800 Completion Time: Feb 12,2026 10:51 UTC+0800 Path: /ns-pkqco/postgres-nczgqd-0d737d27-36c6-4a49-a643-94b00aa02612/postgresql/backup-ns-pkqco-postgres-nczgqd-20260212105112 Time Range Start: Feb 12,2026 10:51 UTC+0800 Time Range End: Feb 12,2026 10:51 UTC+0800 Warning Events:  `kbcli cluster restore postgres-nczgqd-backup --backup backup-ns-pkqco-postgres-nczgqd-20260212105112 --namespace ns-pkqco `(B  Cluster postgres-nczgqd-backup created check cluster status  `kbcli cluster list postgres-nczgqd-backup --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd-backup ns-pkqco postgresql WipeOut Creating Feb 12,2026 10:51 UTC+0800 clusterdefinition.kubeblocks.io/name=postgresql cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd-backup --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-backup-postgresql-0 ns-pkqco postgres-nczgqd-backup postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:51 UTC+0800 postgres-nczgqd-backup-postgresql-1 ns-pkqco postgres-nczgqd-backup postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:51 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-backup-postgresql-1;secondary(B: postgres-nczgqd-backup-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-backup-postgresql-1 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B  `kbcli cluster describe-backup --names backup-ns-pkqco-postgres-nczgqd-20260212105112 --namespace ns-pkqco `(B  Name: backup-ns-pkqco-postgres-nczgqd-20260212105112 Cluster: postgres-nczgqd Namespace: ns-pkqco Spec: Method: pg-basebackup Policy Name: postgres-nczgqd-postgresql-backup-policy Actions: dp-backup-0: ActionType: Job WorkloadName: dp-backup-0-backup-ns-pkqco-postgres-nczgqd-20260212105112-a7ba TargetPodName: postgres-nczgqd-postgresql-1 Phase: Completed Start Time: Feb 12,2026 10:51 UTC+0800 Completion Time: Feb 12,2026 10:51 UTC+0800 Status: Phase: Completed Total Size: 11861059 ActionSet Name: postgresql-basebackup Repository: backuprepo-kbcli-test Duration: 10s Start Time: Feb 12,2026 10:51 UTC+0800 Completion Time: Feb 12,2026 10:51 UTC+0800 Path: /ns-pkqco/postgres-nczgqd-0d737d27-36c6-4a49-a643-94b00aa02612/postgresql/backup-ns-pkqco-postgres-nczgqd-20260212105112 Time Range Start: Feb 12,2026 10:51 UTC+0800 Time Range End: Feb 12,2026 10:51 UTC+0800 Warning Events: cluster connect  `echo 'create extension vector;' | kubectl exec -it postgres-nczgqd-backup-postgresql-1 --namespace ns-pkqco -- psql -U postgres `(B  List of installed extensions Name | Version | Schema | Description --------------------+---------+------------+------------------------------------------------------------------------ file_fdw | 1.0 | public | foreign-data wrapper for flat file access pg_auth_mon | 1.1 | public | monitor connection attempts per user pg_cron | 1.6 | pg_catalog | Job scheduler for PostgreSQL pg_stat_kcache | 2.3.0 | public | Kernel statistics gathering pg_stat_statements | 1.11 | public | track planning and execution statistics of all SQL statements executed plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language plpython3u | 1.0 | pg_catalog | PL/Python3U untrusted procedural language set_user | 4.1.0 | public | similar to SET ROLE but with added logging vector | 0.8.0 | public | vector data type and ivfflat and hnsw access methods (9 rows)  `echo 'show max_connections;' | kubectl exec -it postgres-nczgqd-backup-postgresql-1 --namespace ns-pkqco -- psql -U postgres `(B  max_connections ----------------- 200 (1 row) connect cluster Success(B set max_connections to 200 delete cluster postgres-nczgqd-backup  `kbcli cluster delete postgres-nczgqd-backup --auto-approve --namespace ns-pkqco `(B  pod_info:postgres-nczgqd-backup-postgresql-0 5/5 Running 0 3m17s postgres-nczgqd-backup-postgresql-1 5/5 Running 0 3m18s Cluster postgres-nczgqd-backup deleted pod_info:postgres-nczgqd-backup-postgresql-0 5/5 Terminating 0 3m37s postgres-nczgqd-backup-postgresql-1 5/5 Terminating 0 3m38s delete cluster pod done(B check cluster resource non-exist OK: pvc(B delete cluster done(B cluster rebuild instances apiVersion: operations.kubeblocks.io/v1alpha1 kind: OpsRequest metadata: generateName: postgres-nczgqd-rebuildinstance- namespace: ns-pkqco spec: type: RebuildInstance clusterName: postgres-nczgqd force: true rebuildFrom: - componentName: postgresql instances: - name: postgres-nczgqd-postgresql-1 backupName: backup-ns-pkqco-postgres-nczgqd-20260212105112 inPlace: false check cluster status before ops check cluster status done(B cluster_status:Running(B  `kubectl create -f test_ops_cluster_postgres-nczgqd.yaml`(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-rebuildinstance-jlhvr created create test_ops_cluster_postgres-nczgqd.yaml Success(B  `rm -rf test_ops_cluster_postgres-nczgqd.yaml`(B  check ops status  `kbcli cluster list-ops postgres-nczgqd --status all --namespace ns-pkqco `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Running 0/1 Feb 12,2026 10:56 UTC+0800 (B check ops status done(B ops_status:postgres-nczgqd-rebuildinstance-jlhvr ns-pkqco RebuildInstance postgres-nczgqd postgresql Succeed 1/1 Feb 12,2026 10:56 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-nczgqd-rebuildinstance-jlhvr --namespace ns-pkqco `(B  opsrequest.operations.kubeblocks.io/postgres-nczgqd-rebuildinstance-jlhvr patched  `kbcli cluster delete-ops --name postgres-nczgqd-rebuildinstance-jlhvr --force --auto-approve --namespace ns-pkqco `(B  OpsRequest postgres-nczgqd-rebuildinstance-jlhvr deleted check cluster status  `kbcli cluster list postgres-nczgqd --show-labels --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-nczgqd ns-pkqco postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-nczgqd,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-nczgqd --namespace ns-pkqco `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-nczgqd-postgresql-0 ns-pkqco postgres-nczgqd postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:45 UTC+0800 postgres-nczgqd-postgresql-2 ns-pkqco postgres-nczgqd postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:6Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:56 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-nczgqd-postgresql-0;secondary(B: postgres-nczgqd-postgresql-2 check cluster connect  `echo '' | kubectl exec -it postgres-nczgqd-postgresql-0 --namespace ns-pkqco -- psql -U postgres`(B  check cluster connect done(B check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-0 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check db_client batch [5753] equal [5753] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-nczgqd-postgresql-2 -n ns-pkqco -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5753] equal [5753] Success(B cluster delete backup  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge backups backup-ns-pkqco-postgres-nczgqd-20260212105112 --namespace ns-pkqco `(B  backup.dataprotection.kubeblocks.io/backup-ns-pkqco-postgres-nczgqd-20260212105112 patched  `kbcli cluster delete-backup postgres-nczgqd --name backup-ns-pkqco-postgres-nczgqd-20260212105112 --force --auto-approve --namespace ns-pkqco `(B  Backup backup-ns-pkqco-postgres-nczgqd-20260212105112 deleted cluster list-logs  `kbcli cluster list-logs postgres-nczgqd --namespace ns-pkqco `(B  cluster logs  `kbcli cluster logs postgres-nczgqd --tail 30 --namespace ns-pkqco `(B  2026-02-12 02:54:12.523 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:54:20,928 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:54:30,923 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:54:40,928 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:54:42.547 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:54:50,924 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:55:00,932 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:55:10,930 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:55:12.555 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:55:20,923 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:55:30,929 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:55:40,928 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:55:42.560 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:55:50,928 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:56:00,927 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:56:10,968 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:56:12.590 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:56:20,929 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:56:30,923 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:56:40,959 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:56:42.614 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:56:50,951 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:57:00,924 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:57:10,928 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:57:12.617 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:57:20,972 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:57:30,923 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:57:40,930 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock 2026-02-12 02:57:42.647 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:57:50,923 INFO: no action. I am (postgres-nczgqd-postgresql-0), the leader with the lock cluster logs running  `kbcli cluster logs postgres-nczgqd --tail 30 --file-type=running --namespace ns-pkqco `(B  ==> /home/postgres/pgdata/pgroot/data/log/postgresql-4.csv <== IN threshold float, OUT schemaname name, OUT sequencename name, OUT seq_percent_used numeric ) RETURNS SETOF record AS $_$ SELECT * FROM ( SELECT schemaname, sequencename, round(abs( ceil((abs(last_value::numeric - start_value) + 1) / increment_by) / floor((CASE WHEN increment_by > 0 THEN (max_value::numeric - start_value) ELSE (start_value::numeric - min_value) END + 1) / increment_by ) * 100 ), 2) AS seq_percent_used FROM pg_sequences WHERE NOT CYCLE AND last_value IS NOT NULL ) AS s WHERE seq_percent_used >= threshold; $_$ LANGUAGE sql SECURITY DEFINER STRICT SET search_path to 'pg_catalog'"",",,,,,,,,,"psql","client backend",,131776532874478188 2026-02-12 02:50:31.460 GMT,"postgres","benchtest",243,"[local]",698d3ff6.f3,31,"CREATE VIEW",2026-02-12 02:50:30 GMT,30/57,11907,LOG,00000,"AUDIT: SESSION,31,1,DDL,CREATE VIEW,,,CREATE OR REPLACE VIEW nearly_exhausted_sequences AS SELECT * FROM get_nearly_exhausted_sequences(0.8),",,,,,,,,,"psql","client backend",,6638659873497335288 2026-02-12 02:56:30.959 GMT,,,67,,698d3fe9.43,3,,2026-02-12 02:50:17 GMT,,0,LOG,00000,"checkpoint starting: force wait",,,,,,,,,"","checkpointer",,0 2026-02-12 02:57:16.232 GMT,,,67,,698d3fe9.43,4,,2026-02-12 02:50:17 GMT,,0,LOG,00000,"checkpoint complete: wrote 451 buffers (0.7%); 0 WAL file(s) added, 0 removed, 1 recycled; write=45.158 s, sync=0.007 s, total=45.274 s; sync files=121, longest=0.006 s, average=0.001 s; distance=16383 kB, estimate=16383 kB; lsn=0/1F0000B8, redo lsn=0/1F000028",,,,,,,,,"","checkpointer",,0 2026-02-12 02:57:19.216 GMT,"standby","",1120,"10.244.5.114:44728",698d415e.460,1,"sending backup ""pg_basebackup base backup""",2026-02-12 02:56:30 GMT,222/0,0,LOG,00000,"temporary file: path ""base/pgsql_tmp/pgsql_tmp1120.0"", size 234037",,,,,,"BASE_BACKUP ( LABEL 'pg_basebackup base backup', PROGRESS, MANIFEST 'yes', TARGET 'client')",,,"pg_basebackup","walsender",,0 ==> /home/postgres/pgdata/pgroot/data/log/postgresql-4.log <== 2026-02-12 02:02:09 GMT [151]: [6-1] 698d349e.97 0 LOG: ending log output to stderr 2026-02-12 02:02:09 GMT [151]: [7-1] 698d349e.97 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:05:35 GMT [750]: [6-1] 698d356d.2ee 0 LOG: ending log output to stderr 2026-02-12 02:05:35 GMT [750]: [7-1] 698d356d.2ee 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:06:57 GMT [990]: [6-1] 698d35bf.3de 0 LOG: ending log output to stderr 2026-02-12 02:06:57 GMT [990]: [7-1] 698d35bf.3de 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:07:45 GMT [65]: [6-1] 698d35f0.41 0 LOG: ending log output to stderr 2026-02-12 02:07:45 GMT [65]: [7-1] 698d35f0.41 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:13:11 GMT [64]: [6-1] 698d3736.40 0 LOG: ending log output to stderr 2026-02-12 02:13:11 GMT [64]: [7-1] 698d3736.40 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:21:19 GMT [1351]: [6-1] 698d391e.547 0 LOG: ending log output to stderr 2026-02-12 02:21:19 GMT [1351]: [7-1] 698d391e.547 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:22:03 GMT [66]: [6-1] 698d394a.42 0 LOG: ending log output to stderr 2026-02-12 02:22:03 GMT [66]: [7-1] 698d394a.42 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:44:00 GMT [66]: [6-1] 698d3e70.42 0 LOG: ending log output to stderr 2026-02-12 02:44:00 GMT [66]: [7-1] 698d3e70.42 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:44:29 GMT [216]: [6-1] 698d3e8c.d8 0 LOG: ending log output to stderr 2026-02-12 02:44:29 GMT [216]: [7-1] 698d3e8c.d8 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:50:17 GMT [63]: [6-1] 698d3fe8.3f 0 LOG: ending log output to stderr 2026-02-12 02:50:17 GMT [63]: [7-1] 698d3fe8.3f 0 HINT: Future log output will go to log destination "csvlog". delete cluster postgres-nczgqd  `kbcli cluster delete postgres-nczgqd --auto-approve --namespace ns-pkqco `(B  pod_info:postgres-nczgqd-postgresql-0 5/5 Running 0 12m postgres-nczgqd-postgresql-2 5/5 Running 0 116s Cluster postgres-nczgqd deleted pod_info:postgres-nczgqd-postgresql-0 5/5 Terminating 0 12m postgres-nczgqd-postgresql-2 5/5 Terminating 0 2m16s delete cluster pod done(B check cluster resource non-exist OK: pvc(B delete cluster done(B Postgresql Test Suite All Done!(B Test Engine: postgresql Test Type: 2 --------------------------------------Postgresql 17.5.0 (Topology = replication Replicas 2) Test Result-------------------------------------- [PASSED]|[Create]|[Topology=replication;ComponentDefinition=postgresql-17-1.0.2;ComponentVersion=postgresql;ServiceVersion=17.5.0;]|[Description=Create a cluster with the specified topology replication with the specified component definition postgresql-17-1.0.2 and component version postgresql and service version 17.5.0](B [PASSED]|[Connect]|[ComponentName=postgresql]|[Description=Connect to the cluster](B [PASSED]|[VerticalScaling]|[ComponentName=postgresql]|[Description=VerticalScaling the cluster specify component postgresql](B [WARNING]|[CheckFailover]|[FailoverType=]|[Description=-](B [PASSED]|[NoFailover]|[HA=Delete Pod;ComponentName=postgresql]|[Description=Simulates conditions where pods terminating forced/graceful thereby testing deployment sanity (replica availability & uninterrupted service) and recovery workflow of the application.](B [PASSED]|[Restart]|[-]|[Description=Restart the cluster](B [PASSED]|[VolumeExpansion]|[ComponentName=postgresql]|[Description=VolumeExpansion the cluster specify component postgresql](B [PASSED]|[Reconfiguring]|[ComponentName=postgresql;shared_buffers=512MB]|[Description=Reconfiguring the cluster specify component postgresql set shared_buffers=512MB](B [PASSED]|[HorizontalScaling Out]|[ComponentName=postgresql]|[Description=HorizontalScaling Out the cluster specify component postgresql](B [PASSED]|[HorizontalScaling In]|[ComponentName=postgresql]|[Description=HorizontalScaling In the cluster specify component postgresql](B [PASSED]|[Update]|[TerminationPolicy=WipeOut]|[Description=Update the cluster TerminationPolicy WipeOut](B [PASSED]|[Backup]|[BackupMethod=wal-g]|[Description=The cluster wal-g Backup](B [PASSED]|[Restore To Time]|[BackupMethod=wal-g]|[Description=The cluster wal-g Restore To Time](B [PASSED]|[Delete Restore Cluster]|[BackupMethod=wal-g]|[Description=Delete the wal-g restore cluster](B [PASSED]|[Restore]|[BackupMethod=wal-g]|[Description=The cluster wal-g Restore](B [PASSED]|[Connect]|[ComponentName=postgresql]|[Description=Connect to the cluster](B [PASSED]|[Delete Restore Cluster]|[BackupMethod=wal-g]|[Description=Delete the wal-g restore cluster](B [PASSED]|[SwitchOver]|[ComponentName=postgresql]|[Description=SwitchOver the cluster specify component postgresql](B [PASSED]|[Bench]|[ComponentName=postgresql]|[Description=Bench the cluster service with postgresql component](B [PASSED]|[NoFailover]|[HA=Connection Stress;ComponentName=postgresql]|[Description=Simulates conditions where pods experience connection stress either due to expected/undesired processes thereby testing the application's resilience to potential slowness/unavailability of some replicas due to high Connection load.](B [PASSED]|[Failover]|[HA=Kill 1;ComponentName=postgresql]|[Description=Simulates conditions where process 1 killed either due to expected/undesired processes thereby testing the application's resilience to unavailability of some replicas due to abnormal termination signals.](B [PASSED]|[Reconfiguring]|[ComponentName=postgresql;max_connections=200]|[Description=Reconfiguring the cluster specify component postgresql set max_connections=200](B [PASSED]|[Stop]|[-]|[Description=Stop the cluster](B [PASSED]|[Start]|[-]|[Description=Start the cluster](B [PASSED]|[Update]|[TerminationPolicy=WipeOut]|[Description=Update the cluster TerminationPolicy WipeOut](B [PASSED]|[Backup]|[BackupMethod=pg-basebackup]|[Description=The cluster pg-basebackup Backup](B [PASSED]|[Restore]|[BackupMethod=pg-basebackup]|[Description=The cluster pg-basebackup Restore](B [PASSED]|[Connect]|[ComponentName=postgresql]|[Description=Connect to the cluster](B [PASSED]|[Delete Restore Cluster]|[BackupMethod=pg-basebackup]|[Description=Delete the pg-basebackup restore cluster](B [PASSED]|[RebuildInstance]|[ComponentName=postgresql]|[Description=Rebuild the cluster instance specify component postgresql](B [PASSED]|[Delete]|[-]|[Description=Delete the cluster](B [END]