apisix-ingress-controller
apisix-ingress-controller copied to clipboard
bug: failed to list routes: Get http://apisix-admin:9180/apisix/admin/routes: context canceled
Issue description

Environment
rancher k3s

Minimal test code / Steps to reproduce the issue
尝试修改代码可以修复

还有一个问题由于stream结构问题,导致json解析失败
error apisix/upstream.go:121 failed to convert upstream item
这里的结构体是数组,但是返回的json是map

Welcome to submit a PR to fix it
欢迎提交 PR 修复
好的,我修复提交下
It seems to be a known issue, apisix-ingress must be run after apisix is successfully started. ref: https://github.com/apache/apisix-ingress-controller/pull/660
apisix-ingress-controller:1.2.0
apisix:2.9

同样问题,apisix接口200 apisix-ingress-controller 异常
找到了问题了,我使用了apisix-dashboard 2.8 手动创建了资源,将其删掉后apisix-ingress-controller恢复正常
找到了问题了,我使用了apisix-dashboard 2.8 手动创建了资源,将其删掉后apisix-ingress-controller恢复正常
so what is the reall problem?
related to https://github.com/apache/apisix-ingress-controller/pull/774
Follow the guide of https://apisix.apache.org/zh/docs/helm-chart/apisix-ingress-controller/
Also throw Get http://apisix-admin:9180/apisix/admin/routes: context canceled
Just change https://github.com/apache/apisix-ingress-controller/blob/master/conf/config-default.yaml#L100C12-L100C12 from v2 to v3, and apisix-ingresscontroller works well