wgy-home opened a new issue #49:
URL: https://github.com/apache/apisix-helm-chart/issues/49


   # way to install
   ```shell
   git clone https://github.com/apache/apisix-helm-chart.git
   cd apisix-helm-chart/charts/apisix
   helm dependency update .
   helm install apisix . --set gateway.type=NodePort   --set 
allow.ipList="{0.0.0.0/0}"   --namespace ingress-apisix
   ```
   
   apisix image tag :  apache/apisix:2.3-alpine
   
   ## apisix error log 
   ```
   2021/03/29 08:51:52 [error] 49#49: *282942 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/plugin_metadata, context: 
ngx.timer
   2021/03/29 08:51:53 [error] 73#73: *285218 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/consumers, context: 
ngx.timer
   2021/03/29 08:51:53 [error] 51#51: *272261 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/proto, context: ngx.timer
   2021/03/29 08:51:53 [error] 43#43: *281732 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/upstreams, context: 
ngx.timer
   2021/03/29 08:51:53 [error] 45#45: *283202 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/services, context: ngx.timer
   2021/03/29 08:51:53 [error] 65#65: *277404 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/proto, context: ngx.timer
   2021/03/29 08:51:53 [error] 55#55: *284742 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/plugin_metadata, context: 
ngx.timer
   2021/03/29 08:51:53 [error] 59#59: *285624 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/upstreams, context: 
ngx.timer
   2021/03/29 08:51:53 [error] 70#70: *282262 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/global_rules, context: 
ngx.timer
   2021/03/29 08:51:53 [error] 67#67: *279198 [lua] config_etcd.lua:530: failed 
to fetch data from etcd: apisix-etcd.ingress-apisix.svc.cluster.local could not 
be resolved (3: Host not found),  etcd key: /apisix/routes, context: ngx.timer
   ```
   
   **But it can be connected through ETCDCTL.**
   
   ```
   I have no name!@apisix-etcd-0:/opt/bitnami/etcd$ etcdctl 
--endpoints=apisix-etcd.ingress-apisix.svc.cluster.local:2379 put /test  apisix 
   OK
   I have no name!@apisix-etcd-0:/opt/bitnami/etcd$ etcdctl 
--endpoints=apisix-etcd.ingress-apisix.svc.cluster.local:2379 get /test  apisix 
   /test
   apisix
   ```
   
   Help me, Thanks!


-- 
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:
[email protected]


Reply via email to