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 15 --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-bzpbs `(B   `kubectl create namespace ns-bzpbs`(B  namespace/ns-bzpbs created create namespace ns-bzpbs 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-15-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,15.7.0 set replicas second max again:2,15.13.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-18-1.0.2 LIMIT_CPU:0.1 LIMIT_MEMORY:0.5 storage size: 3 CLUSTER_NAME:postgres-yaznfx pod_info: termination_policy:DoNotTerminate create 2 replica DoNotTerminate postgresql cluster check component definition set component definition by component version check cmpd by labels set component definition1: postgresql-15-1.0.2 by component version:postgresql apiVersion: apps.kubeblocks.io/v1 kind: Cluster metadata: name: postgres-yaznfx namespace: ns-bzpbs spec: clusterDef: postgresql topology: replication terminationPolicy: DoNotTerminate componentSpecs: - name: postgresql serviceVersion: 15.13.0 labels: apps.kubeblocks.postgres.patroni/scope: postgres-yaznfx-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-yaznfx.yaml`(B  cluster.apps.kubeblocks.io/postgres-yaznfx created apply test_create_postgres-yaznfx.yaml Success(B  `rm -rf test_create_postgres-yaznfx.yaml`(B  check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate 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 check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx 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-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 09:59 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B  `kubectl get secrets -l app.kubernetes.io/instance=postgres-yaznfx`(B  set secret: postgres-yaznfx-postgresql-account-postgres  `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8Q1dO909qh;DB_PORT:5432;DB_DATABASE:postgres(B check pod postgres-yaznfx-postgresql-0 container_name postgresql exist password 8Q1dO909qh(B check pod postgres-yaznfx-postgresql-0 container_name pgbouncer exist password 8Q1dO909qh(B check pod postgres-yaznfx-postgresql-0 container_name dbctl exist password 8Q1dO909qh(B check pod postgres-yaznfx-postgresql-0 container_name kbagent exist password 8Q1dO909qh(B check pod postgres-yaznfx-postgresql-0 container_name config-manager exist password 8Q1dO909qh(B No container logs contain secret password.(B describe cluster  `kbcli cluster describe postgres-yaznfx --namespace ns-bzpbs `(B  Name: postgres-yaznfx Created Time: Feb 12,2026 09:59 UTC+0800 NAMESPACE CLUSTER-DEFINITION TOPOLOGY STATUS TERMINATION-POLICY ns-bzpbs postgresql replication Running DoNotTerminate Endpoints: COMPONENT INTERNAL EXTERNAL postgresql postgres-yaznfx-postgresql-postgresql.ns-bzpbs.svc.cluster.local:5432 postgres-yaznfx-postgresql-postgresql.ns-bzpbs.svc.cluster.local:6432 Topology: COMPONENT SERVICE-VERSION INSTANCE ROLE STATUS AZ NODE CREATED-TIME postgresql 15.13.0 postgres-yaznfx-postgresql-0 primary Running 0 aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 09:59 UTC+0800 postgresql 15.13.0 postgres-yaznfx-postgresql-1 secondary Running 0 aks-cicdamdpool-14916756-vmss000002/10.224.0.8 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-15-1.0.2 docker.io/apecloud/spilo:15.13 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-bzpbs postgres-yaznfx  `kbcli cluster label postgres-yaznfx app.kubernetes.io/instance- --namespace ns-bzpbs `(B  label "app.kubernetes.io/instance" not found.  `kbcli cluster label postgres-yaznfx app.kubernetes.io/instance=postgres-yaznfx --namespace ns-bzpbs `(B   `kbcli cluster label postgres-yaznfx --list --namespace ns-bzpbs `(B  NAME NAMESPACE LABELS postgres-yaznfx ns-bzpbs app.kubernetes.io/instance=postgres-yaznfx clusterdefinition.kubeblocks.io/name=postgresql label cluster app.kubernetes.io/instance=postgres-yaznfx Success(B  `kbcli cluster label case.name=kbcli.test1 -l app.kubernetes.io/instance=postgres-yaznfx --namespace ns-bzpbs `(B   `kbcli cluster label postgres-yaznfx --list --namespace ns-bzpbs `(B  NAME NAMESPACE LABELS postgres-yaznfx ns-bzpbs app.kubernetes.io/instance=postgres-yaznfx case.name=kbcli.test1 clusterdefinition.kubeblocks.io/name=postgresql label cluster case.name=kbcli.test1 Success(B  `kbcli cluster label postgres-yaznfx case.name=kbcli.test2 --overwrite --namespace ns-bzpbs `(B   `kbcli cluster label postgres-yaznfx --list --namespace ns-bzpbs `(B  NAME NAMESPACE LABELS postgres-yaznfx ns-bzpbs app.kubernetes.io/instance=postgres-yaznfx case.name=kbcli.test2 clusterdefinition.kubeblocks.io/name=postgresql label cluster case.name=kbcli.test2 Success(B  `kbcli cluster label postgres-yaznfx case.name- --namespace ns-bzpbs `(B   `kbcli cluster label postgres-yaznfx --list --namespace ns-bzpbs `(B  NAME NAMESPACE LABELS postgres-yaznfx ns-bzpbs app.kubernetes.io/instance=postgres-yaznfx clusterdefinition.kubeblocks.io/name=postgresql delete cluster label case.name Success(B cluster connect  `echo 'create extension vector;' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- 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.10 | 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-yaznfx-postgresql-0 --namespace ns-bzpbs -- 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-yaznfx --namespace ns-bzpbs `(B   `kubectl get secrets -l app.kubernetes.io/instance=postgres-yaznfx`(B  set secret: postgres-yaznfx-postgresql-account-postgres  `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8Q1dO909qh;DB_PORT:5432;DB_DATABASE:postgres(B apiVersion: v1 kind: Pod metadata: name: test-db-client-executionloop-postgres-yaznfx namespace: ns-bzpbs spec: containers: - name: test-dbclient imagePullPolicy: IfNotPresent image: docker.io/apecloud/dbclient:test args: - "--host" - "postgres-yaznfx-postgresql-postgresql.ns-bzpbs.svc.cluster.local" - "--user" - "postgres" - "--password" - "8Q1dO909qh" - "--port" - "5432" - "--dbtype" - "postgresql" - "--test" - "executionloop" - "--duration" - "60" - "--interval" - "1" restartPolicy: Never  `kubectl apply -f test-db-client-executionloop-postgres-yaznfx.yaml`(B  pod/test-db-client-executionloop-postgres-yaznfx created apply test-db-client-executionloop-postgres-yaznfx.yaml Success(B  `rm -rf test-db-client-executionloop-postgres-yaznfx.yaml`(B  check pod status pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 5s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 9s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 14s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 19s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 24s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 30s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 35s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 40s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 45s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 50s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 55s(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 1/1 Running 0 60s(B check pod test-db-client-executionloop-postgres-yaznfx status done(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-executionloop-postgres-yaznfx 0/1 Completed 0 65s(B check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx 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-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 09:59 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B --host postgres-yaznfx-postgresql-postgresql.ns-bzpbs.svc.cluster.local --user postgres --password 8Q1dO909qh --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', 42, 2863, 1028654072, 1089180360864247329, 0.37759387, 0.911470892454249, 49.292688271655415, '2026-02-12', '02:03:11', '2026-02-12 02:03:11.536', CURRENT_TIMESTAMP, '9 hours 35 minutes 2 seconds', FALSE, '6M8eVb74mu', 'J5lcooq7NvD9GPQoZx2NgXkkeeQKwlnGgs23pr2apMyS7AUw4N26AxrQwJx5PyF6UjgU8LrrJq4YGJYlaVRH9BY7ugi4M0PyLETwzCNY36dlc7LxRuOYcXZ4wW4zr7Q4d1uwLlOo22pR0Bb5VXVKO7ElVavMNZLOESdY80zVvdgxilmVum6Yq6uqyHZZh3OVRWXNZCszSMuAGqhJBFBkFUcvrJJT6JXEgCdIZZW7wOxNfwRYdBkj1J23B1010cN', 'Tl8ER6HRMT1uP5jbS1lJOuBzDvRtJKo7O9cnEd3jkKzUFClpPpH1Gw6MXnKua2o8omvX4l56RfV55xk8vBusfNTwq6WCCO9XsYObGsQeSHvsnph691zD2lo57on1F67bjaxbGP1IYgVtXLz4AK8k3DBY4otLRYFCzlqFlCLjOTd3oJdsO759405a766xlWIyqK3ymdF3qg2SoPhLAL2NVQdft8qKf2MiX6SIG4RcJAk6jLs8pFNbaoBw6fI6Yud', decode('8d866de9302fcf6f1711', 'hex'), 'efefd2e6-75eb-463e-aaeb-c0ce159be2c9', '{"key1": "EV5rg0yhLN", "key2": 50}', '{"key1": "nj7n0TzRrI", "key2": 4}', 'rkSb2GTLof66', 'Option3', 'Value1', ARRAY[86, 11, 75], ARRAY['kVSHq8UQcC', '90NKA5QW6Z', 'oFfurcOF9a'], '(53.0956506694892, 75.0291195273101)', '{29.337738022513083, 51.57247093134413, 50.454955085000854}', '[(55.64446171812326, 32.81522188808243), (90.33111849231386, 67.71766476559257)]', '((38.204229315868886, 41.8815998196686), (85.38261693349918, 55.063459674990376))', '((75.89609980479979, 53.725426168028214), (78.2346480821893, 47.61998936266379), (7.251008439088668, 2.76335162356518))', '((56.658239545798686, 79.17631161297878), (21.25918821284931, 63.66560363647683), (36.360801043629074, 9.555377770724483), (23.72228631601484, 48.47413105837337))', '<(59.116400, 74.285111), 1.588686>', '192.168.254.0/24', '192.168.6.153', '08:00:2b:01:02:03', '08:00:2b:01:02:03:04:05', B'10101010', B'10101010', B'10101010', '$588.5712635697342', -1502783979, '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: 129 successful: 129 failed: 0 disconnect: 0 [ 3s ] executions total: 276 successful: 276 failed: 0 disconnect: 0 [ 4s ] executions total: 380 successful: 380 failed: 0 disconnect: 0 [ 5s ] executions total: 525 successful: 525 failed: 0 disconnect: 0 [ 6s ] executions total: 658 successful: 658 failed: 0 disconnect: 0 [ 7s ] executions total: 784 successful: 784 failed: 0 disconnect: 0 [ 8s ] executions total: 919 successful: 919 failed: 0 disconnect: 0 [ 9s ] executions total: 1006 successful: 1006 failed: 0 disconnect: 0 [ 10s ] executions total: 1154 successful: 1154 failed: 0 disconnect: 0 [ 11s ] executions total: 1279 successful: 1279 failed: 0 disconnect: 0 [ 12s ] executions total: 1395 successful: 1395 failed: 0 disconnect: 0 [ 13s ] executions total: 1524 successful: 1524 failed: 0 disconnect: 0 [ 14s ] executions total: 1607 successful: 1607 failed: 0 disconnect: 0 [ 15s ] executions total: 1741 successful: 1741 failed: 0 disconnect: 0 [ 16s ] executions total: 1862 successful: 1862 failed: 0 disconnect: 0 [ 17s ] executions total: 1935 successful: 1935 failed: 0 disconnect: 0 [ 18s ] executions total: 1950 successful: 1950 failed: 0 disconnect: 0 [ 19s ] executions total: 1996 successful: 1996 failed: 0 disconnect: 0 [ 20s ] executions total: 2147 successful: 2147 failed: 0 disconnect: 0 [ 21s ] executions total: 2286 successful: 2286 failed: 0 disconnect: 0 [ 22s ] executions total: 2416 successful: 2416 failed: 0 disconnect: 0 [ 23s ] executions total: 2564 successful: 2564 failed: 0 disconnect: 0 [ 24s ] executions total: 2673 successful: 2673 failed: 0 disconnect: 0 [ 25s ] executions total: 2775 successful: 2775 failed: 0 disconnect: 0 [ 26s ] executions total: 2832 successful: 2832 failed: 0 disconnect: 0 [ 27s ] executions total: 2970 successful: 2970 failed: 0 disconnect: 0 [ 28s ] executions total: 3110 successful: 3110 failed: 0 disconnect: 0 [ 29s ] executions total: 3191 successful: 3191 failed: 0 disconnect: 0 [ 30s ] executions total: 3338 successful: 3338 failed: 0 disconnect: 0 [ 31s ] executions total: 3474 successful: 3474 failed: 0 disconnect: 0 [ 32s ] executions total: 3521 successful: 3521 failed: 0 disconnect: 0 [ 33s ] executions total: 3535 successful: 3535 failed: 0 disconnect: 0 [ 34s ] executions total: 3556 successful: 3556 failed: 0 disconnect: 0 [ 35s ] executions total: 3648 successful: 3648 failed: 0 disconnect: 0 [ 36s ] executions total: 3776 successful: 3776 failed: 0 disconnect: 0 [ 37s ] executions total: 3900 successful: 3900 failed: 0 disconnect: 0 [ 38s ] executions total: 4002 successful: 4002 failed: 0 disconnect: 0 [ 39s ] executions total: 4094 successful: 4094 failed: 0 disconnect: 0 [ 40s ] executions total: 4225 successful: 4225 failed: 0 disconnect: 0 [ 41s ] executions total: 4368 successful: 4368 failed: 0 disconnect: 0 [ 42s ] executions total: 4487 successful: 4487 failed: 0 disconnect: 0 [ 43s ] executions total: 4633 successful: 4633 failed: 0 disconnect: 0 [ 44s ] executions total: 4764 successful: 4764 failed: 0 disconnect: 0 [ 45s ] executions total: 4896 successful: 4896 failed: 0 disconnect: 0 [ 46s ] executions total: 5037 successful: 5037 failed: 0 disconnect: 0 [ 47s ] executions total: 5064 successful: 5064 failed: 0 disconnect: 0 [ 48s ] executions total: 5085 successful: 5085 failed: 0 disconnect: 0 [ 49s ] executions total: 5105 successful: 5105 failed: 0 disconnect: 0 [ 50s ] executions total: 5123 successful: 5123 failed: 0 disconnect: 0 [ 51s ] executions total: 5215 successful: 5215 failed: 0 disconnect: 0 [ 52s ] executions total: 5357 successful: 5357 failed: 0 disconnect: 0 [ 53s ] executions total: 5504 successful: 5504 failed: 0 disconnect: 0 [ 54s ] executions total: 5640 successful: 5640 failed: 0 disconnect: 0 [ 55s ] executions total: 5657 successful: 5657 failed: 0 disconnect: 0 [ 56s ] executions total: 5711 successful: 5711 failed: 0 disconnect: 0 [ 57s ] executions total: 5856 successful: 5856 failed: 0 disconnect: 0 [ 60s ] executions total: 5905 successful: 5905 failed: 0 disconnect: 0 Test Result: Total Executions: 5905 Successful Executions: 5905 Failed Executions: 0 Disconnection Counts: 0 Connection Information: Database Type: postgresql Host: postgres-yaznfx-postgresql-postgresql.ns-bzpbs.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: 5905  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge pods test-db-client-executionloop-postgres-yaznfx --namespace ns-bzpbs `(B  pod/test-db-client-executionloop-postgres-yaznfx patched (no change) pod "test-db-client-executionloop-postgres-yaznfx" force deleted cluster configure component_tmp: postgresql apiVersion: operations.kubeblocks.io/v1alpha1 kind: OpsRequest metadata: generateName: postgres-yaznfx-reconfiguring- namespace: ns-bzpbs spec: type: Reconfiguring clusterName: postgres-yaznfx 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-yaznfx.yaml`(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-reconfiguring-gr6rg created create test_ops_cluster_postgres-yaznfx.yaml Success(B  `rm -rf test_ops_cluster_postgres-yaznfx.yaml`(B  check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-reconfiguring-gr6rg ns-bzpbs Reconfiguring postgres-yaznfx postgresql,postgresql Running -/- Feb 12,2026 10:04 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,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 check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:06 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running primary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:04 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-1;secondary(B: postgres-yaznfx-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-reconfiguring-gr6rg ns-bzpbs Reconfiguring postgres-yaznfx postgresql,postgresql Succeed -/- Feb 12,2026 10:04 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-reconfiguring-gr6rg ns-bzpbs Reconfiguring postgres-yaznfx postgresql,postgresql Succeed -/- Feb 12,2026 10:04 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-reconfiguring-gr6rg --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-reconfiguring-gr6rg patched  `kbcli cluster delete-ops --name postgres-yaznfx-reconfiguring-gr6rg --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-reconfiguring-gr6rg 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-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B cluster restart check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster restart postgres-yaznfx --auto-approve --force=true --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-restart-dpprx created successfully, you can view the progress: kbcli cluster describe-ops postgres-yaznfx-restart-dpprx -n ns-bzpbs check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-restart-dpprx ns-bzpbs Restart postgres-yaznfx postgresql Running -/- Feb 12,2026 10:07 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,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 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 [Error] check cluster status timeout(B --------------------------------------get cluster postgres-yaznfx yaml--------------------------------------  `kubectl get cluster postgres-yaznfx -o yaml --namespace ns-bzpbs `(B  apiVersion: apps.kubeblocks.io/v1 kind: Cluster metadata: annotations: kubeblocks.io/crd-api-version: apps.kubeblocks.io/v1 kubeblocks.io/ops-request: '[{"name":"postgres-yaznfx-restart-dpprx","type":"Restart"}]' kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"apps.kubeblocks.io/v1","kind":"Cluster","metadata":{"annotations":{},"name":"postgres-yaznfx","namespace":"ns-bzpbs"},"spec":{"clusterDef":"postgresql","componentSpecs":[{"disableExporter":true,"labels":{"apps.kubeblocks.postgres.patroni/scope":"postgres-yaznfx-postgresql"},"name":"postgresql","replicas":2,"resources":{"limits":{"cpu":"100m","memory":"0.5Gi"},"requests":{"cpu":"100m","memory":"0.5Gi"}},"serviceVersion":"15.13.0","volumeClaimTemplates":[{"name":"data","spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"3Gi"}},"storageClassName":null}}]}],"terminationPolicy":"DoNotTerminate","topology":"replication"}} creationTimestamp: "2026-02-12T01:59:38Z" finalizers: - cluster.kubeblocks.io/finalizer generation: 3 labels: app.kubernetes.io/instance: postgres-yaznfx clusterdefinition.kubeblocks.io/name: postgresql name: postgres-yaznfx namespace: ns-bzpbs resourceVersion: "29762" uid: bdc56550-3af9-4370-9fd4-37e994e711bd spec: clusterDef: postgresql componentSpecs: - annotations: kubeblocks.io/restart: "2026-02-12T02:07:28Z" componentDef: postgresql-15-1.0.2 disableExporter: true labels: apps.kubeblocks.postgres.patroni/scope: postgres-yaznfx-postgresql name: postgresql podUpdatePolicy: PreferInPlace replicas: 2 resources: limits: cpu: 100m memory: 512Mi requests: cpu: 100m memory: 512Mi serviceVersion: 15.13.0 volumeClaimTemplates: - name: data spec: accessModes: - ReadWriteOnce resources: requests: storage: 3Gi terminationPolicy: DoNotTerminate topology: replication status: components: postgresql: observedGeneration: 3 phase: Updating upToDate: true conditions: - lastTransitionTime: "2026-02-12T01:59:38Z" message: 'The operator has started the provisioning of Cluster: postgres-yaznfx' observedGeneration: 3 reason: PreCheckSucceed status: "True" type: ProvisioningStarted - lastTransitionTime: "2026-02-12T01:59:38Z" message: Successfully applied for resources observedGeneration: 3 reason: ApplyResourcesSucceed status: "True" type: ApplyResources - lastTransitionTime: "2026-02-12T02:02:49Z" message: cluster postgres-yaznfx is ready reason: ClusterReady status: "True" type: Ready observedGeneration: 3 phase: Updating ------------------------------------------------------------------------------------------------------------------ --------------------------------------describe cluster postgres-yaznfx--------------------------------------  `kubectl describe cluster postgres-yaznfx --namespace ns-bzpbs `(B  Name: postgres-yaznfx Namespace: ns-bzpbs Labels: app.kubernetes.io/instance=postgres-yaznfx clusterdefinition.kubeblocks.io/name=postgresql Annotations: kubeblocks.io/crd-api-version: apps.kubeblocks.io/v1 kubeblocks.io/ops-request: [{"name":"postgres-yaznfx-restart-dpprx","type":"Restart"}] API Version: apps.kubeblocks.io/v1 Kind: Cluster Metadata: Creation Timestamp: 2026-02-12T01:59:38Z Finalizers: cluster.kubeblocks.io/finalizer Generation: 3 Resource Version: 29762 UID: bdc56550-3af9-4370-9fd4-37e994e711bd Spec: Cluster Def: postgresql Component Specs: Annotations: kubeblocks.io/restart: 2026-02-12T02:07:28Z Component Def: postgresql-15-1.0.2 Disable Exporter: true Labels: apps.kubeblocks.postgres.patroni/scope: postgres-yaznfx-postgresql Name: postgresql Pod Update Policy: PreferInPlace Replicas: 2 Resources: Limits: Cpu: 100m Memory: 512Mi Requests: Cpu: 100m Memory: 512Mi Service Version: 15.13.0 Volume Claim Templates: Name: data Spec: Access Modes: ReadWriteOnce Resources: Requests: Storage: 3Gi Termination Policy: DoNotTerminate Topology: replication Status: Components: Postgresql: Observed Generation: 3 Phase: Updating Up To Date: true Conditions: Last Transition Time: 2026-02-12T01:59:38Z Message: The operator has started the provisioning of Cluster: postgres-yaznfx Observed Generation: 3 Reason: PreCheckSucceed Status: True Type: ProvisioningStarted Last Transition Time: 2026-02-12T01:59:38Z Message: Successfully applied for resources Observed Generation: 3 Reason: ApplyResourcesSucceed Status: True Type: ApplyResources Last Transition Time: 2026-02-12T02:02:49Z Message: cluster postgres-yaznfx is ready Reason: ClusterReady Status: True Type: Ready Observed Generation: 3 Phase: Updating Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal PreCheckSucceed 15m (x2 over 15m) cluster-controller The operator has started the provisioning of Cluster: postgres-yaznfx Normal ApplyResourcesSucceed 15m (x2 over 15m) cluster-controller Successfully applied for resources Normal ClusterComponentPhaseTransition 15m (x2 over 15m) cluster-controller cluster component postgresql is Creating Normal ClusterReady 11m cluster-controller cluster postgres-yaznfx is ready Normal ClusterComponentPhaseTransition 9m27s (x4 over 10m) cluster-controller cluster component postgresql is Updating Normal Running 7m29s (x2 over 11m) cluster-controller Cluster: postgres-yaznfx is ready, current phase is Running Normal ClusterComponentPhaseTransition 7m21s (x13 over 12m) cluster-controller cluster component postgresql is Running ------------------------------------------------------------------------------------------------------------------ check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running primary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:07 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:09 UTC+0800 check pod status done(B check cluster status again 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 again done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-restart-dpprx ns-bzpbs Restart postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:07 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-restart-dpprx ns-bzpbs Restart postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:07 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-restart-dpprx --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-restart-dpprx patched  `kbcli cluster delete-ops --name postgres-yaznfx-restart-dpprx --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-restart-dpprx deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B test failover (B check cluster status before cluster-failover- check cluster status done(B cluster_status:Running(B delete pod:postgres-yaznfx-postgresql-0  `kubectl delete pod postgres-yaznfx-postgresql-0 --force --namespace ns-bzpbs `(B  pod "postgres-yaznfx-postgresql-0" force deleted check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Init:0/3 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:15 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:09 UTC+0800 pod_status:Init:0/3(B pod_status:PodInitializing(B check pod status done(B check cluster role primary(B: ;secondary(B: postgres-yaznfx-postgresql-1 primary(B: ;secondary(B: postgres-yaznfx-postgresql-1 primary(B: ;secondary(B: postgres-yaznfx-postgresql-1 primary(B: ;secondary(B: postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1 primary(B: ;secondary(B: postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1 check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check failover pod name failover pod name:postgres-yaznfx-postgresql-0 checking failover...(B  `kubectl delete pod postgres-yaznfx-postgresql-0 --force --namespace ns-bzpbs `(B  pod "postgres-yaznfx-postgresql-0" force deleted check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Init:0/3 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:15 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:09 UTC+0800 pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B pod_status:Init:0/3(B [Error] check pod status timeout(B --------------------------------------get cluster postgres-yaznfx yaml--------------------------------------  `kubectl get cluster postgres-yaznfx -o yaml --namespace ns-bzpbs `(B  apiVersion: apps.kubeblocks.io/v1 kind: Cluster metadata: annotations: kubeblocks.io/crd-api-version: apps.kubeblocks.io/v1 kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"apps.kubeblocks.io/v1","kind":"Cluster","metadata":{"annotations":{},"name":"postgres-yaznfx","namespace":"ns-bzpbs"},"spec":{"clusterDef":"postgresql","componentSpecs":[{"disableExporter":true,"labels":{"apps.kubeblocks.postgres.patroni/scope":"postgres-yaznfx-postgresql"},"name":"postgresql","replicas":2,"resources":{"limits":{"cpu":"100m","memory":"0.5Gi"},"requests":{"cpu":"100m","memory":"0.5Gi"}},"serviceVersion":"15.13.0","volumeClaimTemplates":[{"name":"data","spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"3Gi"}},"storageClassName":null}}]}],"terminationPolicy":"DoNotTerminate","topology":"replication"}} creationTimestamp: "2026-02-12T01:59:38Z" finalizers: - cluster.kubeblocks.io/finalizer generation: 3 labels: app.kubernetes.io/instance: postgres-yaznfx clusterdefinition.kubeblocks.io/name: postgresql name: postgres-yaznfx namespace: ns-bzpbs resourceVersion: "46673" uid: bdc56550-3af9-4370-9fd4-37e994e711bd spec: clusterDef: postgresql componentSpecs: - annotations: kubeblocks.io/restart: "2026-02-12T02:07:28Z" componentDef: postgresql-15-1.0.2 disableExporter: true labels: apps.kubeblocks.postgres.patroni/scope: postgres-yaznfx-postgresql name: postgresql podUpdatePolicy: PreferInPlace replicas: 2 resources: limits: cpu: 100m memory: 512Mi requests: cpu: 100m memory: 512Mi serviceVersion: 15.13.0 volumeClaimTemplates: - name: data spec: accessModes: - ReadWriteOnce resources: requests: storage: 3Gi terminationPolicy: DoNotTerminate topology: replication status: components: postgresql: observedGeneration: 3 phase: Updating upToDate: true conditions: - lastTransitionTime: "2026-02-12T01:59:38Z" message: 'The operator has started the provisioning of Cluster: postgres-yaznfx' observedGeneration: 3 reason: PreCheckSucceed status: "True" type: ProvisioningStarted - lastTransitionTime: "2026-02-12T01:59:38Z" message: Successfully applied for resources observedGeneration: 3 reason: ApplyResourcesSucceed status: "True" type: ApplyResources - lastTransitionTime: "2026-02-12T02:02:49Z" message: cluster postgres-yaznfx is ready reason: ClusterReady status: "True" type: Ready observedGeneration: 3 phase: Updating ------------------------------------------------------------------------------------------------------------------ --------------------------------------describe cluster postgres-yaznfx--------------------------------------  `kubectl describe cluster postgres-yaznfx --namespace ns-bzpbs `(B  Name: postgres-yaznfx Namespace: ns-bzpbs Labels: app.kubernetes.io/instance=postgres-yaznfx clusterdefinition.kubeblocks.io/name=postgresql Annotations: kubeblocks.io/crd-api-version: apps.kubeblocks.io/v1 API Version: apps.kubeblocks.io/v1 Kind: Cluster Metadata: Creation Timestamp: 2026-02-12T01:59:38Z Finalizers: cluster.kubeblocks.io/finalizer Generation: 3 Resource Version: 46673 UID: bdc56550-3af9-4370-9fd4-37e994e711bd Spec: Cluster Def: postgresql Component Specs: Annotations: kubeblocks.io/restart: 2026-02-12T02:07:28Z Component Def: postgresql-15-1.0.2 Disable Exporter: true Labels: apps.kubeblocks.postgres.patroni/scope: postgres-yaznfx-postgresql Name: postgresql Pod Update Policy: PreferInPlace Replicas: 2 Resources: Limits: Cpu: 100m Memory: 512Mi Requests: Cpu: 100m Memory: 512Mi Service Version: 15.13.0 Volume Claim Templates: Name: data Spec: Access Modes: ReadWriteOnce Resources: Requests: Storage: 3Gi Termination Policy: DoNotTerminate Topology: replication Status: Components: Postgresql: Observed Generation: 3 Phase: Updating Up To Date: true Conditions: Last Transition Time: 2026-02-12T01:59:38Z Message: The operator has started the provisioning of Cluster: postgres-yaznfx Observed Generation: 3 Reason: PreCheckSucceed Status: True Type: ProvisioningStarted Last Transition Time: 2026-02-12T01:59:38Z Message: Successfully applied for resources Observed Generation: 3 Reason: ApplyResourcesSucceed Status: True Type: ApplyResources Last Transition Time: 2026-02-12T02:02:49Z Message: cluster postgres-yaznfx is ready Reason: ClusterReady Status: True Type: Ready Observed Generation: 3 Phase: Updating Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal PreCheckSucceed 23m (x2 over 23m) cluster-controller The operator has started the provisioning of Cluster: postgres-yaznfx Normal ApplyResourcesSucceed 23m (x2 over 23m) cluster-controller Successfully applied for resources Normal ClusterComponentPhaseTransition 23m (x2 over 23m) cluster-controller cluster component postgresql is Creating Normal ClusterReady 20m cluster-controller cluster postgres-yaznfx is ready Normal ClusterComponentPhaseTransition 17m (x4 over 19m) cluster-controller cluster component postgresql is Updating Normal ClusterComponentPhaseTransition 8m16s (x17 over 20m) cluster-controller cluster component postgresql is Running Normal Running 8m16s (x3 over 20m) cluster-controller Cluster: postgres-yaznfx is ready, current phase is Running ------------------------------------------------------------------------------------------------------------------ --------------------------------------get pod postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1 yaml--------------------------------------  `kubectl get pod postgres-yaznfx-postgresql-0 -o yaml --namespace ns-bzpbs `(B  apiVersion: v1 kind: Pod metadata: annotations: config.kubeblocks.io/restart-postgresql-configuration-f86657657: 7cfd7f4fc kubeblocks.io/restart: "2026-02-12T02:07:28Z" creationTimestamp: "2026-02-12T02:15:55Z" labels: app.kubernetes.io/component: postgresql-15-1.0.2 app.kubernetes.io/instance: postgres-yaznfx app.kubernetes.io/managed-by: kubeblocks apps.kubeblocks.io/component-name: postgresql apps.kubeblocks.io/pod-name: postgres-yaznfx-postgresql-0 apps.kubeblocks.io/release-phase: stable apps.kubeblocks.io/service-version: 15.13.0 apps.kubeblocks.postgres.patroni/scope: postgres-yaznfx-postgresql controller-revision-hash: 6df8584b47 workloads.kubeblocks.io/instance: postgres-yaznfx-postgresql workloads.kubeblocks.io/managed-by: InstanceSet name: postgres-yaznfx-postgresql-0 namespace: ns-bzpbs ownerReferences: - apiVersion: workloads.kubeblocks.io/v1 blockOwnerDeletion: true controller: true kind: InstanceSet name: postgres-yaznfx-postgresql uid: fde9f6e4-63ca-48e1-ad5c-5904ec874a31 resourceVersion: "46653" uid: 83c936db-3c3b-4ca7-9551-78a7eca93dc4 spec: containers: - command: - /kb-scripts/postgres-setup.sh env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: DCS_ENABLE_KUBERNETES_API value: "true" - name: KUBERNETES_USE_CONFIGMAPS value: "true" - name: KUBERNETES_SCOPE_LABEL value: workloads.kubeblocks.io/instance - name: KUBERNETES_ROLE_LABEL value: apps.kubeblocks.postgres.patroni/role - name: KUBERNETES_LABELS value: '{"app.kubernetes.io/managed-by":"kubeblocks","app.kubernetes.io/instance":"$(CLUSTER_NAME)","apps.kubeblocks.io/component-name":"$(POSTGRES_COMPONENT_SHORT_NAME)","workloads.kubeblocks.io/instance":"$(POSTGRES_COMPONENT_NAME)"}' - name: RESTORE_DATA_DIR value: /home/postgres/pgdata/kb_restore - name: KB_PG_CONFIG_PATH value: /home/postgres/conf/postgresql.conf - name: SPILO_CONFIGURATION value: | bootstrap: initdb: - auth-host: md5 - auth-local: trust - name: ALLOW_NOSSL value: "true" - name: PGROOT value: /home/postgres/pgdata/pgroot - name: PGUSER_SUPERUSER value: $(POSTGRES_USER) - name: PGPASSWORD_SUPERUSER value: $(POSTGRES_PASSWORD) - name: PGUSER_ADMIN value: superadmin - name: PGPASSWORD_ADMIN value: $(POSTGRES_PASSWORD) - name: PGUSER_STANDBY value: standby - name: PGPASSWORD_STANDBY value: $(POSTGRES_PASSWORD) - name: PGUSER value: $(POSTGRES_USER) - name: PGPASSWORD value: $(POSTGRES_PASSWORD) - name: CURRENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: CURRENT_POD_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.podIP - name: CURRENT_POD_HOST_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.hostIP - name: POD_IP value: $(CURRENT_POD_IP) - name: POD_NAMESPACE value: $(CLUSTER_NAMESPACE) envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/spilo:15.13 imagePullPolicy: IfNotPresent name: postgresql ports: - containerPort: 5432 name: tcp-postgresql protocol: TCP - containerPort: 8008 name: patroni protocol: TCP readinessProbe: exec: command: - /bin/sh - -c - -ee - | exec pg_isready -U "postgres" -h 127.0.0.1 -p 5432 [ -f /postgresql/tmp/.initialized ] || [ -f /postgresql/.initialized ] failureThreshold: 3 initialDelaySeconds: 10 periodSeconds: 30 successThreshold: 1 timeoutSeconds: 5 resources: limits: cpu: 100m memory: 512Mi requests: cpu: 100m memory: 512Mi securityContext: runAsUser: 0 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true - command: - /kb-scripts/pgbouncer-setup.sh env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: PGBOUNCER_AUTH_TYPE value: md5 - name: POSTGRESQL_USERNAME value: $(POSTGRES_USER) - name: POSTGRESQL_PASSWORD value: $(POSTGRES_PASSWORD) - name: POSTGRESQL_PORT value: "5432" - name: PGBOUNCER_PORT value: "6432" - name: PGBOUNCER_BIND_ADDRESS value: 0.0.0.0 - name: CURRENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: CURRENT_POD_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.podIP - name: CURRENT_POD_HOST_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.hostIP - name: POSTGRESQL_HOST value: $(CURRENT_POD_IP) envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/pgbouncer:1.19.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 initialDelaySeconds: 15 periodSeconds: 30 successThreshold: 1 tcpSocket: port: tcp-pgbouncer timeoutSeconds: 5 name: pgbouncer ports: - containerPort: 6432 name: tcp-pgbouncer protocol: TCP readinessProbe: failureThreshold: 3 initialDelaySeconds: 15 periodSeconds: 30 successThreshold: 1 tcpSocket: port: tcp-pgbouncer timeoutSeconds: 5 resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" securityContext: runAsUser: 0 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /home/pgbouncer/conf name: pgbouncer-config - mountPath: /kb-scripts name: scripts - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true - command: - /bin/dbctl - postgresql - service env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: PATRONI_PORT value: "8008" envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/dbctl:0.2.0 imagePullPolicy: IfNotPresent name: dbctl resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true - args: - --port - "3501" - --streaming-port - "3502" command: - /kubeblocks/kbagent env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: CURRENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: PGUSER value: $(POSTGRES_USER) - name: PGPASSWORD value: $(POSTGRES_PASSWORD) - name: KB_AGENT_NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.namespace - name: KB_AGENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: KB_AGENT_POD_UID valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.uid - name: KB_AGENT_NODE_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - name: KB_AGENT_ACTION value: '[{"name":"switchover","exec":{"command":["/kb-scripts/switchover.sh"]}},{"name":"accountProvision","exec":{"command":["bash","-c","eval statement=\\\"${KB_ACCOUNT_STATEMENT}\\\"\npsql -h 127.0.0.1 -c \"${statement}\"\n"]}},{"name":"roleProbe","http":{"port":"5001","scheme":"HTTP","path":"/v1.0/getrole","method":"GET"},"timeoutSeconds":1}]' - name: KB_AGENT_PROBE value: '[{"instance":"postgres-yaznfx-postgresql","action":"roleProbe","periodSeconds":1}]' envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/spilo:15.13 imagePullPolicy: IfNotPresent name: kbagent ports: - containerPort: 3501 name: http protocol: TCP - containerPort: 3502 name: streaming protocol: TCP resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" securityContext: runAsGroup: 1000 startupProbe: failureThreshold: 3 periodSeconds: 10 successThreshold: 1 tcpSocket: port: 3501 timeoutSeconds: 1 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true - args: - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$(TOOLS_PATH) - /bin/reloader - --log-level - info - --operator-update-enable - --tcp - "9901" - --config - /opt/config-manager/config-manager.yaml command: - env env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: CONFIG_MANAGER_POD_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.podIP - name: TOOLS_PATH value: /opt/kb-tools/reload/postgresql-configuration:/opt/config-manager envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/kubeblocks-tools:1.0.2 imagePullPolicy: IfNotPresent name: config-manager ports: - containerPort: 9901 name: config-manager protocol: TCP resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /home/pgbouncer/conf name: pgbouncer-config - mountPath: /opt/kb-tools/reload/postgresql-configuration name: cm-script-postgresql-configuration - mountPath: /opt/config-manager name: config-manager-config - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true dnsPolicy: ClusterFirst enableServiceLinks: true hostname: postgres-yaznfx-postgresql-0 initContainers: - command: - /kb-scripts/postgres-pre-setup.sh env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/spilo-init:0.2 imagePullPolicy: IfNotPresent name: pg-init-container resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true - command: - cp - -r - /bin/kbagent - /kubeblocks/ env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/kubeblocks-tools:1.0.2 imagePullPolicy: IfNotPresent name: init-kbagent resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true - args: - --server=false command: - /kubeblocks/kbagent env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: CURRENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: PGUSER value: $(POSTGRES_USER) - name: PGPASSWORD value: $(POSTGRES_PASSWORD) - name: KB_AGENT_NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.namespace - name: KB_AGENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: KB_AGENT_POD_UID valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.uid - name: KB_AGENT_NODE_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - name: KB_AGENT_ACTION value: '[{"name":"switchover","exec":{"command":["/kb-scripts/switchover.sh"]}},{"name":"accountProvision","exec":{"command":["bash","-c","eval statement=\\\"${KB_ACCOUNT_STATEMENT}\\\"\npsql -h 127.0.0.1 -c \"${statement}\"\n"]}},{"name":"roleProbe","http":{"port":"5001","scheme":"HTTP","path":"/v1.0/getrole","method":"GET"},"timeoutSeconds":1}]' - name: KB_AGENT_PROBE value: '[{"instance":"postgres-yaznfx-postgresql","action":"roleProbe","periodSeconds":1}]' envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/spilo:15.13 imagePullPolicy: IfNotPresent name: kbagent-worker resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" securityContext: runAsGroup: 1000 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true nodeName: aks-cicdamdpool-14916756-vmss000005 preemptionPolicy: PreemptLowerPriority priority: 0 restartPolicy: Always schedulerName: default-scheduler securityContext: fsGroup: 103 fsGroupChangePolicy: OnRootMismatch runAsGroup: 103 runAsUser: 0 serviceAccount: kb-postgresql-15-1.0.2 serviceAccountName: kb-postgresql-15-1.0.2 subdomain: postgres-yaznfx-postgresql-headless terminationGracePeriodSeconds: 30 tolerations: - effect: NoExecute key: node.kubernetes.io/not-ready operator: Exists tolerationSeconds: 300 - effect: NoExecute key: node.kubernetes.io/unreachable operator: Exists tolerationSeconds: 300 - effect: NoSchedule key: node.kubernetes.io/memory-pressure operator: Exists volumes: - emptyDir: medium: Memory sizeLimit: 512Mi name: dshm - name: data persistentVolumeClaim: claimName: data-postgres-yaznfx-postgresql-0 - emptyDir: {} name: tools - emptyDir: {} name: kubeblocks - configMap: defaultMode: 511 name: postgres-yaznfx-postgresql-postgresql-configuration name: postgresql-config - configMap: defaultMode: 511 name: postgres-yaznfx-postgresql-pgbouncer-configuration name: pgbouncer-config - configMap: defaultMode: 292 name: postgres-yaznfx-postgresql-postgresql-custom-metrics name: postgresql-custom-metrics - configMap: defaultMode: 365 name: postgres-yaznfx-postgresql-postgresql-scripts name: scripts - configMap: defaultMode: 493 name: sidecar-patroni-reload-scripts-1.0.2-postgres-yaznfx name: cm-script-postgresql-configuration - configMap: defaultMode: 493 name: sidecar-postgres-yaznfx-postgresql-config-manager-config name: config-manager-config - name: kube-api-access-gwn9m projected: defaultMode: 420 sources: - serviceAccountToken: expirationSeconds: 3607 path: token - configMap: items: - key: ca.crt path: ca.crt name: kube-root-ca.crt - downwardAPI: items: - fieldRef: apiVersion: v1 fieldPath: metadata.namespace path: namespace status: conditions: - lastProbeTime: null lastTransitionTime: "2026-02-12T02:15:55Z" status: "False" type: PodReadyToStartContainers - lastProbeTime: null lastTransitionTime: "2026-02-12T02:15:55Z" message: 'containers with incomplete status: [pg-init-container init-kbagent kbagent-worker]' reason: ContainersNotInitialized status: "False" type: Initialized - lastProbeTime: null lastTransitionTime: "2026-02-12T02:15:55Z" message: 'containers with unready status: [postgresql pgbouncer dbctl kbagent config-manager]' reason: ContainersNotReady status: "False" type: Ready - lastProbeTime: null lastTransitionTime: "2026-02-12T02:15:55Z" message: 'containers with unready status: [postgresql pgbouncer dbctl kbagent config-manager]' reason: ContainersNotReady status: "False" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2026-02-12T02:15:55Z" status: "True" type: PodScheduled containerStatuses: - image: docker.io/apecloud/kubeblocks-tools:1.0.2 imageID: "" lastState: {} name: config-manager ready: false restartCount: 0 started: false state: waiting: reason: PodInitializing volumeMounts: - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /home/pgbouncer/conf name: pgbouncer-config - mountPath: /opt/kb-tools/reload/postgresql-configuration name: cm-script-postgresql-configuration - mountPath: /opt/config-manager name: config-manager-config - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true recursiveReadOnly: Disabled - image: docker.io/apecloud/dbctl:0.2.0 imageID: "" lastState: {} name: dbctl ready: false restartCount: 0 started: false state: waiting: reason: PodInitializing volumeMounts: - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true recursiveReadOnly: Disabled - image: docker.io/apecloud/spilo:15.13 imageID: "" lastState: {} name: kbagent ready: false restartCount: 0 started: false state: waiting: reason: PodInitializing volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true recursiveReadOnly: Disabled - image: docker.io/apecloud/pgbouncer:1.19.0 imageID: "" lastState: {} name: pgbouncer ready: false restartCount: 0 started: false state: waiting: reason: PodInitializing volumeMounts: - mountPath: /home/pgbouncer/conf name: pgbouncer-config - mountPath: /kb-scripts name: scripts - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true recursiveReadOnly: Disabled - image: docker.io/apecloud/spilo:15.13 imageID: "" lastState: {} name: postgresql ready: false restartCount: 0 started: false state: waiting: reason: PodInitializing volumeMounts: - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true recursiveReadOnly: Disabled hostIP: 10.224.0.10 hostIPs: - ip: 10.224.0.10 initContainerStatuses: - image: docker.io/apecloud/spilo-init:0.2 imageID: "" lastState: {} name: pg-init-container ready: false restartCount: 0 started: false state: waiting: reason: PodInitializing volumeMounts: - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true recursiveReadOnly: Disabled - image: docker.io/apecloud/kubeblocks-tools:1.0.2 imageID: "" lastState: {} name: init-kbagent ready: false restartCount: 0 started: false state: waiting: reason: PodInitializing volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true recursiveReadOnly: Disabled - image: docker.io/apecloud/spilo:15.13 imageID: "" lastState: {} name: kbagent-worker ready: false restartCount: 0 started: false state: waiting: reason: PodInitializing volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-gwn9m readOnly: true recursiveReadOnly: Disabled phase: Pending qosClass: Burstable startTime: "2026-02-12T02:15:55Z" ------------------------------------------------------------------------------------------------------------------  `kubectl get pod postgres-yaznfx-postgresql-1 -o yaml --namespace ns-bzpbs `(B  apiVersion: v1 kind: Pod metadata: annotations: apps.kubeblocks.io/last-role-snapshot-version: "1770862595714666" config.kubeblocks.io/restart-postgresql-configuration-f86657657: 7cfd7f4fc kubeblocks.io/restart: "2026-02-12T02:07:28Z" status: '{"conn_url":"postgres://10.244.6.171:5432/postgres","api_url":"http://10.244.6.171:8008/patroni","state":"running","role":"primary","version":"4.0.4","xlog_location":131393576,"timeline":5}' creationTimestamp: "2026-02-12T02:09:14Z" labels: app.kubernetes.io/component: postgresql-15-1.0.2 app.kubernetes.io/instance: postgres-yaznfx app.kubernetes.io/managed-by: kubeblocks apps.kubeblocks.io/component-name: postgresql apps.kubeblocks.io/pod-name: postgres-yaznfx-postgresql-1 apps.kubeblocks.io/release-phase: stable apps.kubeblocks.io/service-version: 15.13.0 apps.kubeblocks.postgres.patroni/role: master apps.kubeblocks.postgres.patroni/scope: postgres-yaznfx-postgresql controller-revision-hash: 6df8584b47 kubeblocks.io/role: primary workloads.kubeblocks.io/instance: postgres-yaznfx-postgresql workloads.kubeblocks.io/managed-by: InstanceSet name: postgres-yaznfx-postgresql-1 namespace: ns-bzpbs ownerReferences: - apiVersion: workloads.kubeblocks.io/v1 blockOwnerDeletion: true controller: true kind: InstanceSet name: postgres-yaznfx-postgresql uid: fde9f6e4-63ca-48e1-ad5c-5904ec874a31 resourceVersion: "48906" uid: db15eff2-a586-4efb-a220-7ea36f395b94 spec: containers: - command: - /kb-scripts/postgres-setup.sh env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: DCS_ENABLE_KUBERNETES_API value: "true" - name: KUBERNETES_USE_CONFIGMAPS value: "true" - name: KUBERNETES_SCOPE_LABEL value: workloads.kubeblocks.io/instance - name: KUBERNETES_ROLE_LABEL value: apps.kubeblocks.postgres.patroni/role - name: KUBERNETES_LABELS value: '{"app.kubernetes.io/managed-by":"kubeblocks","app.kubernetes.io/instance":"$(CLUSTER_NAME)","apps.kubeblocks.io/component-name":"$(POSTGRES_COMPONENT_SHORT_NAME)","workloads.kubeblocks.io/instance":"$(POSTGRES_COMPONENT_NAME)"}' - name: RESTORE_DATA_DIR value: /home/postgres/pgdata/kb_restore - name: KB_PG_CONFIG_PATH value: /home/postgres/conf/postgresql.conf - name: SPILO_CONFIGURATION value: | bootstrap: initdb: - auth-host: md5 - auth-local: trust - name: ALLOW_NOSSL value: "true" - name: PGROOT value: /home/postgres/pgdata/pgroot - name: PGUSER_SUPERUSER value: $(POSTGRES_USER) - name: PGPASSWORD_SUPERUSER value: $(POSTGRES_PASSWORD) - name: PGUSER_ADMIN value: superadmin - name: PGPASSWORD_ADMIN value: $(POSTGRES_PASSWORD) - name: PGUSER_STANDBY value: standby - name: PGPASSWORD_STANDBY value: $(POSTGRES_PASSWORD) - name: PGUSER value: $(POSTGRES_USER) - name: PGPASSWORD value: $(POSTGRES_PASSWORD) - name: CURRENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: CURRENT_POD_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.podIP - name: CURRENT_POD_HOST_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.hostIP - name: POD_IP value: $(CURRENT_POD_IP) - name: POD_NAMESPACE value: $(CLUSTER_NAMESPACE) envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/spilo:15.13 imagePullPolicy: IfNotPresent name: postgresql ports: - containerPort: 5432 name: tcp-postgresql protocol: TCP - containerPort: 8008 name: patroni protocol: TCP readinessProbe: exec: command: - /bin/sh - -c - -ee - | exec pg_isready -U "postgres" -h 127.0.0.1 -p 5432 [ -f /postgresql/tmp/.initialized ] || [ -f /postgresql/.initialized ] failureThreshold: 3 initialDelaySeconds: 10 periodSeconds: 30 successThreshold: 1 timeoutSeconds: 5 resources: limits: cpu: 100m memory: 512Mi requests: cpu: 100m memory: 512Mi securityContext: runAsUser: 0 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true - command: - /kb-scripts/pgbouncer-setup.sh env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: PGBOUNCER_AUTH_TYPE value: md5 - name: POSTGRESQL_USERNAME value: $(POSTGRES_USER) - name: POSTGRESQL_PASSWORD value: $(POSTGRES_PASSWORD) - name: POSTGRESQL_PORT value: "5432" - name: PGBOUNCER_PORT value: "6432" - name: PGBOUNCER_BIND_ADDRESS value: 0.0.0.0 - name: CURRENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: CURRENT_POD_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.podIP - name: CURRENT_POD_HOST_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.hostIP - name: POSTGRESQL_HOST value: $(CURRENT_POD_IP) envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/pgbouncer:1.19.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 initialDelaySeconds: 15 periodSeconds: 30 successThreshold: 1 tcpSocket: port: tcp-pgbouncer timeoutSeconds: 5 name: pgbouncer ports: - containerPort: 6432 name: tcp-pgbouncer protocol: TCP readinessProbe: failureThreshold: 3 initialDelaySeconds: 15 periodSeconds: 30 successThreshold: 1 tcpSocket: port: tcp-pgbouncer timeoutSeconds: 5 resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" securityContext: runAsUser: 0 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /home/pgbouncer/conf name: pgbouncer-config - mountPath: /kb-scripts name: scripts - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true - command: - /bin/dbctl - postgresql - service env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: PATRONI_PORT value: "8008" envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/dbctl:0.2.0 imagePullPolicy: IfNotPresent name: dbctl resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true - args: - --port - "3501" - --streaming-port - "3502" command: - /kubeblocks/kbagent env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: CURRENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: PGUSER value: $(POSTGRES_USER) - name: PGPASSWORD value: $(POSTGRES_PASSWORD) - name: KB_AGENT_NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.namespace - name: KB_AGENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: KB_AGENT_POD_UID valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.uid - name: KB_AGENT_NODE_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - name: KB_AGENT_ACTION value: '[{"name":"switchover","exec":{"command":["/kb-scripts/switchover.sh"]}},{"name":"accountProvision","exec":{"command":["bash","-c","eval statement=\\\"${KB_ACCOUNT_STATEMENT}\\\"\npsql -h 127.0.0.1 -c \"${statement}\"\n"]}},{"name":"roleProbe","http":{"port":"5001","scheme":"HTTP","path":"/v1.0/getrole","method":"GET"},"timeoutSeconds":1}]' - name: KB_AGENT_PROBE value: '[{"instance":"postgres-yaznfx-postgresql","action":"roleProbe","periodSeconds":1}]' envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/spilo:15.13 imagePullPolicy: IfNotPresent name: kbagent ports: - containerPort: 3501 name: http protocol: TCP - containerPort: 3502 name: streaming protocol: TCP resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" securityContext: runAsGroup: 1000 startupProbe: failureThreshold: 3 periodSeconds: 10 successThreshold: 1 tcpSocket: port: 3501 timeoutSeconds: 1 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true - args: - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$(TOOLS_PATH) - /bin/reloader - --log-level - info - --operator-update-enable - --tcp - "9901" - --config - /opt/config-manager/config-manager.yaml command: - env env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: CONFIG_MANAGER_POD_IP valueFrom: fieldRef: apiVersion: v1 fieldPath: status.podIP - name: TOOLS_PATH value: /opt/kb-tools/reload/postgresql-configuration:/opt/config-manager envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/kubeblocks-tools:1.0.2 imagePullPolicy: IfNotPresent name: config-manager ports: - containerPort: 9901 name: config-manager protocol: TCP resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /home/pgbouncer/conf name: pgbouncer-config - mountPath: /opt/kb-tools/reload/postgresql-configuration name: cm-script-postgresql-configuration - mountPath: /opt/config-manager name: config-manager-config - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true dnsPolicy: ClusterFirst enableServiceLinks: true hostname: postgres-yaznfx-postgresql-1 initContainers: - command: - /kb-scripts/postgres-pre-setup.sh env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/spilo-init:0.2 imagePullPolicy: IfNotPresent name: pg-init-container resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true - command: - cp - -r - /bin/kbagent - /kubeblocks/ env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/kubeblocks-tools:1.0.2 imagePullPolicy: IfNotPresent name: init-kbagent resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true - args: - --server=false command: - /kubeblocks/kbagent env: - name: POSTGRES_USER valueFrom: secretKeyRef: key: username name: postgres-yaznfx-postgresql-account-postgres - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: key: password name: postgres-yaznfx-postgresql-account-postgres - name: CURRENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: PGUSER value: $(POSTGRES_USER) - name: PGPASSWORD value: $(POSTGRES_PASSWORD) - name: KB_AGENT_NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.namespace - name: KB_AGENT_POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: KB_AGENT_POD_UID valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.uid - name: KB_AGENT_NODE_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - name: KB_AGENT_ACTION value: '[{"name":"switchover","exec":{"command":["/kb-scripts/switchover.sh"]}},{"name":"accountProvision","exec":{"command":["bash","-c","eval statement=\\\"${KB_ACCOUNT_STATEMENT}\\\"\npsql -h 127.0.0.1 -c \"${statement}\"\n"]}},{"name":"roleProbe","http":{"port":"5001","scheme":"HTTP","path":"/v1.0/getrole","method":"GET"},"timeoutSeconds":1}]' - name: KB_AGENT_PROBE value: '[{"instance":"postgres-yaznfx-postgresql","action":"roleProbe","periodSeconds":1}]' envFrom: - configMapRef: name: postgres-yaznfx-postgresql-env optional: false image: docker.io/apecloud/spilo:15.13 imagePullPolicy: IfNotPresent name: kbagent-worker resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" securityContext: runAsGroup: 1000 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true nodeName: aks-cicdamdpool-14916756-vmss000002 preemptionPolicy: PreemptLowerPriority priority: 0 restartPolicy: Always schedulerName: default-scheduler securityContext: fsGroup: 103 fsGroupChangePolicy: OnRootMismatch runAsGroup: 103 runAsUser: 0 serviceAccount: kb-postgresql-15-1.0.2 serviceAccountName: kb-postgresql-15-1.0.2 subdomain: postgres-yaznfx-postgresql-headless terminationGracePeriodSeconds: 30 tolerations: - effect: NoExecute key: node.kubernetes.io/not-ready operator: Exists tolerationSeconds: 300 - effect: NoExecute key: node.kubernetes.io/unreachable operator: Exists tolerationSeconds: 300 - effect: NoSchedule key: node.kubernetes.io/memory-pressure operator: Exists volumes: - emptyDir: medium: Memory sizeLimit: 512Mi name: dshm - name: data persistentVolumeClaim: claimName: data-postgres-yaznfx-postgresql-1 - emptyDir: {} name: tools - emptyDir: {} name: kubeblocks - configMap: defaultMode: 511 name: postgres-yaznfx-postgresql-postgresql-configuration name: postgresql-config - configMap: defaultMode: 511 name: postgres-yaznfx-postgresql-pgbouncer-configuration name: pgbouncer-config - configMap: defaultMode: 292 name: postgres-yaznfx-postgresql-postgresql-custom-metrics name: postgresql-custom-metrics - configMap: defaultMode: 365 name: postgres-yaznfx-postgresql-postgresql-scripts name: scripts - configMap: defaultMode: 493 name: sidecar-patroni-reload-scripts-1.0.2-postgres-yaznfx name: cm-script-postgresql-configuration - configMap: defaultMode: 493 name: sidecar-postgres-yaznfx-postgresql-config-manager-config name: config-manager-config - name: kube-api-access-prvlc projected: defaultMode: 420 sources: - serviceAccountToken: expirationSeconds: 3607 path: token - configMap: items: - key: ca.crt path: ca.crt name: kube-root-ca.crt - downwardAPI: items: - fieldRef: apiVersion: v1 fieldPath: metadata.namespace path: namespace status: conditions: - lastProbeTime: null lastTransitionTime: "2026-02-12T02:14:37Z" status: "True" type: PodReadyToStartContainers - lastProbeTime: null lastTransitionTime: "2026-02-12T02:14:39Z" status: "True" type: Initialized - lastProbeTime: null lastTransitionTime: "2026-02-12T02:15:05Z" status: "True" type: Ready - lastProbeTime: null lastTransitionTime: "2026-02-12T02:15:05Z" status: "True" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2026-02-12T02:09:14Z" status: "True" type: PodScheduled containerStatuses: - containerID: containerd://eeaa8894cfc90365d321401985c0e52c62e6d01f679c41285097adcce7504083 image: docker.io/apecloud/kubeblocks-tools:1.0.2 imageID: docker.io/apecloud/kubeblocks-tools@sha256:52a60316d6ece80cb1440179a7902bad1129a8535c025722486f4f1986d095ea lastState: {} name: config-manager ready: true restartCount: 0 started: true state: running: startedAt: "2026-02-12T02:14:40Z" volumeMounts: - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /home/pgbouncer/conf name: pgbouncer-config - mountPath: /opt/kb-tools/reload/postgresql-configuration name: cm-script-postgresql-configuration - mountPath: /opt/config-manager name: config-manager-config - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true recursiveReadOnly: Disabled - containerID: containerd://94f108f8818d43727317c8a23864b3ef2f4bc87d433c2a62ebff9e0925fb7705 image: docker.io/apecloud/dbctl:0.2.0 imageID: docker.io/apecloud/dbctl@sha256:4e503ebc769ea73f1da8b1df1e8fa23036c22d0aea9212ac9d7ef7b7f6165507 lastState: {} name: dbctl ready: true restartCount: 0 started: true state: running: startedAt: "2026-02-12T02:14:40Z" volumeMounts: - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true recursiveReadOnly: Disabled - containerID: containerd://e2e585fd3b738d621a12f1feb91453f300ec3b35f785bf5706cad04993510ec8 image: docker.io/apecloud/spilo:15.13 imageID: docker.io/apecloud/spilo@sha256:9b556e8ad2b63816ae6009a9a63cf32b0438bc181748a5046b33429ea644623d lastState: {} name: kbagent ready: true restartCount: 0 started: true state: running: startedAt: "2026-02-12T02:14:40Z" volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true recursiveReadOnly: Disabled - containerID: containerd://331e5e91a4c9a6b8081be040957067db14a43ffaf5bab2a8a00e3ed1ca2fde16 image: docker.io/apecloud/pgbouncer:1.19.0 imageID: docker.io/apecloud/pgbouncer@sha256:c788fda7436d178e6ea94cf7b8fa767005f0ef483edd90b328c560e1935b26b5 lastState: {} name: pgbouncer ready: true restartCount: 0 started: true state: running: startedAt: "2026-02-12T02:14:39Z" volumeMounts: - mountPath: /home/pgbouncer/conf name: pgbouncer-config - mountPath: /kb-scripts name: scripts - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true recursiveReadOnly: Disabled - containerID: containerd://90cc83fb62eaaadc120ed512b7d4af3d40bc6f8d312f2f5085a161198d0e646a image: docker.io/apecloud/spilo:15.13 imageID: docker.io/apecloud/spilo@sha256:9b556e8ad2b63816ae6009a9a63cf32b0438bc181748a5046b33429ea644623d lastState: {} name: postgresql ready: true restartCount: 0 started: true state: running: startedAt: "2026-02-12T02:14:39Z" volumeMounts: - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true recursiveReadOnly: Disabled hostIP: 10.224.0.8 hostIPs: - ip: 10.224.0.8 initContainerStatuses: - containerID: containerd://dfc0bad222f8becadda577de5ee1060e1bedaab3e3ac29644ab0832a69122c45 image: docker.io/apecloud/spilo-init:0.2 imageID: docker.io/apecloud/spilo-init@sha256:2fbe1c157a6da0af88e3e983c3dd3c02f559890025cfb8b55be2fa66cdab0bca lastState: {} name: pg-init-container ready: true restartCount: 0 started: false state: terminated: containerID: containerd://dfc0bad222f8becadda577de5ee1060e1bedaab3e3ac29644ab0832a69122c45 exitCode: 0 finishedAt: "2026-02-12T02:14:37Z" reason: Completed startedAt: "2026-02-12T02:14:37Z" volumeMounts: - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true recursiveReadOnly: Disabled - containerID: containerd://8436ead535f4a9fbf4f566201184f53d3cd1e22cbf1e3670c225efd387d7bbc2 image: docker.io/apecloud/kubeblocks-tools:1.0.2 imageID: docker.io/apecloud/kubeblocks-tools@sha256:52a60316d6ece80cb1440179a7902bad1129a8535c025722486f4f1986d095ea lastState: {} name: init-kbagent ready: true restartCount: 0 started: false state: terminated: containerID: containerd://8436ead535f4a9fbf4f566201184f53d3cd1e22cbf1e3670c225efd387d7bbc2 exitCode: 0 finishedAt: "2026-02-12T02:14:37Z" reason: Completed startedAt: "2026-02-12T02:14:37Z" volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true recursiveReadOnly: Disabled - containerID: containerd://d7d6f8c19d86c184c2f309459e792161da5ae6873db82bd3e0dd84c0d08af4cd image: docker.io/apecloud/spilo:15.13 imageID: docker.io/apecloud/spilo@sha256:9b556e8ad2b63816ae6009a9a63cf32b0438bc181748a5046b33429ea644623d lastState: {} name: kbagent-worker ready: true restartCount: 0 started: false state: terminated: containerID: containerd://d7d6f8c19d86c184c2f309459e792161da5ae6873db82bd3e0dd84c0d08af4cd exitCode: 0 finishedAt: "2026-02-12T02:14:38Z" reason: Completed startedAt: "2026-02-12T02:14:38Z" volumeMounts: - mountPath: /kubeblocks name: kubeblocks - mountPath: /dev/shm name: dshm - mountPath: /home/postgres/pgdata name: data - mountPath: /home/postgres/conf name: postgresql-config - mountPath: /kb-scripts name: scripts - mountPath: /tools name: tools - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-prvlc readOnly: true recursiveReadOnly: Disabled phase: Running podIP: 10.244.6.171 podIPs: - ip: 10.244.6.171 qosClass: Burstable startTime: "2026-02-12T02:09:14Z" ------------------------------------------------------------------------------------------------------------------ --------------------------------------describe pod postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1--------------------------------------  `kubectl describe pod postgres-yaznfx-postgresql-0 --namespace ns-bzpbs `(B  Name: postgres-yaznfx-postgresql-0 Namespace: ns-bzpbs Priority: 0 Service Account: kb-postgresql-15-1.0.2 Node: aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Start Time: Thu, 12 Feb 2026 10:15:55 +0800 Labels: app.kubernetes.io/component=postgresql-15-1.0.2 app.kubernetes.io/instance=postgres-yaznfx app.kubernetes.io/managed-by=kubeblocks apps.kubeblocks.io/component-name=postgresql apps.kubeblocks.io/pod-name=postgres-yaznfx-postgresql-0 apps.kubeblocks.io/release-phase=stable apps.kubeblocks.io/service-version=15.13.0 apps.kubeblocks.postgres.patroni/scope=postgres-yaznfx-postgresql controller-revision-hash=6df8584b47 workloads.kubeblocks.io/instance=postgres-yaznfx-postgresql workloads.kubeblocks.io/managed-by=InstanceSet Annotations: config.kubeblocks.io/restart-postgresql-configuration-f86657657: 7cfd7f4fc kubeblocks.io/restart: 2026-02-12T02:07:28Z Status: Pending IP: IPs: Controlled By: InstanceSet/postgres-yaznfx-postgresql Init Containers: pg-init-container: Container ID: Image: docker.io/apecloud/spilo-init:0.2 Image ID: Port: Host Port: Command: /kb-scripts/postgres-pre-setup.sh State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false Mounts: /home/postgres/conf from postgresql-config (rw) /home/postgres/pgdata from data (rw) /kb-scripts from scripts (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwn9m (ro) init-kbagent: Container ID: Image: docker.io/apecloud/kubeblocks-tools:1.0.2 Image ID: Port: Host Port: Command: cp -r /bin/kbagent /kubeblocks/ State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false Mounts: /kubeblocks from kubeblocks (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwn9m (ro) kbagent-worker: Container ID: Image: docker.io/apecloud/spilo:15.13 Image ID: Port: Host Port: Command: /kubeblocks/kbagent Args: --server=false State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false CURRENT_POD_NAME: postgres-yaznfx-postgresql-0 (v1:metadata.name) PGUSER: $(POSTGRES_USER) PGPASSWORD: $(POSTGRES_PASSWORD) KB_AGENT_NAMESPACE: ns-bzpbs (v1:metadata.namespace) KB_AGENT_POD_NAME: postgres-yaznfx-postgresql-0 (v1:metadata.name) KB_AGENT_POD_UID: (v1:metadata.uid) KB_AGENT_NODE_NAME: (v1:spec.nodeName) KB_AGENT_ACTION: [{"name":"switchover","exec":{"command":["/kb-scripts/switchover.sh"]}},{"name":"accountProvision","exec":{"command":["bash","-c","eval statement=\\\"${KB_ACCOUNT_STATEMENT}\\\"\npsql -h 127.0.0.1 -c \"${statement}\"\n"]}},{"name":"roleProbe","http":{"port":"5001","scheme":"HTTP","path":"/v1.0/getrole","method":"GET"},"timeoutSeconds":1}] KB_AGENT_PROBE: [{"instance":"postgres-yaznfx-postgresql","action":"roleProbe","periodSeconds":1}] Mounts: /dev/shm from dshm (rw) /home/postgres/conf from postgresql-config (rw) /home/postgres/pgdata from data (rw) /kb-scripts from scripts (rw) /kubeblocks from kubeblocks (rw) /tools from tools (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwn9m (ro) Containers: postgresql: Container ID: Image: docker.io/apecloud/spilo:15.13 Image ID: Ports: 5432/TCP, 8008/TCP Host Ports: 0/TCP, 0/TCP Command: /kb-scripts/postgres-setup.sh State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 100m memory: 512Mi Requests: cpu: 100m memory: 512Mi Readiness: exec [/bin/sh -c -ee exec pg_isready -U "postgres" -h 127.0.0.1 -p 5432 [ -f /postgresql/tmp/.initialized ] || [ -f /postgresql/.initialized ] ] delay=10s timeout=5s period=30s #success=1 #failure=3 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false DCS_ENABLE_KUBERNETES_API: true KUBERNETES_USE_CONFIGMAPS: true KUBERNETES_SCOPE_LABEL: workloads.kubeblocks.io/instance KUBERNETES_ROLE_LABEL: apps.kubeblocks.postgres.patroni/role KUBERNETES_LABELS: {"app.kubernetes.io/managed-by":"kubeblocks","app.kubernetes.io/instance":"$(CLUSTER_NAME)","apps.kubeblocks.io/component-name":"$(POSTGRES_COMPONENT_SHORT_NAME)","workloads.kubeblocks.io/instance":"$(POSTGRES_COMPONENT_NAME)"} RESTORE_DATA_DIR: /home/postgres/pgdata/kb_restore KB_PG_CONFIG_PATH: /home/postgres/conf/postgresql.conf SPILO_CONFIGURATION: bootstrap: initdb: - auth-host: md5 - auth-local: trust ALLOW_NOSSL: true PGROOT: /home/postgres/pgdata/pgroot PGUSER_SUPERUSER: $(POSTGRES_USER) PGPASSWORD_SUPERUSER: $(POSTGRES_PASSWORD) PGUSER_ADMIN: superadmin PGPASSWORD_ADMIN: $(POSTGRES_PASSWORD) PGUSER_STANDBY: standby PGPASSWORD_STANDBY: $(POSTGRES_PASSWORD) PGUSER: $(POSTGRES_USER) PGPASSWORD: $(POSTGRES_PASSWORD) CURRENT_POD_NAME: postgres-yaznfx-postgresql-0 (v1:metadata.name) CURRENT_POD_IP: (v1:status.podIP) CURRENT_POD_HOST_IP: (v1:status.hostIP) POD_IP: $(CURRENT_POD_IP) POD_NAMESPACE: $(CLUSTER_NAMESPACE) Mounts: /dev/shm from dshm (rw) /home/postgres/conf from postgresql-config (rw) /home/postgres/pgdata from data (rw) /kb-scripts from scripts (rw) /tools from tools (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwn9m (ro) pgbouncer: Container ID: Image: docker.io/apecloud/pgbouncer:1.19.0 Image ID: Port: 6432/TCP Host Port: 0/TCP Command: /kb-scripts/pgbouncer-setup.sh State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Liveness: tcp-socket :tcp-pgbouncer delay=15s timeout=5s period=30s #success=1 #failure=3 Readiness: tcp-socket :tcp-pgbouncer delay=15s timeout=5s period=30s #success=1 #failure=3 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false PGBOUNCER_AUTH_TYPE: md5 POSTGRESQL_USERNAME: $(POSTGRES_USER) POSTGRESQL_PASSWORD: $(POSTGRES_PASSWORD) POSTGRESQL_PORT: 5432 PGBOUNCER_PORT: 6432 PGBOUNCER_BIND_ADDRESS: 0.0.0.0 CURRENT_POD_NAME: postgres-yaznfx-postgresql-0 (v1:metadata.name) CURRENT_POD_IP: (v1:status.podIP) CURRENT_POD_HOST_IP: (v1:status.hostIP) POSTGRESQL_HOST: $(CURRENT_POD_IP) Mounts: /home/pgbouncer/conf from pgbouncer-config (rw) /kb-scripts from scripts (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwn9m (ro) dbctl: Container ID: Image: docker.io/apecloud/dbctl:0.2.0 Image ID: Port: Host Port: Command: /bin/dbctl postgresql service State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false PATRONI_PORT: 8008 Mounts: /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwn9m (ro) kbagent: Container ID: Image: docker.io/apecloud/spilo:15.13 Image ID: Ports: 3501/TCP, 3502/TCP Host Ports: 0/TCP, 0/TCP Command: /kubeblocks/kbagent Args: --port 3501 --streaming-port 3502 State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Startup: tcp-socket :3501 delay=0s timeout=1s period=10s #success=1 #failure=3 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false CURRENT_POD_NAME: postgres-yaznfx-postgresql-0 (v1:metadata.name) PGUSER: $(POSTGRES_USER) PGPASSWORD: $(POSTGRES_PASSWORD) KB_AGENT_NAMESPACE: ns-bzpbs (v1:metadata.namespace) KB_AGENT_POD_NAME: postgres-yaznfx-postgresql-0 (v1:metadata.name) KB_AGENT_POD_UID: (v1:metadata.uid) KB_AGENT_NODE_NAME: (v1:spec.nodeName) KB_AGENT_ACTION: [{"name":"switchover","exec":{"command":["/kb-scripts/switchover.sh"]}},{"name":"accountProvision","exec":{"command":["bash","-c","eval statement=\\\"${KB_ACCOUNT_STATEMENT}\\\"\npsql -h 127.0.0.1 -c \"${statement}\"\n"]}},{"name":"roleProbe","http":{"port":"5001","scheme":"HTTP","path":"/v1.0/getrole","method":"GET"},"timeoutSeconds":1}] KB_AGENT_PROBE: [{"instance":"postgres-yaznfx-postgresql","action":"roleProbe","periodSeconds":1}] Mounts: /dev/shm from dshm (rw) /home/postgres/conf from postgresql-config (rw) /home/postgres/pgdata from data (rw) /kb-scripts from scripts (rw) /kubeblocks from kubeblocks (rw) /tools from tools (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwn9m (ro) config-manager: Container ID: Image: docker.io/apecloud/kubeblocks-tools:1.0.2 Image ID: Port: 9901/TCP Host Port: 0/TCP Command: env Args: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$(TOOLS_PATH) /bin/reloader --log-level info --operator-update-enable --tcp 9901 --config /opt/config-manager/config-manager.yaml State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false CONFIG_MANAGER_POD_IP: (v1:status.podIP) TOOLS_PATH: /opt/kb-tools/reload/postgresql-configuration:/opt/config-manager Mounts: /home/pgbouncer/conf from pgbouncer-config (rw) /home/postgres/conf from postgresql-config (rw) /opt/config-manager from config-manager-config (rw) /opt/kb-tools/reload/postgresql-configuration from cm-script-postgresql-configuration (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwn9m (ro) Conditions: Type Status PodReadyToStartContainers False Initialized False Ready False ContainersReady False PodScheduled True Volumes: dshm: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: Memory SizeLimit: 512Mi data: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: data-postgres-yaznfx-postgresql-0 ReadOnly: false tools: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: SizeLimit: kubeblocks: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: SizeLimit: postgresql-config: Type: ConfigMap (a volume populated by a ConfigMap) Name: postgres-yaznfx-postgresql-postgresql-configuration Optional: false pgbouncer-config: Type: ConfigMap (a volume populated by a ConfigMap) Name: postgres-yaznfx-postgresql-pgbouncer-configuration Optional: false postgresql-custom-metrics: Type: ConfigMap (a volume populated by a ConfigMap) Name: postgres-yaznfx-postgresql-postgresql-custom-metrics Optional: false scripts: Type: ConfigMap (a volume populated by a ConfigMap) Name: postgres-yaznfx-postgresql-postgresql-scripts Optional: false cm-script-postgresql-configuration: Type: ConfigMap (a volume populated by a ConfigMap) Name: sidecar-patroni-reload-scripts-1.0.2-postgres-yaznfx Optional: false config-manager-config: Type: ConfigMap (a volume populated by a ConfigMap) Name: sidecar-postgres-yaznfx-postgresql-config-manager-config Optional: false kube-api-access-gwn9m: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: DownwardAPI: true QoS Class: Burstable Node-Selectors: Tolerations: node.kubernetes.io/memory-pressure:NoSchedule op=Exists node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 7m26s default-scheduler Successfully assigned ns-bzpbs/postgres-yaznfx-postgresql-0 to aks-cicdamdpool-14916756-vmss000005 Warning FailedAttachVolume 7m26s attachdetach-controller Multi-Attach error for volume "pvc-b58a0b1b-9a0f-4be8-bc44-b077dd698c49" Volume is already exclusively attached to one node and can't be attached to another Warning FailedAttachVolume 3m20s attachdetach-controller AttachVolume.Attach failed for volume "pvc-b58a0b1b-9a0f-4be8-bc44-b077dd698c49" : timed out waiting for external-attacher of disk.csi.azure.com CSI driver to attach volume /subscriptions/e659c16c-8ba9-41ab-98a0-d64b0237ba45/resourceGroups/MC_cicd-aks-5h60eefy-group_cicd-aks-5h60eefy_eastus/providers/Microsoft.Compute/disks/pvc-b58a0b1b-9a0f-4be8-bc44-b077dd698c49 Warning FailedAttachVolume 3s (x5 over 9s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-b58a0b1b-9a0f-4be8-bc44-b077dd698c49" : rpc error: code = Internal desc = Attach volume /subscriptions/e659c16c-8ba9-41ab-98a0-d64b0237ba45/resourceGroups/MC_cicd-aks-5h60eefy-group_cicd-aks-5h60eefy_eastus/providers/Microsoft.Compute/disks/pvc-b58a0b1b-9a0f-4be8-bc44-b077dd698c49 to instance aks-cicdamdpool-14916756-vmss000005 failed with disk(/subscriptions/e659c16c-8ba9-41ab-98a0-d64b0237ba45/resourceGroups/MC_cicd-aks-5h60eefy-group_cicd-aks-5h60eefy_eastus/providers/Microsoft.Compute/disks/pvc-b58a0b1b-9a0f-4be8-bc44-b077dd698c49) already attached to node(/subscriptions/e659c16c-8ba9-41ab-98a0-d64b0237ba45/resourceGroups/MC_cicd-aks-5h60eefy-group_cicd-aks-5h60eefy_eastus/providers/Microsoft.Compute/virtualMachineScaleSets/aks-cicdamdpool-14916756-vmss/virtualMachines/aks-cicdamdpool-14916756-vmss_0), could not be attached to node(aks-cicdamdpool-14916756-vmss000005) ------------------------------------------------------------------------------------------------------------------  `kubectl describe pod postgres-yaznfx-postgresql-1 --namespace ns-bzpbs `(B  Name: postgres-yaznfx-postgresql-1 Namespace: ns-bzpbs Priority: 0 Service Account: kb-postgresql-15-1.0.2 Node: aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Start Time: Thu, 12 Feb 2026 10:09:14 +0800 Labels: app.kubernetes.io/component=postgresql-15-1.0.2 app.kubernetes.io/instance=postgres-yaznfx app.kubernetes.io/managed-by=kubeblocks apps.kubeblocks.io/component-name=postgresql apps.kubeblocks.io/pod-name=postgres-yaznfx-postgresql-1 apps.kubeblocks.io/release-phase=stable apps.kubeblocks.io/service-version=15.13.0 apps.kubeblocks.postgres.patroni/role=master apps.kubeblocks.postgres.patroni/scope=postgres-yaznfx-postgresql controller-revision-hash=6df8584b47 kubeblocks.io/role=primary workloads.kubeblocks.io/instance=postgres-yaznfx-postgresql workloads.kubeblocks.io/managed-by=InstanceSet Annotations: apps.kubeblocks.io/last-role-snapshot-version: 1770862595714666 config.kubeblocks.io/restart-postgresql-configuration-f86657657: 7cfd7f4fc kubeblocks.io/restart: 2026-02-12T02:07:28Z status: {"conn_url":"postgres://10.244.6.171:5432/postgres","api_url":"http://10.244.6.171:8008/patroni","state":"running","role":"primary","versi... Status: Running IP: 10.244.6.171 IPs: IP: 10.244.6.171 Controlled By: InstanceSet/postgres-yaznfx-postgresql Init Containers: pg-init-container: Container ID: containerd://dfc0bad222f8becadda577de5ee1060e1bedaab3e3ac29644ab0832a69122c45 Image: docker.io/apecloud/spilo-init:0.2 Image ID: docker.io/apecloud/spilo-init@sha256:2fbe1c157a6da0af88e3e983c3dd3c02f559890025cfb8b55be2fa66cdab0bca Port: Host Port: Command: /kb-scripts/postgres-pre-setup.sh State: Terminated Reason: Completed Exit Code: 0 Started: Thu, 12 Feb 2026 10:14:37 +0800 Finished: Thu, 12 Feb 2026 10:14:37 +0800 Ready: True Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false Mounts: /home/postgres/conf from postgresql-config (rw) /home/postgres/pgdata from data (rw) /kb-scripts from scripts (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-prvlc (ro) init-kbagent: Container ID: containerd://8436ead535f4a9fbf4f566201184f53d3cd1e22cbf1e3670c225efd387d7bbc2 Image: docker.io/apecloud/kubeblocks-tools:1.0.2 Image ID: docker.io/apecloud/kubeblocks-tools@sha256:52a60316d6ece80cb1440179a7902bad1129a8535c025722486f4f1986d095ea Port: Host Port: Command: cp -r /bin/kbagent /kubeblocks/ State: Terminated Reason: Completed Exit Code: 0 Started: Thu, 12 Feb 2026 10:14:37 +0800 Finished: Thu, 12 Feb 2026 10:14:37 +0800 Ready: True Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false Mounts: /kubeblocks from kubeblocks (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-prvlc (ro) kbagent-worker: Container ID: containerd://d7d6f8c19d86c184c2f309459e792161da5ae6873db82bd3e0dd84c0d08af4cd Image: docker.io/apecloud/spilo:15.13 Image ID: docker.io/apecloud/spilo@sha256:9b556e8ad2b63816ae6009a9a63cf32b0438bc181748a5046b33429ea644623d Port: Host Port: Command: /kubeblocks/kbagent Args: --server=false State: Terminated Reason: Completed Exit Code: 0 Started: Thu, 12 Feb 2026 10:14:38 +0800 Finished: Thu, 12 Feb 2026 10:14:38 +0800 Ready: True Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false CURRENT_POD_NAME: postgres-yaznfx-postgresql-1 (v1:metadata.name) PGUSER: $(POSTGRES_USER) PGPASSWORD: $(POSTGRES_PASSWORD) KB_AGENT_NAMESPACE: ns-bzpbs (v1:metadata.namespace) KB_AGENT_POD_NAME: postgres-yaznfx-postgresql-1 (v1:metadata.name) KB_AGENT_POD_UID: (v1:metadata.uid) KB_AGENT_NODE_NAME: (v1:spec.nodeName) KB_AGENT_ACTION: [{"name":"switchover","exec":{"command":["/kb-scripts/switchover.sh"]}},{"name":"accountProvision","exec":{"command":["bash","-c","eval statement=\\\"${KB_ACCOUNT_STATEMENT}\\\"\npsql -h 127.0.0.1 -c \"${statement}\"\n"]}},{"name":"roleProbe","http":{"port":"5001","scheme":"HTTP","path":"/v1.0/getrole","method":"GET"},"timeoutSeconds":1}] KB_AGENT_PROBE: [{"instance":"postgres-yaznfx-postgresql","action":"roleProbe","periodSeconds":1}] Mounts: /dev/shm from dshm (rw) /home/postgres/conf from postgresql-config (rw) /home/postgres/pgdata from data (rw) /kb-scripts from scripts (rw) /kubeblocks from kubeblocks (rw) /tools from tools (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-prvlc (ro) Containers: postgresql: Container ID: containerd://90cc83fb62eaaadc120ed512b7d4af3d40bc6f8d312f2f5085a161198d0e646a Image: docker.io/apecloud/spilo:15.13 Image ID: docker.io/apecloud/spilo@sha256:9b556e8ad2b63816ae6009a9a63cf32b0438bc181748a5046b33429ea644623d Ports: 5432/TCP, 8008/TCP Host Ports: 0/TCP, 0/TCP Command: /kb-scripts/postgres-setup.sh State: Running Started: Thu, 12 Feb 2026 10:14:39 +0800 Ready: True Restart Count: 0 Limits: cpu: 100m memory: 512Mi Requests: cpu: 100m memory: 512Mi Readiness: exec [/bin/sh -c -ee exec pg_isready -U "postgres" -h 127.0.0.1 -p 5432 [ -f /postgresql/tmp/.initialized ] || [ -f /postgresql/.initialized ] ] delay=10s timeout=5s period=30s #success=1 #failure=3 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false DCS_ENABLE_KUBERNETES_API: true KUBERNETES_USE_CONFIGMAPS: true KUBERNETES_SCOPE_LABEL: workloads.kubeblocks.io/instance KUBERNETES_ROLE_LABEL: apps.kubeblocks.postgres.patroni/role KUBERNETES_LABELS: {"app.kubernetes.io/managed-by":"kubeblocks","app.kubernetes.io/instance":"$(CLUSTER_NAME)","apps.kubeblocks.io/component-name":"$(POSTGRES_COMPONENT_SHORT_NAME)","workloads.kubeblocks.io/instance":"$(POSTGRES_COMPONENT_NAME)"} RESTORE_DATA_DIR: /home/postgres/pgdata/kb_restore KB_PG_CONFIG_PATH: /home/postgres/conf/postgresql.conf SPILO_CONFIGURATION: bootstrap: initdb: - auth-host: md5 - auth-local: trust ALLOW_NOSSL: true PGROOT: /home/postgres/pgdata/pgroot PGUSER_SUPERUSER: $(POSTGRES_USER) PGPASSWORD_SUPERUSER: $(POSTGRES_PASSWORD) PGUSER_ADMIN: superadmin PGPASSWORD_ADMIN: $(POSTGRES_PASSWORD) PGUSER_STANDBY: standby PGPASSWORD_STANDBY: $(POSTGRES_PASSWORD) PGUSER: $(POSTGRES_USER) PGPASSWORD: $(POSTGRES_PASSWORD) CURRENT_POD_NAME: postgres-yaznfx-postgresql-1 (v1:metadata.name) CURRENT_POD_IP: (v1:status.podIP) CURRENT_POD_HOST_IP: (v1:status.hostIP) POD_IP: $(CURRENT_POD_IP) POD_NAMESPACE: $(CLUSTER_NAMESPACE) Mounts: /dev/shm from dshm (rw) /home/postgres/conf from postgresql-config (rw) /home/postgres/pgdata from data (rw) /kb-scripts from scripts (rw) /tools from tools (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-prvlc (ro) pgbouncer: Container ID: containerd://331e5e91a4c9a6b8081be040957067db14a43ffaf5bab2a8a00e3ed1ca2fde16 Image: docker.io/apecloud/pgbouncer:1.19.0 Image ID: docker.io/apecloud/pgbouncer@sha256:c788fda7436d178e6ea94cf7b8fa767005f0ef483edd90b328c560e1935b26b5 Port: 6432/TCP Host Port: 0/TCP Command: /kb-scripts/pgbouncer-setup.sh State: Running Started: Thu, 12 Feb 2026 10:14:39 +0800 Ready: True Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Liveness: tcp-socket :tcp-pgbouncer delay=15s timeout=5s period=30s #success=1 #failure=3 Readiness: tcp-socket :tcp-pgbouncer delay=15s timeout=5s period=30s #success=1 #failure=3 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false PGBOUNCER_AUTH_TYPE: md5 POSTGRESQL_USERNAME: $(POSTGRES_USER) POSTGRESQL_PASSWORD: $(POSTGRES_PASSWORD) POSTGRESQL_PORT: 5432 PGBOUNCER_PORT: 6432 PGBOUNCER_BIND_ADDRESS: 0.0.0.0 CURRENT_POD_NAME: postgres-yaznfx-postgresql-1 (v1:metadata.name) CURRENT_POD_IP: (v1:status.podIP) CURRENT_POD_HOST_IP: (v1:status.hostIP) POSTGRESQL_HOST: $(CURRENT_POD_IP) Mounts: /home/pgbouncer/conf from pgbouncer-config (rw) /kb-scripts from scripts (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-prvlc (ro) dbctl: Container ID: containerd://94f108f8818d43727317c8a23864b3ef2f4bc87d433c2a62ebff9e0925fb7705 Image: docker.io/apecloud/dbctl:0.2.0 Image ID: docker.io/apecloud/dbctl@sha256:4e503ebc769ea73f1da8b1df1e8fa23036c22d0aea9212ac9d7ef7b7f6165507 Port: Host Port: Command: /bin/dbctl postgresql service State: Running Started: Thu, 12 Feb 2026 10:14:40 +0800 Ready: True Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false PATRONI_PORT: 8008 Mounts: /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-prvlc (ro) kbagent: Container ID: containerd://e2e585fd3b738d621a12f1feb91453f300ec3b35f785bf5706cad04993510ec8 Image: docker.io/apecloud/spilo:15.13 Image ID: docker.io/apecloud/spilo@sha256:9b556e8ad2b63816ae6009a9a63cf32b0438bc181748a5046b33429ea644623d Ports: 3501/TCP, 3502/TCP Host Ports: 0/TCP, 0/TCP Command: /kubeblocks/kbagent Args: --port 3501 --streaming-port 3502 State: Running Started: Thu, 12 Feb 2026 10:14:40 +0800 Ready: True Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Startup: tcp-socket :3501 delay=0s timeout=1s period=10s #success=1 #failure=3 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false CURRENT_POD_NAME: postgres-yaznfx-postgresql-1 (v1:metadata.name) PGUSER: $(POSTGRES_USER) PGPASSWORD: $(POSTGRES_PASSWORD) KB_AGENT_NAMESPACE: ns-bzpbs (v1:metadata.namespace) KB_AGENT_POD_NAME: postgres-yaznfx-postgresql-1 (v1:metadata.name) KB_AGENT_POD_UID: (v1:metadata.uid) KB_AGENT_NODE_NAME: (v1:spec.nodeName) KB_AGENT_ACTION: [{"name":"switchover","exec":{"command":["/kb-scripts/switchover.sh"]}},{"name":"accountProvision","exec":{"command":["bash","-c","eval statement=\\\"${KB_ACCOUNT_STATEMENT}\\\"\npsql -h 127.0.0.1 -c \"${statement}\"\n"]}},{"name":"roleProbe","http":{"port":"5001","scheme":"HTTP","path":"/v1.0/getrole","method":"GET"},"timeoutSeconds":1}] KB_AGENT_PROBE: [{"instance":"postgres-yaznfx-postgresql","action":"roleProbe","periodSeconds":1}] Mounts: /dev/shm from dshm (rw) /home/postgres/conf from postgresql-config (rw) /home/postgres/pgdata from data (rw) /kb-scripts from scripts (rw) /kubeblocks from kubeblocks (rw) /tools from tools (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-prvlc (ro) config-manager: Container ID: containerd://eeaa8894cfc90365d321401985c0e52c62e6d01f679c41285097adcce7504083 Image: docker.io/apecloud/kubeblocks-tools:1.0.2 Image ID: docker.io/apecloud/kubeblocks-tools@sha256:52a60316d6ece80cb1440179a7902bad1129a8535c025722486f4f1986d095ea Port: 9901/TCP Host Port: 0/TCP Command: env Args: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$(TOOLS_PATH) /bin/reloader --log-level info --operator-update-enable --tcp 9901 --config /opt/config-manager/config-manager.yaml State: Running Started: Thu, 12 Feb 2026 10:14:40 +0800 Ready: True Restart Count: 0 Limits: cpu: 0 memory: 0 Requests: cpu: 0 memory: 0 Environment Variables from: postgres-yaznfx-postgresql-env ConfigMap Optional: false Environment: POSTGRES_USER: Optional: false POSTGRES_PASSWORD: Optional: false CONFIG_MANAGER_POD_IP: (v1:status.podIP) TOOLS_PATH: /opt/kb-tools/reload/postgresql-configuration:/opt/config-manager Mounts: /home/pgbouncer/conf from pgbouncer-config (rw) /home/postgres/conf from postgresql-config (rw) /opt/config-manager from config-manager-config (rw) /opt/kb-tools/reload/postgresql-configuration from cm-script-postgresql-configuration (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-prvlc (ro) Conditions: Type Status PodReadyToStartContainers True Initialized True Ready True ContainersReady True PodScheduled True Volumes: dshm: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: Memory SizeLimit: 512Mi data: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: data-postgres-yaznfx-postgresql-1 ReadOnly: false tools: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: SizeLimit: kubeblocks: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: SizeLimit: postgresql-config: Type: ConfigMap (a volume populated by a ConfigMap) Name: postgres-yaznfx-postgresql-postgresql-configuration Optional: false pgbouncer-config: Type: ConfigMap (a volume populated by a ConfigMap) Name: postgres-yaznfx-postgresql-pgbouncer-configuration Optional: false postgresql-custom-metrics: Type: ConfigMap (a volume populated by a ConfigMap) Name: postgres-yaznfx-postgresql-postgresql-custom-metrics Optional: false scripts: Type: ConfigMap (a volume populated by a ConfigMap) Name: postgres-yaznfx-postgresql-postgresql-scripts Optional: false cm-script-postgresql-configuration: Type: ConfigMap (a volume populated by a ConfigMap) Name: sidecar-patroni-reload-scripts-1.0.2-postgres-yaznfx Optional: false config-manager-config: Type: ConfigMap (a volume populated by a ConfigMap) Name: sidecar-postgres-yaznfx-postgresql-config-manager-config Optional: false kube-api-access-prvlc: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: DownwardAPI: true QoS Class: Burstable Node-Selectors: Tolerations: node.kubernetes.io/memory-pressure:NoSchedule op=Exists node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 14m default-scheduler Successfully assigned ns-bzpbs/postgres-yaznfx-postgresql-1 to aks-cicdamdpool-14916756-vmss000002 Warning FailedAttachVolume 14m attachdetach-controller Multi-Attach error for volume "pvc-c290425e-923a-4f10-9887-bf8feaa2f5af" Volume is already exclusively attached to one node and can't be attached to another Warning FailedAttachVolume 9m44s (x2 over 11m) attachdetach-controller AttachVolume.Attach failed for volume "pvc-c290425e-923a-4f10-9887-bf8feaa2f5af" : timed out waiting for external-attacher of disk.csi.azure.com CSI driver to attach volume /subscriptions/e659c16c-8ba9-41ab-98a0-d64b0237ba45/resourceGroups/MC_cicd-aks-5h60eefy-group_cicd-aks-5h60eefy_eastus/providers/Microsoft.Compute/disks/pvc-c290425e-923a-4f10-9887-bf8feaa2f5af Normal SuccessfulAttachVolume 8m46s attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-c290425e-923a-4f10-9887-bf8feaa2f5af" Normal Pulled 8m45s kubelet Container image "docker.io/apecloud/spilo-init:0.2" already present on machine Normal Created 8m45s kubelet Created container: pg-init-container Normal Started 8m45s kubelet Started container pg-init-container Normal Pulled 8m45s kubelet Container image "docker.io/apecloud/kubeblocks-tools:1.0.2" already present on machine Normal Created 8m45s kubelet Created container: init-kbagent Normal Started 8m45s kubelet Started container init-kbagent Normal Pulled 8m44s kubelet Container image "docker.io/apecloud/spilo:15.13" already present on machine Normal Created 8m44s kubelet Created container: kbagent-worker Normal Started 8m44s kubelet Started container kbagent-worker Normal Pulled 8m43s kubelet Container image "docker.io/apecloud/pgbouncer:1.19.0" already present on machine Normal Created 8m43s kubelet Created container: postgresql Normal Started 8m43s kubelet Started container postgresql Normal Pulled 8m43s kubelet Container image "docker.io/apecloud/spilo:15.13" already present on machine Normal Created 8m43s kubelet Created container: pgbouncer Normal Started 8m43s kubelet Started container pgbouncer Normal Pulled 8m43s kubelet Container image "docker.io/apecloud/dbctl:0.2.0" already present on machine Normal Created 8m43s kubelet Created container: dbctl Normal Pulled 8m42s kubelet Container image "docker.io/apecloud/spilo:15.13" already present on machine Normal Started 8m42s kubelet Started container dbctl Normal Created 8m42s kubelet Created container: kbagent Normal Started 8m42s kubelet Started container kbagent Normal Pulled 8m42s kubelet Container image "docker.io/apecloud/kubeblocks-tools:1.0.2" already present on machine Normal Created 8m42s kubelet Created container: config-manager Normal Started 8m42s kubelet Started container config-manager Normal roleProbe 8m42s (x13 over 8m29s) kbagent {"instance":"postgres-yaznfx-postgresql","probe":"roleProbe","code":-1,"message":"{\"errorCode\":\"ERR_OPERATION_FAILED\",\"message\":\"operation exec failed: Get \\\"http://127.0.0.1:8008\\\": dial tcp 127.0.0.1:8008: connect: connection refused\"}: http request failed, status: 500 Internal Server Error: failed"} Normal roleProbe 8m28s kbagent {"instance":"postgres-yaznfx-postgresql","probe":"roleProbe","code":0,"output":"c2Vjb25kYXJ5"} Warning Unhealthy 8m25s (x4 over 8m29s) kubelet Readiness probe failed: 127.0.0.1:5432 - no response Normal roleProbe 7m (x2 over 6m46s) kbagent {"instance":"postgres-yaznfx-postgresql","probe":"roleProbe","code":0,"output":"cHJpbWFyeQ=="} Normal roleProbe 6m46s kbagent {"instance":"postgres-yaznfx-postgresql","probe":"roleProbe","code":-1,"output":"cHJpbWFyeQ==","message":"timedOut"} ------------------------------------------------------------------------------------------------------------------ --------------------------------------pod postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1--------------------------------------  `kubectl logs postgres-yaznfx-postgresql-0 --namespace ns-bzpbs --tail 500`(B  ------------------------------------------------------------------------------------------------------------------  `kubectl logs postgres-yaznfx-postgresql-1 --namespace ns-bzpbs --tail 500`(B  2026-02-12 02:14:46,408 - bootstrapping - INFO - Writing to file /run/postgres.yml 2026-02-12 02:14:52,445 WARNING: Kubernetes RBAC doesn't allow GET access to the 'kubernetes' endpoint in the 'default' namespace. Disabling 'bypass_api_service'. 2026-02-12 02:14:52,749 INFO: No PostgreSQL configuration items changed, nothing to reload. 2026-02-12 02:14:52,904 WARNING: Postgresql is not running. 2026-02-12 02:14:52,904 INFO: Lock owner: postgres-yaznfx-postgresql-0; I am postgres-yaznfx-postgresql-1 2026-02-12 02:14:52,905 INFO: pg_controldata: pg_control version number: 1300 Catalog version number: 202209061 Database system identifier: 7605792976108941392 Database cluster state: in archive recovery pg_control last modified: Thu Feb 12 02:08:57 2026 Latest checkpoint location: 0/5000028 Latest checkpoint's REDO location: 0/5000028 Latest checkpoint's REDO WAL file: 000000020000000000000005 Latest checkpoint's TimeLineID: 2 Latest checkpoint's PrevTimeLineID: 2 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0:7201 Latest checkpoint's NextOID: 17153 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 717 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Latest checkpoint's oldestCommitTsXid: 0 Latest checkpoint's newestCommitTsXid: 0 Time of latest checkpoint: Thu Feb 12 02:08:40 2026 Fake LSN counter for unlogged rels: 0/3E8 Minimum recovery ending location: 0/582B488 Min recovery ending loc's timeline: 3 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no wal_level setting: replica wal_log_hints setting: on max_connections setting: 56 max_worker_processes setting: 8 max_wal_senders setting: 64 max_prepared_xacts setting: 100 max_locks_per_xact setting: 64 track_commit_timestamp setting: off Maximum data alignment: 8 Database block size: 8192 Blocks per segment of large relation: 131072 WAL block size: 8192 Bytes per WAL segment: 16777216 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 1996 Size of a large-object chunk: 2048 Date/time type storage: 64-bit integers Float8 argument passing: by value Data page checksum version: 0 Mock authentication nonce: 4fd62b0441837b6a19b46b60ff2a85ed63a7da1bf39b1fd342c50a869b6c0b28 2026-02-12 02:14:52,906 INFO: Lock owner: postgres-yaznfx-postgresql-0; I am postgres-yaznfx-postgresql-1 2026-02-12 02:14:53,006 INFO: Local timeline=3 lsn=0/582B488 2026-02-12 02:14:53,131 INFO: primary_timeline=3 2026-02-12 02:14:53,132 INFO: Lock owner: postgres-yaznfx-postgresql-0; I am postgres-yaznfx-postgresql-1 2026-02-12 02:14:53,705 INFO: starting as a secondary 2026-02-12 02:14:54,204 INFO: establishing a new patroni heartbeat connection to postgres 2026-02-12 02:14:55,139 INFO: establishing a new patroni heartbeat connection to postgres 2026-02-12 02:14:55,207 INFO: establishing a new patroni heartbeat connection to postgres 2026-02-12 02:14:55,866 INFO: Lock owner: postgres-yaznfx-postgresql-0; I am postgres-yaznfx-postgresql-1 2026-02-12 02:14:56,203 INFO: restarting after failure in progress 2026-02-12 02:14:56,204 INFO: establishing a new patroni heartbeat connection to postgres 2026-02-12 02:14:57,140 INFO: establishing a new patroni heartbeat connection to postgres 2026-02-12 02:14:58,139 INFO: establishing a new patroni heartbeat connection to postgres 2026-02-12 02:14:59,203 INFO: establishing a new patroni heartbeat connection to postgres 2026-02-12 02:15:00,139 INFO: establishing a new patroni heartbeat connection to postgres 2026-02-12 02:15:00 GMT [99]: [1-1] 698d37a4.63 0 LOG: Auto detecting pg_stat_kcache.linux_hz parameter... 2026-02-12 02:15:00 GMT [99]: [2-1] 698d37a4.63 0 LOG: pg_stat_kcache.linux_hz is set to 1000000 2026-02-12 02:15:00 GMT [99]: [3-1] 698d37a4.63 0 LOG: pgaudit extension initialized 2026-02-12 02:15:00,506 INFO: establishing a new patroni heartbeat connection to postgres 2026-02-12 02:15:01,109 INFO: postmaster pid=99 2026-02-12 02:15:01,204 INFO: establishing a new patroni heartbeat connection to postgres /var/run/postgresql:5432 - no response 2026-02-12 02:15:02 GMT [99]: [4-1] 698d37a4.63 0 LOG: redirecting log output to logging collector process 2026-02-12 02:15:02 GMT [99]: [5-1] 698d37a4.63 0 HINT: Future log output will appear in directory "log". 2026-02-12 02:15:02,139 INFO: establishing a new patroni heartbeat connection to postgres /var/run/postgresql:5432 - rejecting connections /var/run/postgresql:5432 - rejecting connections 2026-02-12 02:15:03,203 INFO: establishing a new patroni heartbeat connection to postgres /var/run/postgresql:5432 - accepting connections 2026-02-12 02:15:03,739 INFO: establishing a new patroni restapi connection to postgres 2026-02-12 02:15:04,240 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) 2026-02-12 02:15:05,864 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) server signaled 2026-02-12 02:15:16,506 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) 2026-02-12 02:15:26,410 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) 2026-02-12 02:15:30,068 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) 2026-02-12 02:15:35,245 INFO: Lock owner: postgres-yaznfx-postgresql-0; I am postgres-yaznfx-postgresql-1 2026-02-12 02:15:35,249 INFO: Local timeline=3 lsn=0/599D5D0 server signaled 2026-02-12 02:15:35,505 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) 2026-02-12 02:15:44,942 INFO: Lock owner: postgres-yaznfx-postgresql-0; I am postgres-yaznfx-postgresql-1 2026-02-12 02:15:44,947 INFO: Local timeline=3 lsn=0/599D5D0 2026-02-12 02:15:45,004 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) 2026-02-12 02:15:50,041 INFO: Lock owner: postgres-yaznfx-postgresql-0; I am postgres-yaznfx-postgresql-1 2026-02-12 02:15:50,045 INFO: Local timeline=3 lsn=0/70000A0 2026-02-12 02:15:50,205 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) server signaled 2026-02-12 02:16:00,909 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) 2026-02-12 02:16:10,548 INFO: no action. I am (postgres-yaznfx-postgresql-1), a secondary, and following a leader (postgres-yaznfx-postgresql-0) 2026-02-12 02:16:20,554 WARNING: Could not activate Linux watchdog device: Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog' 2026-02-12 02:16:20,594 INFO: promoted self to leader by acquiring session lock server promoting 2026-02-12 02:16:20,603 INFO: Lock owner: postgres-yaznfx-postgresql-1; I am postgres-yaznfx-postgresql-1 2026-02-12 02:16:20,904 INFO: updated leader lock during promote 2026-02-12 02:16:23,203 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:16:24,106 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock DO NOTICE: role "admin" is already a member of role "cron_admin" GRANT ROLE DO DO NOTICE: extension "pg_auth_mon" already exists, skipping CREATE EXTENSION NOTICE: version "1.1" of extension "pg_auth_mon" is already installed ALTER EXTENSION GRANT NOTICE: extension "pg_cron" already exists, skipping CREATE EXTENSION DO NOTICE: version "1.6" of extension "pg_cron" is already installed ALTER EXTENSION ALTER POLICY REVOKE GRANT REVOKE GRANT ALTER POLICY REVOKE GRANT CREATE FUNCTION REVOKE GRANT REVOKE GRANT NOTICE: extension "file_fdw" already exists, skipping CREATE EXTENSION DO NOTICE: relation "postgres_log" already exists, skipping CREATE TABLE GRANT NOTICE: column "backend_type" of relation "postgres_log" already exists, skipping ALTER TABLE NOTICE: column "leader_pid" of relation "postgres_log" already exists, skipping ALTER TABLE NOTICE: column "query_id" of relation "postgres_log" already exists, skipping ALTER TABLE DO NOTICE: relation "postgres_log_0" already exists, skipping CREATE FOREIGN TABLE GRANT CREATE VIEW ALTER VIEW GRANT NOTICE: relation "postgres_log_1" already exists, skipping CREATE FOREIGN TABLE GRANT CREATE VIEW ALTER VIEW GRANT NOTICE: relation "postgres_log_2" already exists, skipping CREATE FOREIGN TABLE GRANT CREATE VIEW ALTER VIEW GRANT NOTICE: relation "postgres_log_3" already exists, skipping CREATE FOREIGN TABLE GRANT CREATE VIEW ALTER VIEW GRANT NOTICE: relation "postgres_log_4" already exists, skipping CREATE FOREIGN TABLE GRANT CREATE VIEW ALTER VIEW GRANT NOTICE: relation "postgres_log_5" already exists, skipping CREATE FOREIGN TABLE GRANT CREATE VIEW ALTER VIEW GRANT NOTICE: relation "postgres_log_6" already exists, skipping CREATE FOREIGN TABLE GRANT CREATE VIEW ALTER VIEW GRANT NOTICE: relation "postgres_log_7" already exists, skipping CREATE FOREIGN TABLE GRANT CREATE VIEW ALTER VIEW GRANT RESET SET NOTICE: drop cascades to 7 other objects DETAIL: drop cascades to type zmon_utils.system_information drop cascades to function zmon_utils.get_database_cluster_information() drop cascades to function zmon_utils.get_database_cluster_system_information() drop cascades to function zmon_utils.get_last_status_active_cronjobs() drop cascades to view zmon_utils.last_status_active_cronjobs drop cascades to function zmon_utils.get_replay_lag() drop cascades to view zmon_utils.replay_lag DROP SCHEMA NOTICE: extension "plpython3u" already exists, skipping DO NOTICE: language "plpythonu" does not exist, skipping DROP LANGUAGE NOTICE: function plpython_call_handler() does not exist, skipping DROP FUNCTION NOTICE: function plpython_inline_handler(internal) does not exist, skipping DROP FUNCTION NOTICE: function plpython_validator(oid) does not exist, skipping DROP FUNCTION CREATE SCHEMA GRANT SET CREATE TYPE CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION REVOKE 2026-02-12 02:16:34,905 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock CREATE VIEW REVOKE GRANT CREATE FUNCTION CREATE VIEW REVOKE REVOKE GRANT GRANT You are now connected to database "postgres" as user "postgres". NOTICE: schema "user_management" already exists, skipping CREATE SCHEMA GRANT SET CREATE FUNCTION CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT GRANT RESET NOTICE: extension "pg_stat_statements" already exists, skipping CREATE EXTENSION NOTICE: extension "pg_stat_kcache" already exists, skipping CREATE EXTENSION NOTICE: extension "set_user" already exists, skipping CREATE EXTENSION NOTICE: version "4.1.0" of extension "set_user" is already installed ALTER EXTENSION GRANT GRANT GRANT NOTICE: schema "metric_helpers" already exists, skipping CREATE SCHEMA GRANT SET CREATE FUNCTION CREATE VIEW CREATE FUNCTION CREATE VIEW CREATE FUNCTION CREATE VIEW CREATE FUNCTION CREATE VIEW REVOKE GRANT REVOKE GRANT RESET You are now connected to database "executions_loop" as user "postgres". NOTICE: schema "user_management" already exists, skipping CREATE SCHEMA GRANT SET CREATE FUNCTION CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT GRANT RESET NOTICE: extension "pg_stat_statements" already exists, skipping CREATE EXTENSION NOTICE: extension "pg_stat_kcache" already exists, skipping CREATE EXTENSION NOTICE: extension "set_user" already exists, skipping CREATE EXTENSION NOTICE: version "4.1.0" of extension "set_user" is already installed ALTER EXTENSION GRANT GRANT GRANT NOTICE: schema "metric_helpers" already exists, skipping CREATE SCHEMA GRANT SET CREATE FUNCTION CREATE VIEW CREATE FUNCTION CREATE VIEW CREATE FUNCTION CREATE VIEW CREATE FUNCTION CREATE VIEW REVOKE GRANT REVOKE GRANT RESET You are now connected to database "template1" as user "postgres". NOTICE: schema "user_management" already exists, skipping CREATE SCHEMA GRANT SET CREATE FUNCTION CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION 2026-02-12 02:16:44,105 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT CREATE FUNCTION REVOKE GRANT COMMENT GRANT RESET NOTICE: extension "pg_stat_statements" already exists, skipping CREATE EXTENSION NOTICE: extension "pg_stat_kcache" already exists, skipping CREATE EXTENSION NOTICE: extension "set_user" already exists, skipping CREATE EXTENSION NOTICE: version "4.1.0" of extension "set_user" is already installed ALTER EXTENSION GRANT GRANT GRANT NOTICE: schema "metric_helpers" already exists, skipping CREATE SCHEMA GRANT SET CREATE FUNCTION CREATE VIEW CREATE FUNCTION CREATE VIEW CREATE FUNCTION CREATE VIEW CREATE FUNCTION CREATE VIEW REVOKE GRANT REVOKE GRANT RESET 2026-02-12 02:16:48.206 UTC [34] LOG Starting pgqd 3.5 2026-02-12 02:16:48.206 UTC [34] LOG auto-detecting dbs ... 2026-02-12 02:16:53,977 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:17:04,109 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:17:13,921 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:17:18.235 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:17:23,951 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:17:33,919 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:17:43,926 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:17:48.265 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:17:53,925 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:18:03,916 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:18:13,919 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:18:18.294 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:18:23,917 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:18:33,918 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:18:43,916 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:18:48.317 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:18:53,920 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:19:03,922 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:19:13,919 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:19:18.347 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:19:23,916 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:19:33,918 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:19:43,916 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:19:48.352 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:19:53,919 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:20:03,915 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:20:13,919 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:20:18.379 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:20:23,915 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:20:33,929 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:20:43,920 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:20:48.384 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:20:53,919 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:21:03,917 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:21:13,918 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:21:18.410 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:21:23,916 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:21:33,921 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:21:43,915 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:21:48.415 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:21:53,923 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:22:03,914 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:22:13,917 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:22:18.444 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:22:23,916 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:22:33,918 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:22:43,917 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:22:48.447 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 02:22:53,918 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:23:03,915 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:23:13,918 INFO: no action. I am (postgres-yaznfx-postgresql-1), the leader with the lock 2026-02-12 02:23:18.450 UTC [34] LOG {ticks: 0, maint: 0, retry: 0} ------------------------------------------------------------------------------------------------------------------ check cluster role primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-1;secondary(B: check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check failover pod name: failover Success(B check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get postgresql secondary pod name... get pod name timeout(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [] equal [5905] retry times: 1(B check readonly db_client batch data [] equal [5905] retry times: 2(B check readonly db_client batch data [] equal [5905] retry times: 3(B check readonly db_client batch data [] equal [5905] retry times: 4(B check readonly db_client batch data [] equal [5905] retry times: 5(B check readonly db_client batch data [] equal [5905] retry times: 6(B check readonly db_client batch data [] equal [5905] retry times: 7(B check readonly db_client batch data [] equal [5905] retry times: 8(B check readonly db_client batch data [] equal [5905] retry times: 9(B check readonly db_client batch data [] equal [5905] retry times: 10(B check readonly db_client batch data [] equal [5905] retry times: 11(B check readonly db_client batch data [] equal [5905] retry times: 12(B check readonly db_client batch data [] equal [5905] retry times: 13(B check readonly db_client batch data [] equal [5905] retry times: 14(B check readonly db_client batch data [] equal [5905] retry times: 15(B check readonly db_client batch data [] equal [5905] retry times: 16(B check readonly db_client batch data [] equal [5905] retry times: 17(B check readonly db_client batch data [] equal [5905] retry times: 18(B check readonly db_client batch data [] equal [5905] retry times: 19(B check readonly db_client batch data [] equal [5905] retry times: 20(B check readonly db_client batch data [] equal [5905] retry times: 21(B check readonly db_client batch data [] equal [5905] retry times: 22(B check readonly db_client batch data [] equal [5905] retry times: 23(B check readonly db_client batch data [] equal [5905] retry times: 24(B check readonly db_client batch data [] equal [5905] retry times: 25(B check readonly db_client batch data [] equal [5905] retry times: 26(B check readonly db_client batch data [] equal [5905] retry times: 27(B check readonly db_client batch data [] equal [5905] retry times: 28(B check readonly db_client batch data [] equal [5905] retry times: 29(B check readonly db_client batch data [] equal [5905] retry times: 30(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-yaznfx --auto-approve --force=true --components postgresql --replicas 1 --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-horizontalscaling-6drs2 created successfully, you can view the progress: kbcli cluster describe-ops postgres-yaznfx-horizontalscaling-6drs2 -n ns-bzpbs check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-horizontalscaling-6drs2 ns-bzpbs HorizontalScaling postgres-yaznfx postgresql Running -/- Feb 12,2026 10:26 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,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 cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:15 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running primary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:09 UTC+0800 postgres-yaznfx-postgresql-2 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:26 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-1;secondary(B: postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-2 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-horizontalscaling-6drs2 ns-bzpbs HorizontalScaling postgres-yaznfx postgresql Succeed 1/1 Feb 12,2026 10:26 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-horizontalscaling-6drs2 ns-bzpbs HorizontalScaling postgres-yaznfx postgresql Succeed 1/1 Feb 12,2026 10:26 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-horizontalscaling-6drs2 --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-horizontalscaling-6drs2 patched  `kbcli cluster delete-ops --name postgres-yaznfx-horizontalscaling-6drs2 --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-horizontalscaling-6drs2 deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] 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-yaznfx --auto-approve --force=true --components postgresql --replicas 1 --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-horizontalscaling-q2q8t created successfully, you can view the progress: kbcli cluster describe-ops postgres-yaznfx-horizontalscaling-q2q8t -n ns-bzpbs check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-horizontalscaling-q2q8t ns-bzpbs HorizontalScaling postgres-yaznfx postgresql Creating -/- Feb 12,2026 10:31 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,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 check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:15 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running primary 0 100m / 100m 512Mi / 512Mi data:3Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:09 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-1;secondary(B: postgres-yaznfx-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-horizontalscaling-q2q8t ns-bzpbs HorizontalScaling postgres-yaznfx postgresql Succeed 1/1 Feb 12,2026 10:31 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-horizontalscaling-q2q8t ns-bzpbs HorizontalScaling postgres-yaznfx postgresql Succeed 1/1 Feb 12,2026 10:31 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-horizontalscaling-q2q8t --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-horizontalscaling-q2q8t patched  `kbcli cluster delete-ops --name postgres-yaznfx-horizontalscaling-q2q8t --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-horizontalscaling-q2q8t deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster vscale postgres-yaznfx --auto-approve --force=true --components postgresql --cpu 200m --memory 0.6Gi --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-verticalscaling-m479c created successfully, you can view the progress: kbcli cluster describe-ops postgres-yaznfx-verticalscaling-m479c -n ns-bzpbs check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-verticalscaling-m479c ns-bzpbs VerticalScaling postgres-yaznfx postgresql Running -/- Feb 12,2026 10:32 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,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 check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:32 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:34 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-verticalscaling-m479c ns-bzpbs VerticalScaling postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:32 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-verticalscaling-m479c ns-bzpbs VerticalScaling postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:32 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-verticalscaling-m479c --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-verticalscaling-m479c patched  `kbcli cluster delete-ops --name postgres-yaznfx-verticalscaling-m479c --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-verticalscaling-m479c deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B 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-yaznfx --namespace ns-bzpbs `(B   `kubectl get secrets -l app.kubernetes.io/instance=postgres-yaznfx`(B  set secret: postgres-yaznfx-postgresql-account-postgres  `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8Q1dO909qh;DB_PORT:5432;DB_DATABASE:postgres(B apiVersion: v1 kind: Pod metadata: name: test-db-client-connectionstress-postgres-yaznfx namespace: ns-bzpbs spec: containers: - name: test-dbclient imagePullPolicy: IfNotPresent image: docker.io/apecloud/dbclient:test args: - "--host" - "postgres-yaznfx-postgresql-postgresql.ns-bzpbs.svc.cluster.local" - "--user" - "postgres" - "--password" - "8Q1dO909qh" - "--port" - "5432" - "--database" - "postgres" - "--dbtype" - "postgresql" - "--test" - "connectionstress" - "--connections" - "56" - "--duration" - "60" restartPolicy: Never  `kubectl apply -f test-db-client-connectionstress-postgres-yaznfx.yaml`(B  pod/test-db-client-connectionstress-postgres-yaznfx created apply test-db-client-connectionstress-postgres-yaznfx.yaml Success(B  `rm -rf test-db-client-connectionstress-postgres-yaznfx.yaml`(B  check pod status check pod test-db-client-connectionstress-postgres-yaznfx status done(B pod_status:NAME READY STATUS RESTARTS AGE test-db-client-connectionstress-postgres-yaznfx 0/1 Completed 0 6s(B check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:32 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:34 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B --host postgres-yaznfx-postgresql-postgresql.ns-bzpbs.svc.cluster.local --user postgres --password 8Q1dO909qh --port 5432 --database postgres --dbtype postgresql --test connectionstress --connections 56 --duration 60 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 Test Result: null Connection Information: Database Type: postgresql Host: postgres-yaznfx-postgresql-postgresql.ns-bzpbs.svc.cluster.local Port: 5432 Database: postgres Table: User: postgres Org: Access Mode: mysql Test Type: connectionstress Connection Count: 56 Duration: 60 seconds  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge pods test-db-client-connectionstress-postgres-yaznfx --namespace ns-bzpbs `(B  pod/test-db-client-connectionstress-postgres-yaznfx patched (no change) pod "test-db-client-connectionstress-postgres-yaznfx" force deleted check failover pod name failover pod name:postgres-yaznfx-postgresql-0 failover connectionstress Success(B check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B cluster stop check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster stop postgres-yaznfx --auto-approve --force=true --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-stop-798k7 created successfully, you can view the progress: kbcli cluster describe-ops postgres-yaznfx-stop-798k7 -n ns-bzpbs check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-stop-798k7 ns-bzpbs Stop postgres-yaznfx Running -/- Feb 12,2026 10:36 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Stopping Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,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 cluster_status:Stopping(B check cluster status done(B cluster_status:Stopped(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(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-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-stop-798k7 ns-bzpbs Stop postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:36 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-stop-798k7 ns-bzpbs Stop postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:36 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-stop-798k7 --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-stop-798k7 patched  `kbcli cluster delete-ops --name postgres-yaznfx-stop-798k7 --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-stop-798k7 deleted cluster start check cluster status before ops check cluster status done(B cluster_status:Stopped(B  `kbcli cluster start postgres-yaznfx --force=true --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-start-4wnhq created successfully, you can view the progress: kbcli cluster describe-ops postgres-yaznfx-start-4wnhq -n ns-bzpbs check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-start-4wnhq ns-bzpbs Start postgres-yaznfx Running -/- Feb 12,2026 10:37 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,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-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:37 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:37 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-start-4wnhq ns-bzpbs Start postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:37 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-start-4wnhq ns-bzpbs Start postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:37 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-start-4wnhq --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-start-4wnhq patched  `kbcli cluster delete-ops --name postgres-yaznfx-start-4wnhq --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-start-4wnhq deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B test switchover(B cluster promote check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster promote postgres-yaznfx --auto-approve --force=true --instance postgres-yaznfx-postgresql-0 --candidate postgres-yaznfx-postgresql-1 --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-switchover-lp4mn created successfully, you can view the progress: kbcli cluster describe-ops postgres-yaznfx-switchover-lp4mn -n ns-bzpbs check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-switchover-lp4mn ns-bzpbs Switchover postgres-yaznfx Creating -/- Feb 12,2026 10:38 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:37 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:3Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:37 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-1;secondary(B: postgres-yaznfx-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-switchover-lp4mn ns-bzpbs Switchover postgres-yaznfx postgres-yaznfx-postgresql Succeed 1/1 Feb 12,2026 10:38 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-switchover-lp4mn ns-bzpbs Switchover postgres-yaznfx postgres-yaznfx-postgresql Succeed 1/1 Feb 12,2026 10:38 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-switchover-lp4mn --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-switchover-lp4mn patched  `kbcli cluster delete-ops --name postgres-yaznfx-switchover-lp4mn --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-switchover-lp4mn deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B switchover pod:postgres-yaznfx-postgresql-1 switchover success(B  `kubectl get secrets -l app.kubernetes.io/instance=postgres-yaznfx`(B  set secret: postgres-yaznfx-postgresql-account-postgres  `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8Q1dO909qh;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-yaznfx namespace: ns-bzpbs 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-yaznfx-postgresql-postgresql.ns-bzpbs.svc.cluster.local,user:postgres,password:8Q1dO909qh,port:5432,db:benchtest,tables:5,threads:4,times:10,size:1000,type:oltp_read_write" restartPolicy: Never  `kubectl apply -f benchtest-postgres-yaznfx.yaml`(B  pod/benchtest-postgres-yaznfx created apply benchtest-postgres-yaznfx.yaml Success(B check pod status pod_status:NAME READY STATUS RESTARTS AGE benchtest-postgres-yaznfx 0/1 ContainerCreating 0 0s(B pod_status:NAME READY STATUS RESTARTS AGE benchtest-postgres-yaznfx 1/1 Running 0 4s(B pod_status:NAME READY STATUS RESTARTS AGE benchtest-postgres-yaznfx 1/1 Running 0 9s(B check pod benchtest-postgres-yaznfx status done(B pod_status:NAME READY STATUS RESTARTS AGE benchtest-postgres-yaznfx 0/1 Completed 0 14s(B  `rm -rf benchtest-postgres-yaznfx.yaml`(B   `kubectl logs benchtest-postgres-yaznfx --tail 30 --namespace ns-bzpbs `(B  [ 7s ] thds: 4 tps: 77.02 qps: 1532.42 (r/w/o: 1078.29/294.08/160.04) lat (ms,99%): 101.13 err/s: 1.00 reconn/s: 0.00 [ 8s ] thds: 4 tps: 73.98 qps: 1477.69 (r/w/o: 1033.78/292.94/150.97) lat (ms,99%): 99.33 err/s: 0.00 reconn/s: 0.00 [ 9s ] thds: 4 tps: 24.00 qps: 496.99 (r/w/o: 351.99/97.00/48.00) lat (ms,99%): 94.10 err/s: 0.00 reconn/s: 0.00 [ 10s ] thds: 4 tps: 70.00 qps: 1409.05 (r/w/o: 988.04/278.01/143.01) lat (ms,99%): 1089.30 err/s: 1.00 reconn/s: 0.00 SQL statistics: queries performed: read: 9352 write: 2629 other: 1355 total: 13336 transactions: 657 (65.64 per sec.) queries: 13336 (1332.28 per sec.) ignored errors: 11 (1.10 per sec.) reconnects: 0 (0.00 per sec.) General statistics: total time: 10.0085s total number of events: 657 Latency (ms): min: 5.87 avg: 60.92 max: 1099.51 99th percentile: 196.89 sum: 40021.69 Threads fairness: events (avg/stddev): 164.2500/8.41 execution time (avg/stddev): 10.0054/0.00  `kubectl delete pod benchtest-postgres-yaznfx --force --namespace ns-bzpbs `(B  pod "benchtest-postgres-yaznfx" force deleted  `kubectl get pvc -l app.kubernetes.io/instance=postgres-yaznfx,apps.kubeblocks.io/component-name=postgresql,apps.kubeblocks.io/vct-name=data --namespace ns-bzpbs `(B  cluster volume-expand check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster volume-expand postgres-yaznfx --auto-approve --force=true --components postgresql --volume-claim-templates data --storage 8Gi --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-volumeexpansion-8fwjb created successfully, you can view the progress: kbcli cluster describe-ops postgres-yaznfx-volumeexpansion-8fwjb -n ns-bzpbs check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-volumeexpansion-8fwjb ns-bzpbs VolumeExpansion postgres-yaznfx postgresql Running -/- Feb 12,2026 10:40 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Updating Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,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 check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:37 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:37 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-1;secondary(B: postgres-yaznfx-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-volumeexpansion-8fwjb ns-bzpbs VolumeExpansion postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:40 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-volumeexpansion-8fwjb ns-bzpbs VolumeExpansion postgres-yaznfx postgresql Succeed 2/2 Feb 12,2026 10:40 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-volumeexpansion-8fwjb --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-volumeexpansion-8fwjb patched  `kbcli cluster delete-ops --name postgres-yaznfx-volumeexpansion-8fwjb --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-volumeexpansion-8fwjb deleted check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B cluster configure component_tmp: postgresql apiVersion: operations.kubeblocks.io/v1alpha1 kind: OpsRequest metadata: generateName: postgres-yaznfx-reconfiguring- namespace: ns-bzpbs spec: type: Reconfiguring clusterName: postgres-yaznfx 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-yaznfx.yaml`(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-reconfiguring-4g989 created create test_ops_cluster_postgres-yaznfx.yaml Success(B  `rm -rf test_ops_cluster_postgres-yaznfx.yaml`(B  check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-reconfiguring-4g989 ns-bzpbs Reconfiguring postgres-yaznfx postgresql,postgresql Running -/- Feb 12,2026 10:46 UTC+0800 check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql DoNotTerminate Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:37 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:37 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-1;secondary(B: postgres-yaznfx-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-reconfiguring-4g989 ns-bzpbs Reconfiguring postgres-yaznfx postgresql,postgresql Succeed -/- Feb 12,2026 10:46 UTC+0800 check ops status done(B ops_status:postgres-yaznfx-reconfiguring-4g989 ns-bzpbs Reconfiguring postgres-yaznfx postgresql,postgresql Succeed -/- Feb 12,2026 10:46 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-reconfiguring-4g989 --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-reconfiguring-4g989 patched  `kbcli cluster delete-ops --name postgres-yaznfx-reconfiguring-4g989 --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-reconfiguring-4g989 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-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B cluster update terminationPolicy WipeOut  `kbcli cluster update postgres-yaznfx --termination-policy=WipeOut --namespace ns-bzpbs `(B  cluster.apps.kubeblocks.io/postgres-yaznfx updated check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:37 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:37 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-1;secondary(B: postgres-yaznfx-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B  `kubectl get backupschedule -l app.kubernetes.io/instance=postgres-yaznfx `(B   `kubectl get backupschedule postgres-yaznfx-postgresql-backup-schedule -ojsonpath='{.spec.schedules[*].backupMethod}' `(B  backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-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-yaznfx --method wal-g --namespace ns-bzpbs `(B  Backup backup-ns-bzpbs-postgres-yaznfx-20260212104634 created successfully, you can view the progress: kbcli cluster list-backups --names=backup-ns-bzpbs-postgres-yaznfx-20260212104634 -n ns-bzpbs check backup status  `kbcli cluster list-backups postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE SOURCE-CLUSTER METHOD STATUS TOTAL-SIZE DURATION DELETION-POLICY CREATE-TIME COMPLETION-TIME EXPIRATION backup-ns-bzpbs-postgres-yaznfx-20260212104634 ns-bzpbs postgres-yaznfx wal-g Running Delete Feb 12,2026 10:46 UTC+0800 bdc56550-postgres-yaznfx-postg-wal-g-archive ns-bzpbs postgres-yaznfx wal-g-archive Running(AvailablePods: 0) Delete Feb 12,2026 10:46 UTC+0800 backup_status:postgres-yaznfx-wal-g-Running(B backup_status:postgres-yaznfx-wal-g-Running(B backup_status:postgres-yaznfx-wal-g-Running(B backup_status:postgres-yaznfx-wal-g-Running(B check backup status done(B backup_status:backup-ns-bzpbs-postgres-yaznfx-20260212104634 ns-bzpbs postgres-yaznfx wal-g Completed 9704598 16s Delete Feb 12,2026 10:46 UTC+0800 Feb 12,2026 10:46 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-yaznfx0', now());`(B  CREATE TABLE INSERT 0 1  `insert into msg (msg, time) values ('kbcli-test-data-yaznfx1', now());`(B  INSERT 0 1 pg_switch_wal --------------- 0/11012388 (1 row)  `insert into msg (msg, time) values ('kbcli-test-data-yaznfx2', now());`(B  INSERT 0 1 pg_switch_wal --------------- 0/12000108 (1 row) checking recoverable time 1 (B recoverable time:Feb 12,2026 10:46:56 UTC+0800(B  `insert into msg (msg, time) values ('kbcli-test-data-yaznfx4', now());`(B  INSERT 0 1 pg_switch_wal --------------- 0/13000140 (1 row) check recoverable time 1 done(B recoverable time:Feb 12,2026 10:47:04 UTC+0800(B cluster restore-to-time backup  `kbcli cluster restore postgres-yaznfx-backup --backup bdc56550-postgres-yaznfx-postg-wal-g-archive --restore-to-time "Feb 12,2026 10:47:04 UTC+0800" --namespace ns-bzpbs `(B  Cluster postgres-yaznfx-backup created check cluster status  `kbcli cluster list postgres-yaznfx-backup --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx-backup ns-bzpbs postgresql WipeOut Creating Feb 12,2026 10:47 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 check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx-backup --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-backup-postgresql-0 ns-bzpbs postgres-yaznfx-backup postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:52 UTC+0800 postgres-yaznfx-backup-postgresql-1 ns-bzpbs postgres-yaznfx-backup postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:52 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-backup-postgresql-0;secondary(B: postgres-yaznfx-backup-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-backup-postgresql-0 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B  `select * from msg;`(B  id | msg | time ----+-------------------------+---------------------------- 1 | kbcli-test-data-yaznfx0 | 2026-02-12 02:46:55.362411 2 | kbcli-test-data-yaznfx1 | 2026-02-12 02:46:56.631845 (2 rows) Point-In-Time Recovery Success(B delete cluster postgres-yaznfx-backup  `kbcli cluster delete postgres-yaznfx-backup --auto-approve --namespace ns-bzpbs `(B  pod_info:postgres-yaznfx-backup-postgresql-0 5/5 Running 0 3m4s postgres-yaznfx-backup-postgresql-1 5/5 Running 0 3m4s Cluster postgres-yaznfx-backup deleted pod_info:postgres-yaznfx-backup-postgresql-0 5/5 Terminating 0 3m25s postgres-yaznfx-backup-postgresql-1 5/5 Terminating 0 3m25s 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-bzpbs-postgres-yaznfx-20260212104634 --namespace ns-bzpbs `(B  Name: backup-ns-bzpbs-postgres-yaznfx-20260212104634 Cluster: postgres-yaznfx Namespace: ns-bzpbs Spec: Method: wal-g Policy Name: postgres-yaznfx-postgresql-backup-policy Actions: dp-backup-0: ActionType: Job WorkloadName: dp-backup-0-backup-ns-bzpbs-postgres-yaznfx-20260212104634-d93c TargetPodName: postgres-yaznfx-postgresql-1 Phase: Completed Start Time: Feb 12,2026 10:46 UTC+0800 Completion Time: Feb 12,2026 10:46 UTC+0800 Extras: =================== 1 =================== walGBackupName: base_00000008000000000000000F Status: Phase: Completed Total Size: 9704598 ActionSet Name: postgresql-wal-g Repository: backuprepo-kbcli-test Duration: 16s Start Time: Feb 12,2026 10:46 UTC+0800 Completion Time: Feb 12,2026 10:46 UTC+0800 Path: /ns-bzpbs/postgres-yaznfx-bdc56550-3af9-4370-9fd4-37e994e711bd/postgresql/backup-ns-bzpbs-postgres-yaznfx-20260212104634 Time Range Start: Feb 12,2026 10:46 UTC+0800 Time Range End: Feb 12,2026 10:46 UTC+0800 Warning Events:  `kbcli cluster restore postgres-yaznfx-backup --backup backup-ns-bzpbs-postgres-yaznfx-20260212104634 --namespace ns-bzpbs `(B  Cluster postgres-yaznfx-backup created check cluster status  `kbcli cluster list postgres-yaznfx-backup --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx-backup ns-bzpbs postgresql WipeOut Creating Feb 12,2026 10:56 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-yaznfx-backup --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-backup-postgresql-0 ns-bzpbs postgres-yaznfx-backup postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:57 UTC+0800 postgres-yaznfx-backup-postgresql-1 ns-bzpbs postgres-yaznfx-backup postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 10:57 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-backup-postgresql-1;secondary(B: postgres-yaznfx-backup-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-backup-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B  `kbcli cluster describe-backup --names backup-ns-bzpbs-postgres-yaznfx-20260212104634 --namespace ns-bzpbs `(B  Name: backup-ns-bzpbs-postgres-yaznfx-20260212104634 Cluster: postgres-yaznfx Namespace: ns-bzpbs Spec: Method: wal-g Policy Name: postgres-yaznfx-postgresql-backup-policy Actions: dp-backup-0: ActionType: Job WorkloadName: dp-backup-0-backup-ns-bzpbs-postgres-yaznfx-20260212104634-d93c TargetPodName: postgres-yaznfx-postgresql-1 Phase: Completed Start Time: Feb 12,2026 10:46 UTC+0800 Completion Time: Feb 12,2026 10:46 UTC+0800 Extras: =================== 1 =================== walGBackupName: base_00000008000000000000000F Status: Phase: Completed Total Size: 9704598 ActionSet Name: postgresql-wal-g Repository: backuprepo-kbcli-test Duration: 16s Start Time: Feb 12,2026 10:46 UTC+0800 Completion Time: Feb 12,2026 10:46 UTC+0800 Path: /ns-bzpbs/postgres-yaznfx-bdc56550-3af9-4370-9fd4-37e994e711bd/postgresql/backup-ns-bzpbs-postgres-yaznfx-20260212104634 Time Range Start: Feb 12,2026 10:46 UTC+0800 Time Range End: Feb 12,2026 10:46 UTC+0800 Warning Events:  `kubectl get secrets -l app.kubernetes.io/instance=postgres-yaznfx`(B  set secret: postgres-yaznfx-postgresql-account-postgres  `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.username}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.password}"`(B   `kubectl get secrets postgres-yaznfx-postgresql-account-postgres -o jsonpath="{.data.port}"`(B  DB_USERNAME:postgres;DB_PASSWORD:8Q1dO909qh;DB_PORT:5432;DB_DATABASE:postgres(B  `echo 'DROP TABLE msg;' | kubectl exec -it postgres-yaznfx-postgresql-1 -n default -- psql -U postgres `(B   `kubectl get backupschedule -l app.kubernetes.io/instance=postgres-yaznfx `(B   `kubectl get backupschedule postgres-yaznfx-postgresql-backup-schedule -ojsonpath='{.spec.schedules[*].backupMethod}' `(B  backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched (no change) backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched backupschedule.dataprotection.kubeblocks.io/postgres-yaznfx-postgresql-backup-schedule patched cluster connect  `echo 'create extension vector;' | kubectl exec -it postgres-yaznfx-backup-postgresql-1 --namespace ns-bzpbs -- 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.10 | 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-yaznfx-backup-postgresql-1 --namespace ns-bzpbs -- psql -U postgres `(B  max_connections ----------------- 67 (1 row) connect cluster Success(B set max_connections to 67 delete cluster postgres-yaznfx-backup  `kbcli cluster delete postgres-yaznfx-backup --auto-approve --namespace ns-bzpbs `(B  pod_info:postgres-yaznfx-backup-postgresql-0 5/5 Running 0 84s postgres-yaznfx-backup-postgresql-1 5/5 Running 0 84s Cluster postgres-yaznfx-backup deleted pod_info:postgres-yaznfx-backup-postgresql-0 5/5 Terminating 0 104s postgres-yaznfx-backup-postgresql-1 5/5 Terminating 0 104s 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 backup-ns-bzpbs-postgres-yaznfx-20260212104634 --namespace ns-bzpbs `(B  backup.dataprotection.kubeblocks.io/backup-ns-bzpbs-postgres-yaznfx-20260212104634 patched  `kbcli cluster delete-backup postgres-yaznfx --name backup-ns-bzpbs-postgres-yaznfx-20260212104634 --force --auto-approve --namespace ns-bzpbs `(B  Backup backup-ns-bzpbs-postgres-yaznfx-20260212104634 deleted  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge backups bdc56550-postgres-yaznfx-postg-wal-g-archive --namespace ns-bzpbs `(B  backup.dataprotection.kubeblocks.io/bdc56550-postgres-yaznfx-postg-wal-g-archive patched  `kbcli cluster delete-backup postgres-yaznfx --name bdc56550-postgres-yaznfx-postg-wal-g-archive --force --auto-approve --namespace ns-bzpbs `(B  Backup bdc56550-postgres-yaznfx-postg-wal-g-archive deleted cluster does not need to check monitor currently check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:37 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:37 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-1;secondary(B: postgres-yaznfx-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(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-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:37 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:37 UTC+0800 check pod status done(B check cluster role primary(B: postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1;secondary(B: primary(B: postgres-yaznfx-postgresql-0 postgres-yaznfx-postgresql-1;secondary(B: postgres-yaznfx-postgresql-1 check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B check failover pod name failover pod name:postgres-yaznfx-postgresql-0 failover kill1 Success(B check db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-1 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B cluster update terminationPolicy WipeOut  `kbcli cluster update postgres-yaznfx --termination-policy=WipeOut --namespace ns-bzpbs `(B  cluster.apps.kubeblocks.io/postgres-yaznfx updated (no change) check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:37 UTC+0800 postgres-yaznfx-postgresql-1 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 10:37 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-1 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- 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-yaznfx --method pg-basebackup --namespace ns-bzpbs `(B  Backup backup-ns-bzpbs-postgres-yaznfx-20260212105959 created successfully, you can view the progress: kbcli cluster list-backups --names=backup-ns-bzpbs-postgres-yaznfx-20260212105959 -n ns-bzpbs check backup status  `kbcli cluster list-backups postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE SOURCE-CLUSTER METHOD STATUS TOTAL-SIZE DURATION DELETION-POLICY CREATE-TIME COMPLETION-TIME EXPIRATION backup-ns-bzpbs-postgres-yaznfx-20260212105959 ns-bzpbs postgres-yaznfx pg-basebackup Delete Feb 12,2026 11:00 UTC+0800 backup_status:postgres-yaznfx-pg-basebackup-Running(B backup_status:postgres-yaznfx-pg-basebackup-Running(B backup_status:postgres-yaznfx-pg-basebackup-Running(B check backup status done(B backup_status:backup-ns-bzpbs-postgres-yaznfx-20260212105959 ns-bzpbs postgres-yaznfx pg-basebackup Completed 12670884 10s Delete Feb 12,2026 11:00 UTC+0800 Feb 12,2026 11:00 UTC+0800 (B cluster restore backup  `kbcli cluster describe-backup --names backup-ns-bzpbs-postgres-yaznfx-20260212105959 --namespace ns-bzpbs `(B  Name: backup-ns-bzpbs-postgres-yaznfx-20260212105959 Cluster: postgres-yaznfx Namespace: ns-bzpbs Spec: Method: pg-basebackup Policy Name: postgres-yaznfx-postgresql-backup-policy Actions: dp-backup-0: ActionType: Job WorkloadName: dp-backup-0-backup-ns-bzpbs-postgres-yaznfx-20260212105959-5f6c TargetPodName: postgres-yaznfx-postgresql-1 Phase: Completed Start Time: Feb 12,2026 11:00 UTC+0800 Completion Time: Feb 12,2026 11:00 UTC+0800 Status: Phase: Completed Total Size: 12670884 ActionSet Name: postgresql-basebackup Repository: backuprepo-kbcli-test Duration: 10s Start Time: Feb 12,2026 11:00 UTC+0800 Completion Time: Feb 12,2026 11:00 UTC+0800 Path: /ns-bzpbs/postgres-yaznfx-bdc56550-3af9-4370-9fd4-37e994e711bd/postgresql/backup-ns-bzpbs-postgres-yaznfx-20260212105959 Time Range Start: Feb 12,2026 11:00 UTC+0800 Time Range End: Feb 12,2026 11:00 UTC+0800 Warning Events:  `kbcli cluster restore postgres-yaznfx-backup --backup backup-ns-bzpbs-postgres-yaznfx-20260212105959 --namespace ns-bzpbs `(B  Cluster postgres-yaznfx-backup created check cluster status  `kbcli cluster list postgres-yaznfx-backup --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx-backup ns-bzpbs postgresql WipeOut Creating Feb 12,2026 11:00 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 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-yaznfx-backup --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-backup-postgresql-0 ns-bzpbs postgres-yaznfx-backup postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 11:04 UTC+0800 postgres-yaznfx-backup-postgresql-1 ns-bzpbs postgres-yaznfx-backup postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000000/10.224.0.9 Feb 12,2026 11:04 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-backup-postgresql-1;secondary(B: postgres-yaznfx-backup-postgresql-0 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-backup-postgresql-1 --namespace ns-bzpbs -- psql -U postgres`(B  check cluster connect done(B  `kbcli cluster describe-backup --names backup-ns-bzpbs-postgres-yaznfx-20260212105959 --namespace ns-bzpbs `(B  Name: backup-ns-bzpbs-postgres-yaznfx-20260212105959 Cluster: postgres-yaznfx Namespace: ns-bzpbs Spec: Method: pg-basebackup Policy Name: postgres-yaznfx-postgresql-backup-policy Actions: dp-backup-0: ActionType: Job WorkloadName: dp-backup-0-backup-ns-bzpbs-postgres-yaznfx-20260212105959-5f6c TargetPodName: postgres-yaznfx-postgresql-1 Phase: Completed Start Time: Feb 12,2026 11:00 UTC+0800 Completion Time: Feb 12,2026 11:00 UTC+0800 Status: Phase: Completed Total Size: 12670884 ActionSet Name: postgresql-basebackup Repository: backuprepo-kbcli-test Duration: 10s Start Time: Feb 12,2026 11:00 UTC+0800 Completion Time: Feb 12,2026 11:00 UTC+0800 Path: /ns-bzpbs/postgres-yaznfx-bdc56550-3af9-4370-9fd4-37e994e711bd/postgresql/backup-ns-bzpbs-postgres-yaznfx-20260212105959 Time Range Start: Feb 12,2026 11:00 UTC+0800 Time Range End: Feb 12,2026 11:00 UTC+0800 Warning Events: cluster connect  `echo 'create extension vector;' | kubectl exec -it postgres-yaznfx-backup-postgresql-1 --namespace ns-bzpbs -- 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.10 | 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-yaznfx-backup-postgresql-1 --namespace ns-bzpbs -- psql -U postgres `(B  max_connections ----------------- 200 (1 row) connect cluster Success(B set max_connections to 200 delete cluster postgres-yaznfx-backup  `kbcli cluster delete postgres-yaznfx-backup --auto-approve --namespace ns-bzpbs `(B  pod_info:postgres-yaznfx-backup-postgresql-0 5/5 Running 0 60s postgres-yaznfx-backup-postgresql-1 5/5 Running 0 60s Cluster postgres-yaznfx-backup deleted pod_info:postgres-yaznfx-backup-postgresql-0 5/5 Terminating 0 80s postgres-yaznfx-backup-postgresql-1 5/5 Terminating 0 80s 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-yaznfx-rebuildinstance- namespace: ns-bzpbs spec: type: RebuildInstance clusterName: postgres-yaznfx force: true rebuildFrom: - componentName: postgresql instances: - name: postgres-yaznfx-postgresql-1 backupName: backup-ns-bzpbs-postgres-yaznfx-20260212105959 inPlace: false check cluster status before ops check cluster status done(B cluster_status:Running(B  `kubectl create -f test_ops_cluster_postgres-yaznfx.yaml`(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-rebuildinstance-xxmgq created create test_ops_cluster_postgres-yaznfx.yaml Success(B  `rm -rf test_ops_cluster_postgres-yaznfx.yaml`(B  check ops status  `kbcli cluster list-ops postgres-yaznfx --status all --namespace ns-bzpbs `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME postgres-yaznfx-postgresql-backup-schedule-enable-1 ns-bzpbs Reconfiguring postgres-yaznfx postgresql,postgresql Succeed -/- Feb 12,2026 10:46 UTC+0800 postgres-yaznfx-postgresql-backup-schedule-disable-2 ns-bzpbs Reconfiguring postgres-yaznfx postgresql,postgresql Succeed -/- Feb 12,2026 10:58 UTC+0800 postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Running 0/1 Feb 12,2026 11:06 UTC+0800 (B check ops status done(B ops_status:postgres-yaznfx-rebuildinstance-xxmgq ns-bzpbs RebuildInstance postgres-yaznfx postgresql Succeed 1/1 Feb 12,2026 11:06 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations postgres-yaznfx-rebuildinstance-xxmgq --namespace ns-bzpbs `(B  opsrequest.operations.kubeblocks.io/postgres-yaznfx-rebuildinstance-xxmgq patched  `kbcli cluster delete-ops --name postgres-yaznfx-rebuildinstance-xxmgq --force --auto-approve --namespace ns-bzpbs `(B  OpsRequest postgres-yaznfx-rebuildinstance-xxmgq deleted check cluster status  `kbcli cluster list postgres-yaznfx --show-labels --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS postgres-yaznfx ns-bzpbs postgresql WipeOut Running Feb 12,2026 09:59 UTC+0800 app.kubernetes.io/instance=postgres-yaznfx,clusterdefinition.kubeblocks.io/name=postgresql check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances postgres-yaznfx --namespace ns-bzpbs `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME postgres-yaznfx-postgresql-0 ns-bzpbs postgres-yaznfx postgresql Running primary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000005/10.224.0.10 Feb 12,2026 10:37 UTC+0800 postgres-yaznfx-postgresql-2 ns-bzpbs postgres-yaznfx postgresql Running secondary 0 200m / 200m 644245094400m / 644245094400m data:8Gi aks-cicdamdpool-14916756-vmss000002/10.224.0.8 Feb 12,2026 11:06 UTC+0800 check pod status done(B check cluster role check cluster role done(B primary(B: postgres-yaznfx-postgresql-0;secondary(B: postgres-yaznfx-postgresql-2 check cluster connect  `echo '' | kubectl exec -it postgres-yaznfx-postgresql-0 --namespace ns-bzpbs -- 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-yaznfx-postgresql-0 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check db_client batch [5905] equal [5905] data Success(B check readonly db_client batch data count  `echo "select count(*) from executions_loop_table;" | kubectl exec -it postgres-yaznfx-postgresql-2 -n ns-bzpbs -- psql -U postgres -d executions_loop `(B  check readonly db_client batch data [5905] equal [5905] Success(B cluster delete backup  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge backups backup-ns-bzpbs-postgres-yaznfx-20260212105959 --namespace ns-bzpbs `(B  backup.dataprotection.kubeblocks.io/backup-ns-bzpbs-postgres-yaznfx-20260212105959 patched  `kbcli cluster delete-backup postgres-yaznfx --name backup-ns-bzpbs-postgres-yaznfx-20260212105959 --force --auto-approve --namespace ns-bzpbs `(B  Backup backup-ns-bzpbs-postgres-yaznfx-20260212105959 deleted cluster list-logs  `kbcli cluster list-logs postgres-yaznfx --namespace ns-bzpbs `(B  cluster logs  `kbcli cluster logs postgres-yaznfx --tail 30 --namespace ns-bzpbs `(B  2026-02-12 03:04:34,341 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:04:44,338 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:04:54,342 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:05:02.439 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 03:05:04,340 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:05:14,342 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:05:24,338 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:05:32.442 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 03:05:34,340 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:05:44,342 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:05:54,351 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:06:02.470 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 03:06:04,338 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:06:14,388 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:06:24,340 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:06:32.470 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 03:06:34,340 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:06:44,389 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:06:54,489 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:07:02.471 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 03:07:04,339 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:07:14,341 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:07:24,339 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:07:32.494 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 03:07:34,340 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:07:44,338 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:07:54,392 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:08:02.527 UTC [30] LOG {ticks: 0, maint: 0, retry: 0} 2026-02-12 03:08:04,341 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock 2026-02-12 03:08:14,400 INFO: no action. I am (postgres-yaznfx-postgresql-0), the leader with the lock cluster logs running  `kbcli cluster logs postgres-yaznfx --tail 30 --file-type=running --namespace ns-bzpbs `(B  ==> /home/postgres/pgdata/pgroot/data/log/postgresql-4.csv <== 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",,-8120247815364024038 2026-02-12 02:59:44.097 GMT,"postgres","benchtest",3261,"[local]",698d421f.cbd,31,"CREATE VIEW",2026-02-12 02:59:43 GMT,8/231,10031,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",,-8591178640824456997 2026-02-12 03:06:41.357 GMT,,,1458,,698d3f06.5b2,6,,2026-02-12 02:46:30 GMT,,0,LOG,00000,"checkpoint starting: force wait",,,,,,,,,"","checkpointer",,0 2026-02-12 03:07:48.114 GMT,,,1458,,698d3f06.5b2,7,,2026-02-12 02:46:30 GMT,,0,LOG,00000,"checkpoint complete: wrote 665 buffers (1.0%); 0 WAL file(s) added, 0 removed, 3 recycled; write=66.643 s, sync=0.009 s, total=66.758 s; sync files=149, longest=0.008 s, average=0.001 s; distance=16296 kB, estimate=90181 kB",,,,,,,,,"","checkpointer",,0 2026-02-12 03:07:51.856 GMT,"standby","",4274,"10.244.6.109:33112",698d43c0.10b2,1,"sending backup ""pg_basebackup base backup""",2026-02-12 03:06:40 GMT,9/0,0,LOG,00000,"temporary file: path ""base/pgsql_tmp/pgsql_tmp4274.0"", size 234009",,,,,,"BASE_BACKUP ( LABEL 'pg_basebackup base backup', PROGRESS, MANIFEST 'yes', TARGET 'client')",,,"pg_basebackup","walsender",,0 2026-02-12 03:07:59.930 GMT,"standby","",4438,"10.244.6.109:37094",698d4405.1156,1,"streaming 0/17000000",2026-02-12 03:07:49 GMT,10/0,0,LOG,08006,"could not receive data from client: Connection reset by peer",,,,,,"START_REPLICATION 0/16000000 TIMELINE 9",,,"pg_receivewal","walsender",,0 2026-02-12 03:07:59.930 GMT,"standby","",4438,"10.244.6.109:37094",698d4405.1156,2,"streaming 0/17000000",2026-02-12 03:07:49 GMT,10/0,0,LOG,08P01,"unexpected EOF on standby connection",,,,,,"START_REPLICATION 0/16000000 TIMELINE 9",,,"pg_receivewal","walsender",,0 ==> /home/postgres/pgdata/pgroot/data/log/postgresql-4.log <== 2026-02-12 02:01:33 GMT [152]: [6-1] 698d347a.98 0 LOG: ending log output to stderr 2026-02-12 02:01:33 GMT [152]: [7-1] 698d347a.98 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:02:46 GMT [279]: [6-1] 698d34c5.117 0 LOG: ending log output to stderr 2026-02-12 02:02:46 GMT [279]: [7-1] 698d34c5.117 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:06:04 GMT [106]: [6-1] 698d358b.6a 0 LOG: ending log output to stderr 2026-02-12 02:06:04 GMT [106]: [7-1] 698d358b.6a 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:08:49 GMT [655]: [6-1] 698d3630.28f 0 LOG: ending log output to stderr 2026-02-12 02:08:49 GMT [655]: [7-1] 698d3630.28f 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:15:02 GMT [99]: [6-1] 698d37a4.63 0 LOG: ending log output to stderr 2026-02-12 02:15:02 GMT [99]: [7-1] 698d37a4.63 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:26:08 GMT [151]: [6-1] 698d3a3e.97 0 LOG: ending log output to stderr 2026-02-12 02:26:08 GMT [151]: [7-1] 698d3a3e.97 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:33:14 GMT [65]: [6-1] 698d3bea.41 0 LOG: ending log output to stderr 2026-02-12 02:33:14 GMT [65]: [7-1] 698d3bea.41 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:37:37 GMT [63]: [6-1] 698d3cf0.3f 0 LOG: ending log output to stderr 2026-02-12 02:37:37 GMT [63]: [7-1] 698d3cf0.3f 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:38:32 GMT [351]: [6-1] 698d3d27.15f 0 LOG: ending log output to stderr 2026-02-12 02:38:32 GMT [351]: [7-1] 698d3d27.15f 0 HINT: Future log output will go to log destination "csvlog". 2026-02-12 02:46:30 GMT [1454]: [6-1] 698d3f06.5ae 0 LOG: ending log output to stderr 2026-02-12 02:46:30 GMT [1454]: [7-1] 698d3f06.5ae 0 HINT: Future log output will go to log destination "csvlog". delete cluster postgres-yaznfx  `kbcli cluster delete postgres-yaznfx --auto-approve --namespace ns-bzpbs `(B  pod_info:postgres-yaznfx-postgresql-0 5/5 Running 0 30m postgres-yaznfx-postgresql-2 5/5 Running 0 2m4s Cluster postgres-yaznfx deleted pod_info:postgres-yaznfx-postgresql-0 5/5 Terminating 0 31m postgres-yaznfx-postgresql-2 5/5 Terminating 0 2m24s 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 15.13.0 (Topology = replication Replicas 2) Test Result-------------------------------------- [PASSED]|[Create]|[Topology=replication;ComponentDefinition=postgresql-15-1.0.2;ComponentVersion=postgresql;ServiceVersion=15.13.0;]|[Description=Create a cluster with the specified topology replication with the specified component definition postgresql-15-1.0.2 and component version postgresql and service version 15.13.0](B [PASSED]|[Connect]|[ComponentName=postgresql]|[Description=Connect to the cluster](B [PASSED]|[Reconfiguring]|[ComponentName=postgresql;shared_buffers=512MB]|[Description=Reconfiguring the cluster specify component postgresql set shared_buffers=512MB](B [PASSED]|[Restart]|[-]|[Description=Restart the cluster](B [PASSED]|[Failover]|[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]|[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]|[VerticalScaling]|[ComponentName=postgresql]|[Description=VerticalScaling the cluster specify component postgresql](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]|[Stop]|[-]|[Description=Stop the cluster](B [PASSED]|[Start]|[-]|[Description=Start the 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]|[VolumeExpansion]|[ComponentName=postgresql]|[Description=VolumeExpansion the cluster specify component postgresql](B [PASSED]|[Reconfiguring]|[ComponentName=postgresql;max_connections=200]|[Description=Reconfiguring the cluster specify component postgresql set max_connections=200](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]|[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]|[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]