Skip to content

Custom error page #3420

@jbuettnerbild

Description

@jbuettnerbild

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions