kubeblocks
kubeblocks copied to clipboard
[BUG] KubeBlocks: 0.9.2 创建pg 主备, pod始终有一个是not ready
[root@ecs-9473 shell]# kbcli version
Kubernetes: v1.30.4-r4-30.0.14.11
KubeBlocks: 0.9.2
kbcli: 0.9.2
[root@ecs-9473 shell]# kubectl get po -n agent |grep post
pg-postgresql-0 3/4 Running 0 77m
pg-postgresql-1 3/4 Running 0 77m
[root@ecs-9473 shell]# kubectl describe po pg-postgresql-1 -n agent
....
Topology Spread Constraints: kubernetes.io/hostname:DoNotSchedule when max skew 1 is exceeded for selector app.kubernetes.io/instance=pg,apps.kubeblocks.io/component-name=postgresql
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning Unhealthy 2m10s (x211 over 76m) kubelet Readiness probe failed: 127.0.0.1:5432 - no response
Can you attach the pod logs? Please run the following commands:
kubectl logs pg-postgresql-0
kubectl logs pg-postgresql-0 -c lorry
This issue has been marked as stale because it has been open for 30 days with no activity