Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] KubeBlocks: 0.9.2 创建pg 主备, pod始终有一个是not ready #8811

Open
grassroadsZ opened this issue Jan 15, 2025 · 1 comment
Open
Assignees
Labels
kind/bug Something isn't working

Comments

@grassroadsZ
Copy link

[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
@grassroadsZ grassroadsZ added the kind/bug Something isn't working label Jan 15, 2025
@wangyelei
Copy link
Contributor

Can you attach the pod logs? Please run the following commands:
kubectl logs pg-postgresql-0
kubectl logs pg-postgresql-0 -c lorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants