Merge pull request #31831 from PriyanshuAhlawat/update
Updated the default backend for ingress controller issue-31465
This commit is contained in:
@@ -118,8 +118,14 @@ match a path in the spec.
|
|||||||
|
|
||||||
### DefaultBackend {#default-backend}
|
### DefaultBackend {#default-backend}
|
||||||
|
|
||||||
An Ingress with no rules sends all traffic to a single default backend. The `defaultBackend` is conventionally a configuration option
|
An Ingress with no rules sends all traffic to a single default backend and `.spec.defaultBackend`
|
||||||
of the [Ingress controller](/docs/concepts/services-networking/ingress-controllers) and is not specified in your Ingress resources.
|
is the backend that should handle requests in that case.
|
||||||
|
The `defaultBackend` is conventionally a configuration option of the
|
||||||
|
[Ingress controller](/docs/concepts/services-networking/ingress-controllers) and
|
||||||
|
is not specified in your Ingress resources.
|
||||||
|
If no `.spec.rules` are specified, `.spec.defaultBackend` must be specified.
|
||||||
|
If `defaultBackend` is not set, the handling of requests that do not match any of the rules will be up to the
|
||||||
|
ingress controller (consult the documentation for your ingress controller to find out how it handles this case).
|
||||||
|
|
||||||
If none of the hosts or paths match the HTTP request in the Ingress objects, the traffic is
|
If none of the hosts or paths match the HTTP request in the Ingress objects, the traffic is
|
||||||
routed to your default backend.
|
routed to your default backend.
|
||||||
|
|||||||
Reference in New Issue
Block a user