Add note about annotations to control traffic (#5896)

* Add note about annotations to control traffic

Fixes https://github.com/istio/istio/issues/19258

* Update content/en/docs/tasks/traffic-management/egress/egress-control/index.md

Co-Authored-By: Martin Taillefer <geeknoid@users.noreply.github.com>
This commit is contained in:
John Howard 2019-11-27 11:17:41 -08:00 committed by Istio Automation
parent e2b1e73942
commit 24e35577de
1 changed files with 3 additions and 1 deletions

View File

@ -322,7 +322,9 @@ you can configure the Envoy sidecars to prevent them from
[intercepting](/docs/concepts/traffic-management/)
external requests. To set up the bypass, change either the `global.proxy.includeIPRanges`
or the `global.proxy.excludeIPRanges` [configuration option](/docs/reference/config/installation-options/) and
update the `istio-sidecar-injector` configuration map using the `kubectl apply` command.
update the `istio-sidecar-injector` configuration map using the `kubectl apply` command. This can also
be configured on a pod by setting corresponding [annotations](/docs/reference/config/annotations/) such as
`traffic.sidecar.istio.io/includeOutboundIPRanges`.
After updating the `istio-sidecar-injector` configuration, it affects all
future application pod deployments.