Skip to content
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

Ingress Default Backend doesn't know JSON #80

Closed
BugRoger opened this issue Oct 26, 2017 · 4 comments · Fixed by #104
Closed

Ingress Default Backend doesn't know JSON #80

BugRoger opened this issue Oct 26, 2017 · 4 comments · Fixed by #104
Assignees

Comments

@BugRoger
Copy link
Contributor

Implement a default backend for the nginx-ingress that speaks html and json. This is required for various clients to be able to detect and report an error.

@auhlig
Copy link
Member

auhlig commented Oct 27, 2017

This might do the trick https://github.com/kubernetes/ingress-nginx/tree/master/images/custom-error-pages. Gets the format from the request and responds accordingly.

@auhlig auhlig self-assigned this Nov 8, 2017
@auhlig
Copy link
Member

auhlig commented Nov 8, 2017

Replaced by custom backend that knows JSON and HTTP. Backend will respond accordingly. Which errors are handled by the backend has to be configured in the ingress cm. Done this for 404, 500 errors. Can we close the issue?
EDIT: Currently rolled out to admin cluster. Do we want this everywhere?

@databus23
Copy link
Member

We want this in all kubernikus control planes. Has this already happend? /cc @auhlig

@auhlig
Copy link
Member

auhlig commented Nov 16, 2017

Just admin cluster for now. I'll roll this out to the other regions today and close this issue afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants