Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions tutorials/deploy-istio-kapsule-proxy-protocol/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ kubectl annotate -n istio-system services istio-ingressgateway \
namespace: istio-system
spec:
workloadSelector:
labels:
istio: ingressgateway
labels:
istio: ingressgateway
configPatches:
- applyTo: LISTENER
patch:
Expand Down Expand Up @@ -283,15 +283,15 @@ kubectl annotate -n istio-system services istio-ingressgateway \
filterChain:
filter:
name: envoy.filters.network.http_connection_manager
patch:
operation: MERGE
value:
name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
skip_xff_append: false
use_remote_address: true
xff_num_trusted_hops: 1
patch:
operation: MERGE
value:
name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
skip_xff_append: false
use_remote_address: true
xff_num_trusted_hops: 1
EOF
```
You will get an output similar to the following one, after you have configured proxy forward and `X-Forward-For`
Expand Down Expand Up @@ -335,4 +335,4 @@ Once you have added the configurations, you may need to restart the IngressGatew
Run the following command to delete the existing pods using `kubectl`. Kubernetes will spin up new ones automatically after you launch the command:
```bash
kubectl delete pod -n istio-system -l istio=ingressgateway
```
```