From 78a3473b9418942584187a4b038ac5fe5abdd782 Mon Sep 17 00:00:00 2001 From: Romain Lenglet Date: Thu, 12 Sep 2019 06:03:56 -0700 Subject: [PATCH] Fix Envoy stats examples in egress docs (#4903) --- .../tasks/traffic-management/egress/egress-gateway/index.md | 2 +- .../traffic-management/egress/wildcard-egress-hosts/index.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tasks/traffic-management/egress/egress-gateway/index.md b/content/en/docs/tasks/traffic-management/egress/egress-gateway/index.md index b4a46a3155..c4b0f98aac 100644 --- a/content/en/docs/tasks/traffic-management/egress/egress-gateway/index.md +++ b/content/en/docs/tasks/traffic-management/egress/egress-gateway/index.md @@ -269,7 +269,7 @@ First create a `ServiceEntry` to allow direct traffic to an external service. You should see a line similar to the following: {{< text plain >}} - [2018-06-14T11:46:23.596Z] "GET /politics HTTP/2" 301 - 0 0 3 1 "172.30.146.87" "curl/7.35.0" "ab7be694-e367-94c5-83d1-086eca996dae" "edition.cnn.com" "151.101.193.67:80" + [2019-09-03T20:57:49.103Z] "GET /politics HTTP/2" 301 - "-" "-" 0 0 90 89 "10.244.2.10" "curl/7.64.0" "ea379962-9b5c-4431-ab66-f01994f5a5a5" "edition.cnn.com" "151.101.65.67:80" outbound|80||edition.cnn.com - 10.244.1.5:80 10.244.2.10:50482 edition.cnn.com - {{< /text >}} Note that you only redirected the traffic from port 80 to the egress gateway. The HTTPS traffic to port 443 diff --git a/content/en/docs/tasks/traffic-management/egress/wildcard-egress-hosts/index.md b/content/en/docs/tasks/traffic-management/egress/wildcard-egress-hosts/index.md index f26ed3bf7f..50f18cc12d 100644 --- a/content/en/docs/tasks/traffic-management/egress/wildcard-egress-hosts/index.md +++ b/content/en/docs/tasks/traffic-management/egress/wildcard-egress-hosts/index.md @@ -208,8 +208,8 @@ the set of domains. counter is: {{< text bash >}} - $ kubectl exec -it $(kubectl get pod -l istio=egressgateway -n istio-system -o jsonpath='{.items[0].metadata.name}') -c istio-proxy -n istio-system -- curl -s localhost:15000/stats | grep www.wikipedia.org.upstream_cx_total - cluster.outbound|443||www.wikipedia.org.upstream_cx_total: 2 + $ kubectl exec -it $(kubectl get pod -l istio=egressgateway -n istio-system -o jsonpath='{.items[0].metadata.name}') -c istio-proxy -n istio-system -- curl -s localhost:15000/clusters | grep '^outbound|443||www.wikipedia.org.*cx_total:' + outbound|443||www.wikipedia.org::208.80.154.224:443::cx_total::2 {{< /text >}} #### Cleanup wildcard configuration for a single hosting server