为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
- 【TiDB 版本】:v1.1.9
- 【问题描述】:
helm install tidb-cluster后,未发现tidb的pod
controller manager的log如下:
E0122 10:11:51.319762 1 pd_member_manager.go:183] failed to sync TidbCluster: [test-tidb/test]'s status, error: Get http://test-pd.test-tidb:2379/pd/health: dial tcp 10.98.17.173:2379: connect: connection refused
E0122 10:11:51.319967 1 tidb_cluster_controller.go:123] TidbCluster: test-tidb/test, sync failed TidbCluster: test-tidb/test's pd status sync failed, can't failover, requeuing
E0122 10:12:21.308840 1 pd_member_manager.go:183] failed to sync TidbCluster: [test-tidb/test]'s status, error: Get http://test-pd.test-tidb:2379/pd/health: dial tcp 10.98.17.173:2379: connect: connection refused
E0122 10:12:21.309010 1 tidb_cluster_controller.go:123] TidbCluster: test-tidb/test, sync failed TidbCluster: test-tidb/test's pd status sync failed, can't failover, requeuing
k get all如下:
[root@k8s-client tidb-operator]# kubectl get all -n test-tidb
NAME READY STATUS RESTARTS AGE
pod/test-discovery-684b5b6479-2mx4q 1/1 Running 0 13m
pod/test-monitor-6cbbbf6f77-scvz2 3/3 Running 0 13m
pod/test-pd-0 1/1 Running 2 7m23s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/test-discovery ClusterIP 10.110.83.186 <none> 10261/TCP,10262/TCP 13m
service/test-grafana NodePort 10.100.174.220 <none> 3000:31562/TCP 13m
service/test-monitor-reloader NodePort 10.100.175.42 <none> 9089:31875/TCP 13m
service/test-pd LoadBalancer 10.98.17.173 <pending> 2379:31542/TCP 13m
service/test-pd-peer ClusterIP None <none> 2380/TCP 13m
service/test-prometheus NodePort 10.107.150.199 <none> 9090:30368/TCP 13m
service/test-tidb NodePort 10.100.174.117 <none> 4000:31969/TCP,10080:31576/TCP 13m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/test-discovery 1/1 1 1 13m
deployment.apps/test-monitor 1/1 1 1 13m
NAME DESIRED CURRENT READY AGE
replicaset.apps/test-discovery-684b5b6479 1 1 1 13m
replicaset.apps/test-discovery-776c6b7f47 0 0 0 13m
replicaset.apps/test-monitor-6cbbbf6f77 1 1 1 13m
NAME READY AGE
statefulset.apps/test-pd 1/1 13m
若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。