-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autogenerated upstream from (service) backend does not match name from CRD: upstream doesn't exist #2267
Comments
I deleted the upstream and upgraded the helm chart that creates both route and upstream. Still the same error despite the route existing before the upstream. I am also wondering how the matching should work, considering that the full upstream name contains the port number but the upstream CRD does not. |
I reproduced this on a local test cluster with
However, as I said, the actual upstream name is Please note that I am relying on the bitnami chart version 3.3.9. With this I also think that this is not a docs issue (though the docs around this could be improved) but an actual bug. This used to work with APISIX 3.5.0 (from bitnami chart version 2.1.1) |
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. |
I would still like to get this working as it prevents upgrades. |
I'm having the same issue. ApisixUpstream is not working in the latest version. |
any updates? @renanramonh |
Current State
I could find no documentation about how to do this. My understanding was, that the upstream should be named the same as the referenced service and be in the same namespace but I still get:
ApisixIngress synced failed, with error: upstream doesn't exist. It will be created after ApisixRoute is created referencing it.
For a concrete example:
I can see that this backend creates an upstream called
default_bitter_80
but the upstream config is not applied (as told by the error message). Similarly, I can't name the Upstreamdefault_bitter_80
because K8s forbids_
, so how am I supposed to get this to match?Update
When I tried to use another name I get the error message
ApisixIngress synced failed, with error: service "bitter--80" not found
, so it seems the name was right but the upstream was still not matchedAPISIX Version: 3.9.1
Desired State
Describe how one can configure the autogenerated upstream from a backend route.
The text was updated successfully, but these errors were encountered: