HUB
Sign inSign up

paskalmaksim/ingress-default-backend

By paskalmaksim

•Updated about 10 hours ago

Image
0

9.9K

paskalmaksim/ingress-default-backend repository overview

⁠Install

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

⁠Test

make test
curl -H "X-Code: 500" -H "X-Request-ID: 123" 127.0.0.1

Tag summary

Content type

Image

Digest

sha256:28840d2ab…

Size

17.1 MB

Last updated

about 10 hours ago

docker pull paskalmaksim/ingress-default-backend