vincenthcui opened a new issue #365:
URL: https://github.com/apache/apisix-ingress-controller/issues/365
### Issue description
### Environment
* your apisix-ingress-controller version (output of
`apisix-ingress-controller version --long`);
```
Version: 0.4.0
Git SHA: d94117e
Go Version: go1.13.8
Building OS/Arch: linux/amd64
Running OS/Arch: linux/amd64
```
* your Kubernetes cluster version (output of `kubectl version`);
```
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.4",
GitCommit:"c96aede7b5205121079932896c4ad89bb93260af", GitTreeState:"clean",
BuildDate:"2020-06-17T11:41:22Z", GoVersion:"go1.13.9", Compiler:"gc",
Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+",
GitVersion:"v1.18.4-tke.6",
GitCommit:"194201819cf1e5cf45d38f72ce1aac9efca4c7ff", GitTreeState:"clean",
BuildDate:"2020-12-29T09:13:24Z", GoVersion:"go1.15.6", Compiler:"gc",
Platform:"linux/amd64"}
```
* if you run apisix-ingress-controller in Bare-metal environment, also show
your OS version (`uname -a`).
run in k8s, installed by helm chart
### Minimal test code / Steps to reproduce the issue
1. insatll apisix + apisix-ingress-controller + apisix-dashboard by helm
chart
2. expose dashboard under apisix ingress controller
```yaml
apisix-dashboard:
service:
type: NodePort
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: apisix
hosts:
- host: bashboard.apisix.local
paths:
- /
```
### What's the actual result? (including assertion message & call stack if
applicable)
ingress can NOT handle ingress
```
2021-04-13T16:52:30+08:00 warn apisix/upstream.go:114 upstream not found
{"fullname": "gateway_apisix-gateway_80", "url":
"http://apisix-admin:9180/apisix/admin/upstreams/a163a0c0", "cluster": ""}
2021-04-13T16:52:30+08:00 warn controller/endpoint.go:135 upstream is not
referenced {"cluster": "name=; base_url=http://apisix-admin:9180/apisix/admin",
"upstream": "gateway_apisix-gateway_80"}
2021-04-13T16:52:30+08:00 warn apisix/upstream.go:114 upstream not found
{"fullname": "gateway_apisix-apisix-dashboard_80", "url":
"http://apisix-admin:9180/apisix/admin/upstreams/61396ef7", "cluster": ""}
2021-04-13T16:52:30+08:00 warn controller/endpoint.go:135 upstream is not
referenced {"cluster": "name=; base_url=http://apisix-admin:9180/apisix/admin",
"upstream": "gateway_apisix-apisix-dashboard_80"}
2021-04-13T16:52:30+08:00 warn apisix/upstream.go:114 upstream not found
{"fullname": "gateway_apisix-admin_9180", "url":
"http://apisix-admin:9180/apisix/admin/upstreams/a12b3e1f", "cluster": ""}
2021-04-13T16:52:30+08:00 warn controller/endpoint.go:135 upstream is not
referenced {"cluster": "name=; base_url=http://apisix-admin:9180/apisix/admin",
"upstream": "gateway_apisix-admin_9180"}
2021-04-13T16:52:30+08:00 warn apisix/upstream.go:114 upstream not found
{"fullname": "gateway_apisix-etcd-headless_2380", "url":
"http://apisix-admin:9180/apisix/admin/upstreams/d6d82816", "cluster": ""}
2021-04-13T16:52:30+08:00 warn controller/endpoint.go:135 upstream is not
referenced {"cluster": "name=; base_url=http://apisix-admin:9180/apisix/admin",
"upstream": "gateway_apisix-etcd-headless_2380"}
2021-04-13T16:52:30+08:00 warn apisix/upstream.go:114 upstream not found
{"fullname": "gateway_apisix-etcd-headless_2379", "url":
"http://apisix-admin:9180/apisix/admin/upstreams/289c8c7d", "cluster": ""}
2021-04-13T16:52:30+08:00 warn controller/endpoint.go:135 upstream is not
referenced {"cluster": "name=; base_url=http://apisix-admin:9180/apisix/admin",
"upstream": "gateway_apisix-etcd-headless_2379"}
2021-04-13T16:52:30+08:00 warn apisix/upstream.go:114 upstream not found
{"fullname": "gateway_apisix-etcd_2380", "url":
"http://apisix-admin:9180/apisix/admin/upstreams/bfb21156", "cluster": ""}
2021-04-13T16:52:30+08:00 warn controller/endpoint.go:135 upstream is not
referenced {"cluster": "name=; base_url=http://apisix-admin:9180/apisix/admin",
"upstream": "gateway_apisix-etcd_2380"}
2021-04-13T16:52:30+08:00 warn apisix/upstream.go:114 upstream not found
{"fullname": "gateway_apisix-etcd_2379", "url":
"http://apisix-admin:9180/apisix/admin/upstreams/41f6b53d", "cluster": ""}
2021-04-13T16:52:30+08:00 warn controller/endpoint.go:135 upstream is not
referenced {"cluster": "name=; base_url=http://apisix-admin:9180/apisix/admin",
"upstream": "gateway_apisix-etcd_2379"}
2021-04-13T16:52:30+08:00 warn apisix/upstream.go:114 upstream not found
{"fullname": "gateway_apisix-apisix-ingress-controller_80", "url":
"http://apisix-admin:9180/apisix/admin/upstreams/8dfee04a", "cluster": ""}
2021-04-13T16:52:30+08:00 warn controller/endpoint.go:135 upstream is not
referenced {"cluster": "name=; base_url=http://apisix-admin:9180/apisix/admin",
"upstream": "gateway_apisix-apisix-ingress-controller_80"}
2021-04-13T16:54:46+08:00 warn controller/ingress.go:107 ingress
gateway/apisix-apisix-dashboard (group version: extensions/v1beta1) was deleted
before it can be delivered
```
### What's the expected result?
handle ingress route rules and sign ExternalIP
--
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]