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 2022/10/31 07:05:54 UTC

[GitHub] [apisix] stubbornTanzhe commented on issue #7100: request help: apisix doesn't support etcd ipv6 endpoints

stubbornTanzhe commented on issue #7100:
URL: https://github.com/apache/apisix/issues/7100#issuecomment-1296669922

   pay close attention to this issue.
   with my env, apisix deploy yaml and etcd yaml config by ipv6 address: 
   ```
   spec:
     ipFamilyPolicy: SingleStack
     ipFamilies:
     - IPv6
   ```
   and my apisix pod logs:
   ```
   Warning! Request etcd endpoint 'http://etcd-0.etcd-headless.apisix.svc.cluster.local:2379/version' error, host or service not provided, or not known, retry time=1
   request etcd endpoint 'http://etcd-0.etcd-headless.apisix.svc.cluster.local:2379/version' error, host or service not provided, or not known
   request etcd endpoint 'http://etcd-1.etcd-headless.apisix.svc.cluster.local:2379/version' error, host or service not provided, or not known
   request etcd endpoint 'http://etcd-2.etcd-headless.apisix.svc.cluster.local:2379/version' error, host or service not provided, or not known
   ```
   which curl etcd is success:
   ```
   curl http://etcd-0.etcd-headless.apisix.svc.cluster.local:2379/version
   {"etcdserver":"3.5.4","etcdcluster":"3.5.0"}
   curl http://etcd-1.etcd-headless.apisix.svc.cluster.local:2379/version
   {"etcdserver":"3.5.4","etcdcluster":"3.5.0"}
   curl http://etcd-2.etcd-headless.apisix.svc.cluster.local:2379/version
   {"etcdserver":"3.5.4","etcdcluster":"3.5.0"}
   ```


-- 
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: notifications-unsubscribe@apisix.apache.org

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