Fmt md with prettier
This commit is contained in:
parent
06e12f7020
commit
79864e0165
1 changed files with 20 additions and 15 deletions
|
@ -61,16 +61,21 @@ server {
|
||||||
```
|
```
|
||||||
|
|
||||||
## istio/envoy
|
## istio/envoy
|
||||||
If you using [Istio](https://istio.io/) ingressgateway or [Envoy](https://www.envoyproxy.io/) as reverse proxy, there are some tips for you. If not set, you may see some debug log in proxy as below:
|
|
||||||
|
If you using [Istio](https://istio.io/) ingressgateway or [Envoy](https://www.envoyproxy.io/) as reverse proxy, there are some tips for you. If not set, you may see some debug log in proxy as below:
|
||||||
|
|
||||||
```log
|
```log
|
||||||
Sending local reply with details upgrade_failed
|
Sending local reply with details upgrade_failed
|
||||||
```
|
```
|
||||||
|
|
||||||
### Envoy
|
### Envoy
|
||||||
|
|
||||||
You need add a new upgrade_type named `tailscale-control-protocol`. [see detail](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-upgradeconfig)
|
You need add a new upgrade_type named `tailscale-control-protocol`. [see detail](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-upgradeconfig)
|
||||||
|
|
||||||
### Istio
|
### Istio
|
||||||
|
|
||||||
Same as envoy, we can use `EnvoyFilter` to add upgrade_type.
|
Same as envoy, we can use `EnvoyFilter` to add upgrade_type.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: networking.istio.io/v1alpha3
|
apiVersion: networking.istio.io/v1alpha3
|
||||||
kind: EnvoyFilter
|
kind: EnvoyFilter
|
||||||
|
@ -79,17 +84,17 @@ metadata:
|
||||||
namespace: istio-system
|
namespace: istio-system
|
||||||
spec:
|
spec:
|
||||||
configPatches:
|
configPatches:
|
||||||
- applyTo: NETWORK_FILTER
|
- applyTo: NETWORK_FILTER
|
||||||
match:
|
match:
|
||||||
listener:
|
listener:
|
||||||
filterChain:
|
filterChain:
|
||||||
filter:
|
filter:
|
||||||
name: envoy.filters.network.http_connection_manager
|
name: envoy.filters.network.http_connection_manager
|
||||||
patch:
|
patch:
|
||||||
operation: MERGE
|
operation: MERGE
|
||||||
value:
|
value:
|
||||||
typed_config:
|
typed_config:
|
||||||
'@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
|
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
|
||||||
upgrade_configs:
|
upgrade_configs:
|
||||||
- upgrade_type: tailscale-control-protocol
|
- upgrade_type: tailscale-control-protocol
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue