Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maksim-paskal/ingress-default-backend
Ingress default backend service
https://github.com/maksim-paskal/ingress-default-backend
Last synced: 5 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 (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T02:02:20.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T09:49:29.527Z (7 months ago)
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- 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
```