Docs: Fixed broken link of "synchronization loop pattern" on how-it-works.md (#10554)
This commit is contained in:
parent
72fb480b81
commit
560771ee80
1 changed files with 2 additions and 2 deletions
|
@ -58,13 +58,13 @@ In a relatively big cluster with frequently deploying apps this feature saves si
|
||||||
|
|
||||||
### Avoiding outage from wrong configuration
|
### Avoiding outage from wrong configuration
|
||||||
|
|
||||||
Because the ingress controller works using the [synchronization loop pattern](https://coreos.com/kubernetes/docs/latest/replication-controller.html#the-reconciliation-loop-in-detail), it is applying the configuration for all matching objects. In case some Ingress objects have a broken configuration, for example a syntax error in the `nginx.ingress.kubernetes.io/configuration-snippet` annotation, the generated configuration becomes invalid, does not reload and hence no more ingresses will be taken into account.
|
Because the ingress controller works using the [synchronization loop pattern][1], it is applying the configuration for all matching objects. In case some Ingress objects have a broken configuration, for example a syntax error in the `nginx.ingress.kubernetes.io/configuration-snippet` annotation, the generated configuration becomes invalid, does not reload and hence no more ingresses will be taken into account.
|
||||||
|
|
||||||
To prevent this situation to happen, the Ingress-Nginx Controller optionally exposes a [validating admission webhook server][8] to ensure the validity of incoming ingress objects.
|
To prevent this situation to happen, the Ingress-Nginx Controller optionally exposes a [validating admission webhook server][8] to ensure the validity of incoming ingress objects.
|
||||||
This webhook appends the incoming ingress objects to the list of ingresses, generates the configuration and calls nginx to ensure the configuration has no syntax errors.
|
This webhook appends the incoming ingress objects to the list of ingresses, generates the configuration and calls nginx to ensure the configuration has no syntax errors.
|
||||||
|
|
||||||
[0]: https://github.com/openresty/lua-nginx-module/pull/1259
|
[0]: https://github.com/openresty/lua-nginx-module/pull/1259
|
||||||
[1]: https://coreos.com/kubernetes/docs/latest/replication-controller.html#the-reconciliation-loop-in-detail
|
[1]: https://github.com/coreos/docs/blob/master/kubernetes/replication-controller.md#the-reconciliation-loop-in-detail
|
||||||
[2]: https://godoc.org/k8s.io/client-go/informers#NewFilteredSharedInformerFactory
|
[2]: https://godoc.org/k8s.io/client-go/informers#NewFilteredSharedInformerFactory
|
||||||
[3]: https://godoc.org/k8s.io/client-go/tools/cache#ResourceEventHandlerFuncs
|
[3]: https://godoc.org/k8s.io/client-go/tools/cache#ResourceEventHandlerFuncs
|
||||||
[4]: https://github.com/kubernetes/ingress-nginx/blob/main/internal/task/queue.go#L38
|
[4]: https://github.com/kubernetes/ingress-nginx/blob/main/internal/task/queue.go#L38
|
||||||
|
|
Loading…
Reference in a new issue