2023-02-27T16:44:46+08:00 error apisix/route.go:118 failed to list routes: Get "http://apisix-admin.minum.svc.cluster.local:9180/apisix/admin/routes": dial tcp: lookup apisix-admin.minum.svc.cluster.local: i/o timeout
2023-02-27T16:44:46+08:00 error apisix/cluster.go:222 failed to list routes in APISIX: Get "http://apisix-admin.minum.svc.cluster.local:9180/apisix/admin/routes": dial tcp: lookup apisix-admin.minum.svc.cluster.local: i/o timeout
2023-02-27T16:44:51+08:00 error apisix/route.go:118 failed to list routes: Get "http://apisix-admin.minum.svc.cluster.local:9180/apisix/admin/routes": dial tcp: lookup apisix-admin.minum.svc.cluster.local: i/o timeout
2023-02-27T16:44:51+08:00 error apisix/cluster.go:222 failed to list routes in APISIX: Get "http://apisix-admin.minum.svc.cluster.local:9180/apisix/admin/routes": dial tcp: lookup apisix-admin.minum.svc.cluster.local: i/o timeout
In apisix-ingress-controller :
/ingress-apisix # ping mysql-svc.minum.svc.cluster.local
ping: bad address 'mysql-svc.minum.svc.cluster.local'
/ingress-apisix # ping mysql-svc
PING mysql-svc (10.96.0.167): 56 data bytes
64 bytes from 10.96.0.167: seq=0 ttl=64 time=0.061 ms
64 bytes from 10.96.0.167: seq=1 ttl=64 time=0.054 ms
In another pod:
[root@nacos-0 nacos]# ping mysql-svc
PING mysql-svc.minum.svc.cluster.local (10.96.0.167) 56(84) bytes of data.
64 bytes from mysql-svc.minum.svc.cluster.local (10.96.0.167): icmp_seq=1 ttl=64 time=0.038 ms
^C
--- mysql-svc.minum.svc.cluster.local ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.038/0.038/0.038/0.000 ms
[root@nacos-0 nacos]# ping mysql-svc.minum.svc.cluster.local
PING mysql-svc.minum.svc.cluster.local (10.96.0.167) 56(84) bytes of data.
64 bytes from mysql-svc.minum.svc.cluster.local (10.96.0.167): icmp_seq=1 ttl=64 time=0.044 ms
64 bytes from mysql-svc.minum.svc.cluster.local (10.96.0.167): icmp_seq=2 ttl=64 time=0.041 ms
Current Behavior
First, logs below:
In apisix-ingress-controller :
In another pod:
Expected Behavior
No timeout.
Error Logs
No response
Steps to Reproduce
1.Install apisix with helm. values:
Environment
Ingress: Version: 1.6.0 Git SHA: no-git-module Go Version: go1.19.4 Building OS/Arch: linux/amd64 Running OS/Arch: linux/amd64
k8s: Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:38:15Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}