https://github.com/maksim-paskal/ingress-default-backend
Ingress default backend service
https://github.com/maksim-paskal/ingress-default-backend
Last synced: 24 days ago
JSON representation
Ingress default backend service
- Host: GitHub
- URL: https://github.com/maksim-paskal/ingress-default-backend
- Owner: maksim-paskal
- License: apache-2.0
- Created: 2020-07-10T06:21:26.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T18:23:53.000Z (3 months ago)
- Last Synced: 2025-06-21T09:07:19.661Z (24 days ago)
- Language: Go
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Install
```bash
helm repo add maksim-paskal-ingress-default-backend https://maksim-paskal.github.io/ingress-default-backend/helm repo update
helm upgrade ingress-default-backend \
--install \
--create-namespace \
--namespace ingress-default-backend \
maksim-paskal-ingress-default-backend/ingress-default-backend
```Add to your ingress annotations
```yaml
annotations:
nginx.ingress.kubernetes.io/custom-http-errors: 500,502,503,504,507
nginx.ingress.kubernetes.io/default-backend: ingress-default-backend
```## Test
```bash
make run
curl -H "X-Code: 500" -H "X-Request-ID: 123" 127.0.0.1:8080
```