martin-schulze-e2m opened a new issue, #2267:
URL: https://github.com/apache/apisix-ingress-controller/issues/2267
### 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:
```
apiVersion: apisix.apache.org/v2
kind: ApisixUpstream
metadata:
name: bitter
spec:
timeout:
read: 180s
```
```
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: bitter
spec:
http:
- backends:
- serviceName: bitter
servicePort: 80
match:
hosts:
- bitter.test
paths:
- /*
name: route-open
```
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 Upstream `default_bitter_80` because K8s forbids
`_`, so how am I supposed to get this to match?
### Desired State
Describe how one can configure the autogenerated upstream from a backend
route.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]