tb51cx commented on issue #252:
URL: 
https://github.com/apache/apisix-helm-chart/issues/252#issuecomment-1064765149


   
排查了一下,比较奇怪。应该是apisix-ingress-controller不能解析DNS的问题导致的。但是其他非APISIX的pod是可以解析NDS的。
   
   因为apisix-ingress-controller 没有拉起来,所以我用了apisix pod 检测
   kubectl exec apisix-ccdc7d58d-rvgnt  -n ingress-apisix nslookup  
apisix-admin.ingress-apisix.svc.cluster.local    
   kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future 
version. Use kubectl exec [POD] -- [COMMAND] instead.
   Server:         169.254.20.10
   Address:        169.254.20.10:53
   
   ** server can't find apisix-admin.ingress-apisix.svc.cluster.local: SERVFAIL
   
   ** server can't find apisix-admin.ingress-apisix.svc.cluster.local: SERVFAIL
   
   
   我自己启了一个busybox做以下测试,可以得到apisix-gateway 的IIP地址
   kubectl exec busybox nslookup apisix-admin.ingress-apisix.svc.cluster.local  
                                 
   kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future 
version. Use kubectl exec [POD] -- [COMMAND] instead.
   Server:    169.254.20.10
   Address 1: 169.254.20.10
   
   Name:      apisix-admin.ingress-apisix.svc.cluster.local
   Address 1: 10.68.106.255 apisix-admin.ingress-apisix.svc.cluster.local
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to