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

Ability to provide custom HTML response for 5xx errors #5196

Closed
oliverkane opened this issue Mar 17, 2023 · 3 comments
Closed

Ability to provide custom HTML response for 5xx errors #5196

oliverkane opened this issue Mar 17, 2023 · 3 comments
Labels
kind/question Categorizes an issue as a user question. lifecycle/needs-triage Indicates that an issue needs to be triaged by a project contributor.

Comments

@oliverkane
Copy link

What question do you have?:
Ability to provide custom HTML response for 5xx errors

Anything else you would like to add:
We are currently using Project Contour as our Kubernetes ingress controller and have encountered a scenario where we would like to provide a custom HTML response for 5xx errors. We understand that 5xx errors occur when there is a failure for the ingress controller to get information from the upstream, and this is a common scenario that we want to prepare for.

However, we have found that there doesn't appear to be a simple mechanism to provide a custom HTML response for these errors in Project Contour. If we were using an external Load Balancer, we could specify such a static response.

We would greatly appreciate it if the Project Contour team could provide clarity on whether this desirable use case is possible within the existing architecture of the project, and if not, if there are any plans to add such a feature in the future.

Thank you for your time and efforts in maintaining this project.

Environment:
-latest and greatest everything (recently from scratch, multiple environments, eg, kind, minikube, EKS, microk8s), new ubuntu 22.04 vms.

@oliverkane oliverkane added kind/question Categorizes an issue as a user question. lifecycle/needs-triage Indicates that an issue needs to be triaged by a project contributor. labels Mar 17, 2023
@github-actions
Copy link

Hey @oliverkane! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Contour. You can also join us on our mailing list and in our channel in the Kubernetes Slack Workspace

@skriss
Copy link
Member

skriss commented Mar 21, 2023

Hey @oliverkane, this looks like a duplicate of #320, would you agree? If so, we can continue the conversation there.

@oliverkane
Copy link
Author

Looks like that's a dupe. I'll circle over there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Categorizes an issue as a user question. lifecycle/needs-triage Indicates that an issue needs to be triaged by a project contributor.
Projects
None yet
Development

No branches or pull requests

2 participants