mirror of https://github.com/istio/istio.io.git
Fix protocol sniffing docs (#5226)
* Fix protocol sniffing docs These were outdated * Lower case headers
This commit is contained in:
parent
c73c9df09b
commit
745d1f30c4
|
@ -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.
|
such as routing and rich metrics, the protocol must be determined.
|
||||||
This can be done automatically or explicitly specified.
|
This can be done automatically or explicitly specified.
|
||||||
|
|
||||||
## Automatic Protocol Selection
|
## Manual 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
|
|
||||||
|
|
||||||
Protocols can be specified manually by naming the Service port `name: <protocol>[-<suffix>]`.
|
Protocols can be specified manually by naming the Service port `name: <protocol>[-<suffix>]`.
|
||||||
The following protocols are supported:
|
The following protocols are supported:
|
||||||
|
@ -52,3 +45,10 @@ spec:
|
||||||
- number: 80
|
- number: 80
|
||||||
name: http-web
|
name: http-web
|
||||||
{{< /text >}}
|
{{< /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`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue