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 happened:
I get 404 from ingress controller if exposed deployment doesn't have endpoints.
What you expected to happen:
It should return 503 I think.
How to reproduce it (as minimally and precisely as possible):
create deployment
expose it as a service
create ingress
scale deployment to 0
curl -v INGRESS_URL
Anything else we need to know:
Looks like this condition evaluates to true. But I think it shouldn't.
This is part of generated nginx.conf for the resource:
proxy_http_version 1.1;
proxy_cookie_domain off;
proxy_cookie_path off;
# In case of errors try the next upstream server before returning an error
proxy_next_upstream error timeout invalid_header http_502 http_503 http_504;
proxy_pass http://upstream-default-backend;
}
I think there should be return 503; instead of proxy_pass http://upstream-default-backend;.
The text was updated successfully, but these errors were encountered:
NGINX Ingress controller version: 0.9.0-beta.15
Kubernetes version (use
kubectl version
): v1.7.6Environment:
What happened:
I get 404 from ingress controller if exposed deployment doesn't have endpoints.
What you expected to happen:
It should return 503 I think.
How to reproduce it (as minimally and precisely as possible):
curl -v INGRESS_URL
Anything else we need to know:
Looks like this condition evaluates to true. But I think it shouldn't.
This is part of generated
nginx.conf
for the resource:I think there should be
return 503;
instead ofproxy_pass http://upstream-default-backend;
.The text was updated successfully, but these errors were encountered: