docs: Clarify default-backend behavior (#7489)
Clarify default-backend behaviour for services with multiple ports. Also minor fixes for typos and language consistency.
This commit is contained in:
parent
1510c06045
commit
f84006d62f
1 changed files with 2 additions and 2 deletions
|
@ -320,9 +320,9 @@ nginx.ingress.kubernetes.io/custom-http-errors: "404,415"
|
||||||
|
|
||||||
### Default Backend
|
### Default Backend
|
||||||
|
|
||||||
This annotation is of the form `nginx.ingress.kubernetes.io/default-backend: <svc name>` to specify a custom default backend. This `<svc name>` is a reference to a service inside of the same namespace in which you are applying this annotation. This annotation overrides the global default backend.
|
This annotation is of the form `nginx.ingress.kubernetes.io/default-backend: <svc name>` to specify a custom default backend. This `<svc name>` is a reference to a service inside of the same namespace in which you are applying this annotation. This annotation overrides the global default backend. In case the service has [multiple ports](https://kubernetes.io/docs/concepts/services-networking/service/#multi-port-services), the first one is the one which will received the backend traffic.
|
||||||
|
|
||||||
This service will be handle the response when the service in the Ingress rule does not have active endpoints. It will also handle the error responses if both this annotation and the [custom-http-errors annotation](#custom-http-errors) is set.
|
This service will be used to handle the response when the configured service in the Ingress rule does not have any active endpoints. It will also be used to handle the error responses if both this annotation and the [custom-http-errors annotation](#custom-http-errors) are set.
|
||||||
|
|
||||||
### Enable CORS
|
### Enable CORS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue