Closed
Description
use-cluster-ip is currently a key capability to target the service endpoint instead of routing traffic directly to the backend service pods.
This is important for any customer running a service mesh behind the ingress controller.
It is also important is some edge use cases with dynamically scaling backend applications and their interaction with queue.
To expand the appeal of the project use-cluster-ip needs to be extended to support the Ingress resource using an annotation.
AC:
- introduce the annotation
nginx.org/use-cluster-ip
- mirror the behavior of use-cluster-ip from the VS and VR resources https://docs.nginx.com/nginx-ingress-controller/configuration/virtualserver-and-virtualserverroute-resources/#common-parts-of-the-virtualserver-and-virtualserverroute
- This cannot be applied to a master Ingress
- This can be applied to an Ingress that is not a master or minion
- If this is applied to a minion Ingress then it applies to only that minion (like it would for VirtualServerRoute/VirtualServer)