rayw000 opened a new issue, #341: URL: https://github.com/apache/apisix-helm-chart/issues/341
I tried to install apisix with external etcd (http://apisix-etcd.<namespace>.svc.cluster.local:2379) ```shell helm -n <namespace> install apisix apisix/apisix -f values.yaml ``` but got failed. The `etcd` section in my `values.yaml` is as follows. ```yaml # etcd configuration # use the FQDN address or the IP of the etcd etcd: # install etcd(v3) by default, set false if do not want to install etcd(v3) together enabled: false host: # host or ip e.g. http://172.20.128.89:2379 - "http://apisix-etcd.<namespace>.svc.cluster.local:2379" prefix: "/apisix" timeout: 30 # if etcd.enabled is true, set more values of bitnami/etcd helm chart auth: rbac: # No authentication by default create: false user: "<username>" password: "<password>" tls: enabled: false existingSecret: "" certFilename: "" certKeyFilename: "" verify: true sni: "" service: port: 2379 ``` The logs of `apisix-xxxxxx-yyyyyy` are ``` /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd Warning! Request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused, retry time=1 request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused all etcd nodes are unavailable Warning! Request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused, retry time=2 ``` Seems the `etcd.host` field was not working, even if I appended `--set etcd.host=http://apisix-etcd.<namespace>.svc.cluster.local:2379` when installing. -- 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]
