Fix protocol sniffing docs (#5226)

* Fix protocol sniffing docs

These were outdated

* Lower case headers
This commit is contained in:
John Howard 2019-10-22 11:33:50 -07:00 committed by Martin Taillefer
parent c73c9df09b
commit 745d1f30c4
1 changed files with 8 additions and 8 deletions

View File

@ -13,14 +13,7 @@ Istio supports proxying all TCP traffic by default, but in order to provide addi
such as routing and rich metrics, the protocol must be determined.
This can be done automatically or explicitly specified.
## Automatic Protocol Selection
By default, Istio will automatically detect HTTP and HTTP/2 traffic.
If the protocol cannot automatically be determined, traffic will be treated as plain TCP traffic.
This feature can be turned off by providing the Helm value `--set pilot.enableProtocolSniffing=false`.
## Manual Protocol Selection
## Manual protocol selection
Protocols can be specified manually by naming the Service port `name: <protocol>[-<suffix>]`.
The following protocols are supported:
@ -52,3 +45,10 @@ spec:
- number: 80
name: http-web
{{< /text >}}
## Automatic protocol selection (experimental)
Istio can automatically detect HTTP and HTTP/2 traffic. If the protocol cannot automatically be determined, traffic will be treated as plain TCP traffic.
This feature is experimental and off by default. It can be turned on by providing the Helm value `--set pilot.enableProtocolSniffingForOutbound=true --set pilot.enableProtocolSniffingForInbound=true`.