fhuzero commented on issue #338:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/338#issuecomment-860494675


   The logs of apisix-ingress-controller is shown below (a bit ugly though).
   ```
   $ kubectl logs --selector=app=apisix-ingress-controller -n ingress-apisix
   2021-06-14T16:23:17+08:00    error  apisix/upstream.go:76   failed 
to get upstream from APISIX      {"name": "ingress-apisix_apisix-gateway_80", 
"url": "http://127.0.0.1:9080/apisix/admin/upstreams/ffd51960";, "cluster": 
"default", "error": "Get http://127.0.0.1:9080/apisix/admin/upstreams/ffd51960: 
dial tcp 127.0.0.1:9080: connect: connection refused"}
   2021-06-14T16:23:17+08:00    error  ingress/endpoint.go:141 failed 
to get upstream  {"upstream": "ingress-apisix_apisix-gateway_80", "cluster": 
"name=default; base_url=http://127.0.0.1:9080/apisix/admin";, "error": "Get 
http://127.0.0.1:9080/apisix/admin/upstreams/ffd51960: dial tcp 127.0.0.1:9080: 
connect: connection refused"}
   2021-06-14T16:23:17+08:00    warn   ingress/endpoint.go:168 sync 
endpoints failed, will retry       {"object": 
{"Type":1,"Object":{"metadata":{"name":"apisix-gateway","namespace":"ingress-apisix","uid":"3a5d055a-3d2d-4547-9949-157b9bca5db3","resourceVersion":"649","creationTimestamp":"2021-06-14T08:10:12Z","labels":{"app.kubernetes.io/instance":"apisix","app.kubernetes.io/managed-by":"Helm","app.kubernetes.io/name":"apisix","app.kubernetes.io/version":"2.6.0","helm.sh/chart":"apisix-0.3.4"},"annotations":{"endpoints.kubernetes.io/last-change-trigger-time":"2021-06-14T08:10:13Z"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-06-14T08:10:14Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:endpoints.kubernetes.io/last-change-trigger-time":{}},"f:labels":{".":{},"f:app.kubernetes.io/instance":{},"f:app.kubernetes.io/managed-by":{},"f:app.kubernetes.io/name":{},"f:app.kubernetes.io/version":{},"f:he
 
lm.sh/chart":{}}},"f:subsets":{}}}]},"subsets":[{"notReadyAddresses":[{"ip":"172.17.0.3","nodeName":"minikube","targetRef":{"kind":"Pod","namespace":"ingress-apisix","name":"apisix-6fc55984cb-ggcwz","uid":"603fc1f8-3275-46f4-9f39-0802378ad6be","resourceVersion":"646"}}],"ports":[{"name":"apisix-gateway","port":9080,"protocol":"TCP"}]}]},"Tombstone":null}}
   2021-06-14T16:23:17+08:00    error  apisix/upstream.go:76   failed 
to get upstream from APISIX      {"name": "ingress-apisix_apisix-admin_9180", 
"url": "http://127.0.0.1:9080/apisix/admin/upstreams/ff9d87bf";, "cluster": 
"default", "error": "Get http://127.0.0.1:9080/apisix/admin/upstreams/ff9d87bf: 
dial tcp 127.0.0.1:9080: connect: connection refused"}
   2021-06-14T16:23:17+08:00    error  ingress/endpoint.go:141 failed 
to get upstream  {"upstream": "ingress-apisix_apisix-admin_9180", "cluster": 
"name=default; base_url=http://127.0.0.1:9080/apisix/admin";, "error": "Get 
http://127.0.0.1:9080/apisix/admin/upstreams/ff9d87bf: dial tcp 127.0.0.1:9080: 
connect: connection refused"}
   2021-06-14T16:23:17+08:00    warn   ingress/endpoint.go:168 sync 
endpoints failed, will retry       {"object": 
{"Type":1,"Object":{"metadata":{"name":"apisix-admin","namespace":"ingress-apisix","uid":"2317c22e-a277-4af9-b3cc-247b0e0e2037","resourceVersion":"647","creationTimestamp":"2021-06-14T08:10:12Z","labels":{"app.kubernetes.io/instance":"apisix","app.kubernetes.io/managed-by":"Helm","app.kubernetes.io/name":"apisix","app.kubernetes.io/version":"2.6.0","helm.sh/chart":"apisix-0.3.4"},"annotations":{"endpoints.kubernetes.io/last-change-trigger-time":"2021-06-14T08:10:13Z"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-06-14T08:10:14Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:endpoints.kubernetes.io/last-change-trigger-time":{}},"f:labels":{".":{},"f:app.kubernetes.io/instance":{},"f:app.kubernetes.io/managed-by":{},"f:app.kubernetes.io/name":{},"f:app.kubernetes.io/version":{},"f:helm
 
.sh/chart":{}}},"f:subsets":{}}}]},"subsets":[{"notReadyAddresses":[{"ip":"172.17.0.3","nodeName":"minikube","targetRef":{"kind":"Pod","namespace":"ingress-apisix","name":"apisix-6fc55984cb-ggcwz","uid":"603fc1f8-3275-46f4-9f39-0802378ad6be","resourceVersion":"646"}}],"ports":[{"name":"apisix-admin","port":9180,"protocol":"TCP"}]}]},"Tombstone":null}}
   2021-06-14T16:23:17+08:00    error  apisix/upstream.go:76   failed 
to get upstream from APISIX      {"name": "ingress-apisix_apisix-etcd_2380", 
"url": "http://127.0.0.1:9080/apisix/admin/upstreams/d7f2bf2e";, "cluster": 
"default", "error": "Get http://127.0.0.1:9080/apisix/admin/upstreams/d7f2bf2e: 
dial tcp 127.0.0.1:9080: connect: connection refused"}
   2021-06-14T16:23:17+08:00    error  ingress/endpoint.go:141 failed 
to get upstream  {"upstream": "ingress-apisix_apisix-etcd_2380", "cluster": 
"name=default; base_url=http://127.0.0.1:9080/apisix/admin";, "error": "Get 
http://127.0.0.1:9080/apisix/admin/upstreams/d7f2bf2e: dial tcp 127.0.0.1:9080: 
connect: connection refused"}
   2021-06-14T16:23:17+08:00    warn   ingress/endpoint.go:168 sync 
endpoints failed, will retry       {"object": 
{"Type":1,"Object":{"metadata":{"name":"apisix-etcd","namespace":"ingress-apisix","uid":"a6bceedb-4a9e-495e-b652-fd056c419ece","resourceVersion":"670","creationTimestamp":"2021-06-14T08:10:12Z","labels":{"app.kubernetes.io/instance":"apisix","app.kubernetes.io/managed-by":"Helm","app.kubernetes.io/name":"etcd","helm.sh/chart":"etcd-5.2.1"},"annotations":{"endpoints.kubernetes.io/last-change-trigger-time":"2021-06-14T08:10:15Z"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-06-14T08:10:22Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:endpoints.kubernetes.io/last-change-trigger-time":{}},"f:labels":{".":{},"f:app.kubernetes.io/instance":{},"f:app.kubernetes.io/managed-by":{},"f:app.kubernetes.io/name":{},"f:helm.sh/chart":{}}},"f:subsets":{}}}]},"subsets":[{"notReadyAddresses":[{"ip":
 
"172.17.0.4","nodeName":"minikube","targetRef":{"kind":"Pod","namespace":"ingress-apisix","name":"apisix-etcd-0","uid":"273da47c-c724-44f9-bb49-a962d21f9319","resourceVersion":"666"}}],"ports":[{"name":"peer","port":2380,"protocol":"TCP"},{"name":"client","port":2379,"protocol":"TCP"}]}]},"Tombstone":null}}
   2021-06-14T16:23:17+08:00    warn   ingress/endpoint.go:93  service 
kube-system/k8s.io-minikube-hostpath was deleted
   
   ```


-- 
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]


Reply via email to