apisix-ingress-controller icon indicating copy to clipboard operation
apisix-ingress-controller copied to clipboard

request help: 如果service包含多个端口,但是apisixroute的backends并没有指定该service的全部端口时,apisixupstream会出现NotFound的报错

Open Tanc010 opened this issue 8 months ago • 1 comments

Issue description

Image 参考上面的代码,如果apisixroute没有referencing service的某些端口,则会报错“upstream doesn't exist. It will be created after ApisixRoute is created referencing it”。

Environment

  • your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
  • your Kubernetes cluster version (output of kubectl version):
  • if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):

Tanc010 avatar Apr 07 '25 09:04 Tanc010

我也出现了,upstraem配置总是找不到端口,删了之前的配置一致性也有问题,一直在刷新以前的配置

ZaynJiang avatar Apr 07 '25 13:04 ZaynJiang

This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Jul 07 '25 01:07 github-actions[bot]

Hi @Tanc010 @ZaynJiang , this part has been refactored in the new version. Can you verify it using the latest version?

Baoyuantop avatar Aug 06 '25 04:08 Baoyuantop

If there is still a problem, please open it again.

Baoyuantop avatar Aug 08 '25 06:08 Baoyuantop