You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/29 08:38:02 UTC

[GitHub] [apisix] tokers commented on issue #2533: request help: failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed

tokers commented on issue #2533:
URL: https://github.com/apache/apisix/issues/2533#issuecomment-718481376


   > @gxthrj please help me to confirm if the APISIX can support this resolver for k8s ENV.
   > 
   > ```
   > bash-5.0# cat /etc/resolv.conf 
   > nameserver 172.21.0.10
   > search apisix.svc.cluster.local svc.cluster.local cluster.local
   > options ndots:5
   > ```
   > 
   > especially about `search apisix.svc.cluster.local svc.cluster.local cluster.local`, I am not sure for this.
   
   The search option is the root cause that we can use the short name instead of the FQDN to communicate with a Service. We can support to use short name and respect the /etc/resolv.conf but FQDN is more semantic and unambiguous.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org