apisix-ingress-controller
apisix-ingress-controller copied to clipboard
request help: port not defined
Issue description
When we try to update APISIXRoute CRD,the ingress controller report the error like this:
It looks like this problem only appears when we try to update/delete ports, it works fine with adding new ports.
The steps as followed:
-
We first define two ports, 8080 and 8081
The ingress controller create two upstreams correctly
-
change port 8081 to 8083
The error appears: service.spec.ports: port not defined
Environment
- your apisix-ingress-controller version (output of apisix-ingress-controller version --long): 1.4.1
Please paste CR configuration YAML directly instead of images.
This makes it easier for others to reproduce the problem
我也遇到过类似的问题,如果svc的port变化了,同步更新apisixroute的话就会出现这个问题,我这边的解决办法是如果port端口发生变化,我会删掉旧的apisixtroute 然后重新创建新的apisixroute
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.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.