-
Notifications
You must be signed in to change notification settings - Fork 354
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
Custom error page #3420
Comments
Hello. skipper/dataclients/kubernetes/kube.go Lines 457 to 472 in 2ddf741
I think we've considered once to preserve user-defined filters #2021 but then decided not to. |
Thank you for your answer @AlexanderYastrebov . It's also not entirely clear to me whether I would be able to achieve the behavior I want with RouteGroups? |
Since shuntRoute function overwrites user-defined filters you can not use Another idea could be to add a flag like
to customize it globally. |
For me it would be sufficient to set it globally. It would be even better to set it individually for each backend. |
Is your feature request related to a problem? Please describe.
In general, I would like to display a separate error page if a service is temporarily not available, for example because it is scaled to 0 pods.
This is the case for us for certain test environments that are scaled to 0 for certain times using the kube-downscaler.
You could also use this feature for maintenance pages.
At the moment you get a 502 "no endpoints" or "bad gateway".
The filter inlineContentIfStatus apparently cannot be used here.
Describe the solution you would like
For me it would be sufficient if the inlineContentIfStatus filter could be used and the default 502 response from skipper could be customized. Other solutions could look like that of Nginx Ingress Controller custom errors.
Describe alternatives you've considered (optional)
Use other components e.g. AWS solutions with ALB and Cloudfront (not very comfortable).
Would you like to work on it?
No
The text was updated successfully, but these errors were encountered: