Support internalTrafficPolicy: Local
for upstream services without service-upstream
annotation
#11564
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
By default the ingress nginx uses all endpoints of a service in the upstream configuration. This has benefits like allowing
proxy_next_upstream
to be used, having more even request distribution to upstreams as well as not using conntrack.However in some cases it is beneficial to avoid traffic between nodes, which can be achived by setting
internalTrafficPolicy: Local
. In this case it would be useful if ingress nginx only added node-local endpoints to the upstream configuration, avoiding cross-node traffic to the service without having to useservice-upstream
annotation.This behavior can be controlled by a flag similar to
EnableTopologyAwareRouting
that's already supported by ingress nginx.The text was updated successfully, but these errors were encountered: