kubectl -n $your_app_namespace apply -f deployment.yaml
Add to your ingress annotations
annotations:
nginx.ingress.kubernetes.io/custom-http-errors: 500,502,503,504,507
nginx.ingress.kubernetes.io/default-backend: ingress-default-backend
make test
curl -H "X-Code: 500" -H "X-Request-ID: 123" 127.0.0.1
Content type
Image
Digest
sha256:28840d2ab…
Size
17.1 MB
Last updated
about 10 hours ago
docker pull paskalmaksim/ingress-default-backend