You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
nginx ingress path
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
When trying to get the nginx ingress to use a different service for a given path, I expect it to generate the backend definition and location config in the nginx config file.
This does not happen.
NGINX Ingress controller version: 0.9.0-beta.13
Kubernetes version (use kubectl version): Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.8", GitCommit:"d74e09bb4e4e7026f45becbed8310665ddcb8514", GitTreeState:"clean", BuildDate:"2017-08-03T18:01:01Z", GoVersion:"go1.7.6", Compiler:"gc", Platform:"linux/amd64"}
Environment:
Cloud provider or hardware configuration: AWS
Install tools: kops
What happened:
I add another backend to an ingress, to drive traffic for a path to a different service.
When tested, traffic hits the default backend, not the service.
What you expected to happen:
Expected the traffic to go to the configured serviceName on the servicePort, not to hit the default (404) backend.
How to reproduce it (as minimally and precisely as possible):
Then try to reach the otherservice by hitting my-hostname.example.com/otherpath - you will only reach the upstream-default-backend and get a 404 error.
I'll double check the logs, presumably the nginx logs, but as I recall from earlier, there's only the 404, from hitting the default back end.
Related to this, I can hit the service direct, and it works just fine.
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
nginx ingress path
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
When trying to get the nginx ingress to use a different service for a given
path
, I expect it to generate the backend definition and location config in the nginx config file.This does not happen.
NGINX Ingress controller version:
0.9.0-beta.13
Kubernetes version (use
kubectl version
):Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.8", GitCommit:"d74e09bb4e4e7026f45becbed8310665ddcb8514", GitTreeState:"clean", BuildDate:"2017-08-03T18:01:01Z", GoVersion:"go1.7.6", Compiler:"gc", Platform:"linux/amd64"}
Environment:
kops
What happened:
I add another
backend
to an ingress, to drive traffic for a path to a different service.When tested, traffic hits the default backend, not the service.
What you expected to happen:
Expected the traffic to go to the configured
serviceName
on theservicePort
, not to hit the default (404
) backend.How to reproduce it (as minimally and precisely as possible):
Set up an ingress with config similar to:
Then try to reach the
otherservice
by hittingmy-hostname.example.com/otherpath
- you will only reach theupstream-default-backend
and get a404
error.Anything else we need to know:
The 'otherservice' is an ExternalName Service - as per https://kubernetes.io/docs/concepts/services-networking/service/#services-without-selectors - which appears to be why it's not working as expected
The text was updated successfully, but these errors were encountered: