Default Backend doesn't work with different namespaces
ama23-lang opened this issue · 6 comments
Hi ,
I would like to add a default backend annotation to my ingresses nginx.ingress.kubernetes.io/default-backend: .
However I will add this annotation to different services in different namespaces and I would like to create a centralized backend to use it each time , it will be more like a customized error backend .
It will be so heavy to install the backend each time in the same namespace .
Is thee a way to specify the backend and the namespace in the annotation ?
This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
@longwuyuan: Closing this issue.
In response to this:
/remove-kind bug
/kind support
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Hi longwuyuan ,
I looked at the documentation , however in the documentation the default backend annotation specifies that teh default backend should be in the same namespace as the service's ingress , my problem is , is there a way to use a default backend in another namespace ?
Understood.
You have the option to set default-backend uisng flag https://kubernetes.github.io/ingress-nginx/examples/customization/custom-errors/#customized-default-backend