lianghao208 commented on issue #211:
URL:
https://github.com/apache/apisix-ingress-controller/issues/211#issuecomment-767961519
@tokers I just configured the pod ip:port of apisix gateway, the controller
log shows as follow:
```bash
[root@VM-187-41-centos ~]# kc logs ingress-controller-79dbd87678-vvf8t -n
ingress-apisix
2021-01-27T10:03:23+08:00 info ingress/ingress.go:81 apisix ingress
controller started
2021-01-27T10:03:23+08:00 info ingress/ingress.go:87 use
configuration
{
"log_level": "info",
"log_output": "stderr",
"http_listen": ":8080",
"enable_profiling": true,
"kubernetes": {
"kubeconfig": "",
"resync_interval": "6h0m0s"
},
"apisix": {
"base_url": "http://192.168.10.8:9080/apisix/admin",
"admin_key": ""
}
}
ERROR: logging before flag.Parse: E0127 10:03:35.200590 1
upstream.go:27] list upstreams in etcd failed, group: , err: http get failed,
url: http://192.168.10.8:9080/apisix/admin/upstreams, err: status: 404, body:
{"error_msg":"404 Route Not Found"}
ERROR: logging before flag.Parse: E0127 10:03:35.200608 1
builder.go:154] solver upstream failed, find upstream from etcd failed,
upstream: &{ID:<nil> FullName:0xc000635ff0 Group:0xc000635f60
ResourceVersion:0xc000635f70 Name:0xc000635fc0 Type:0xc0004d2000 HashOn:<nil>
Key:<nil> Nodes:[0xc0002275a0] FromKind:<nil>}, err: list upstreams failed,
err: http get failed, url: http://192.168.10.8:9080/apisix/admin/upstreams,
err: status: 404, body: {"error_msg":"404 Route Not Found"}
ERROR: logging before flag.Parse: E0127 10:03:35.200909 1
upstream.go:27] list upstreams in etcd failed, group: , err: http get failed,
url: http://192.168.10.8:9080/apisix/admin/upstreams, err: status: 404, body:
{"error_msg":"404 Route Not Found"}
ERROR: logging before flag.Parse: E0127 10:03:35.200920 1
builder.go:154] solver upstream failed, find upstream from etcd failed,
upstream: &{ID:<nil> FullName:0xc0004d20d0 Group:0xc0004d2040
ResourceVersion:0xc0004d2050 Name:0xc0004d20a0 Type:0xc0004d20e0 HashOn:<nil>
Key:<nil> Nodes:[0xc000227660] FromKind:<nil>}, err: list upstreams failed,
err: http get failed, url: http://192.168.10.8:9080/apisix/admin/upstreams,
err: status: 404, body: {"error_msg":"404 Route Not Found"}
```
----------------------------------------------------------------
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]