You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/06/28 08:12:22 UTC

[GitHub] [apisix-ingress-controller] Caelebs commented on issue #561: request help: How to configure Ingress to make browser requests reach the backend through Ingress

Caelebs commented on issue #561:
URL: https://github.com/apache/apisix-ingress-controller/issues/561#issuecomment-869471729


   I checked the log of apisix-ingress-controller, nothing seems to be relevant, it seems that the request did not enter the apisix-ingress-controller? But I found that in the apisix logs, there are always prompting some logs that the upstream service can't find. @tao12345666333 
   
   ```
   [GIN] 2021/06/28 - 16:08:39 | 200 |     157.244µs |       10.0.2.15 | GET      "/healthz"
   2021-06-28T16:08:40+08:00       info    ingress/endpoint.go:94  service kube-system/kube-controller-manager not found
   2021-06-28T16:08:40+08:00       info    ingress/endpoint.go:94  service kube-system/kube-scheduler not found
   2021-06-28T16:08:42+08:00       info    ingress/endpoint.go:94  service kube-system/kube-controller-manager not found
   2021-06-28T16:08:42+08:00       info    ingress/endpoint.go:94  service kube-system/kube-scheduler not found
   E0628 16:08:43.423466       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.20.2/tools/cache/reflector.go:167: Failed to watch *v2alpha1.ApisixConsumer: failed to list *v2alpha1.ApisixConsumer: apisixconsumers.apisix.apache.org is forbidden: User "system:serviceaccount:apisix-ws:apisix-ingress-controller" cannot list resource "apisixconsumers" in API group "apisix.apache.org" at the cluster scope
   2021-06-28T16:08:44+08:00       info    ingress/endpoint.go:94  service kube-system/kube-controller-manager not found
   2021-06-28T16:08:44+08:00       info    ingress/endpoint.go:94  service kube-system/kube-scheduler not found
   [GIN] 2021/06/28 - 16:08:44 | 200 |      71.466µs |       10.0.2.15 | GET      "/healthz"
   E0628 16:08:45.926526       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.20.2/tools/cache/reflector.go:167: Failed to watch *v2alpha1.ApisixClusterConfig: failed to list *v2alpha1.ApisixClusterConfig: apisixclusterconfigs.apisix.apache.org is forbidden: User "system:serviceaccount:apisix-ws:apisix-ingress-controller" cannot list resource "apisixclusterconfigs" in API group "apisix.apache.org" at the cluster scope
   2021-06-28T16:08:46+08:00       info    ingress/endpoint.go:94  service kube-system/kube-scheduler not found
   2021-06-28T16:08:46+08:00       info    ingress/endpoint.go:94  service kube-system/kube-controller-manager not found
   ```
   ```
   179.10.154.11 - - [28/Jun/2021:16:07:00 +0800] apisix-admin:9180 "GET /apisix/admin/upstreams/492780d HTTP/1.1" 404 39 0.001 "-" "Go-http-client/1.1" - - - "http://apisix-admin:9180"
   179.10.154.11 - - [28/Jun/2021:16:07:00 +0800] apisix-admin:9180 "GET /apisix/admin/upstreams/74f88c82 HTTP/1.1" 404 39 0.001 "-" "Go-http-client/1.1" - - - "http://apisix-admin:9180"
   179.10.154.11 - - [28/Jun/2021:16:10:00 +0800] apisix-admin:9180 "GET /apisix/admin/upstreams/e4db1bcd HTTP/1.1" 404 39 0.015 "-" "Go-http-client/1.1" - - - "http://apisix-admin:9180"
   179.10.154.11 - - [28/Jun/2021:16:10:00 +0800] apisix-admin:9180 "GET /apisix/admin/upstreams/492780d HTTP/1.1" 404 39 0.004 "-" "Go-http-client/1.1" - - - "http://apisix-admin:9180"
   179.10.154.11 - - [28/Jun/2021:16:10:00 +0800] apisix-admin:9180 "GET /apisix/admin/upstreams/74f88c82 HTTP/1.1" 404 39 0.008 "-" "Go-http-client/1.1" - - - "http://apisix-admin:9180"
   ```
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org