Open wangchao732 opened 8 months ago
kubectl exec -i -t dnsutils -- nslookup apisix-etcd.apisix.svc.cluster.local Server: 192.168.0.3 Address: 192.168.0.3#53
Name: apisix-etcd.apisix.svc.cluster.local Address: 192.168.47.138
kubectl exec -i -t dnsutils -- nslookup apisix-etcd.apisix.svc.cluster.local Server: 192.168.0.3 Address: 192.168.0.3#53
Name: apisix-etcd.apisix.svc.cluster.local Address: 192.168.47.138
kubectl get svc --namespace=apisix
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
apisix-admin ClusterIP 192.168.17.140
Description
/usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init
WARNING: using fixed Admin API token has security risk. Please modify "admin_key" in conf/config.yaml . /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd request etcd endpoint 'http://apisix-etcd.apisix.svc.cluster.local:2379/version' error, Operation already in progress all etcd nodes are unavailable Warning! Request etcd endpoint 'http://apisix-etcd.apisix.svc.cluster.local:2379/version' error, Operation already in progress, retry time=1 Warning! Request etcd endpoint 'http://apisix-etcd.apisix.svc.cluster.local:2379/version' error, Operation already in progress, retry time=2
etcd is ready.
etcd-9.7.3
Environment
NAME READY STATUS RESTARTS AGE apisix-899647f7f-qn7fz 0/1 CrashLoopBackOff 254 (4m36s ago) 22h apisix-dashboard-5dc8484769-zrk67 1/1 Running 4 (21h ago) 22h apisix-etcd-0 1/1 Running 0 22h apisix-ingress-controller-589757b9f9-xfb9f 0/1 Init:0/1 0 22h
on k8s node run curl apisix-etcd.apisix.svc.cluster.local:2379/version {"etcdserver":"3.5.10","etcdcluster":"3.5.0"}