apisix-helm-chart
apisix-helm-chart copied to clipboard
Dashboard: etcd get failed: context deadline exceeded
install apisix-dashboard fail
- kubectl logs -f apisix-1640139056-dashboard-5fd969bb68-8wn54
{"level":"warn","ts":"2021-12-22T06:40:48.661Z","caller":"clientv3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"endpoint://client-b77a05e9-2b2b-499a-8974-faa58ca6f513/apisix-etcd:2379","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp: lookup apisix-etcd on 10.96.0.10:53: no such host\""}
2021-12-22T06:40:48.662Z ERROR storage/etcd.go:147 etcd get failed: context deadline exceeded
2021-12-22T06:40:48.662Z ERROR store/storehub.go:69 GenericStore init error: etcd get failed: context deadline exceeded
2021-12-22T06:40:48.662Z ERROR server/store.go:32 init stores fail: %!w(*errors.errorString=&{etcd get failed: context deadline exceeded})
2021-12-22T06:40:48.662Z ERROR cmd/root.go:99 The Manager API server start failed: etcd get failed: context deadline exceeded
Error: etcd get failed: context deadline exceeded
Usage:
manager-api [flags]
manager-api [command]
Available Commands:
help Help about any command
install re-install Apache APISIX Dashboard service
remove remove Apache APISIX Dashboard service
start start Apache APISIX Dashboard service
status inspect the status of Apache APISIX Dashboard service
stop stop Apache APISIX Dashboard service/program
version show manager-api version
Flags:
-c, --config string config file
-f, --force force start manager-api
-h, --help help for manager-api
-p, --work-dir string current work directory (default ".")
Use "manager-api [command] --help" for more information about a command.
etcd get failed: context deadline exceeded
what's your install commands?
it's happens on me~
The helm install commands: helm install apisix . -n apisix
This is my values.yaml config pre-installed etcd cluster
etcd: enabled: false host: - http://etcd.etcd.svc.cluster.local:2379 prefix: "/apisix" timeout: 30 auth: rbac: # No authentication by default enabled: false user: "" password: "" tls: enabled: false existingSecret: "" certFilename: "" certKeyFilename: "" verify: true sni: "" service: port: 2379 replicaCount: 3
And my etcd-cluster is health~
请问这个问题是如何解决的
@huangzx3 请问这个问题如何解决的?