Fix Envoy stats examples in egress docs (#4903)

This commit is contained in:
Romain Lenglet 2019-09-12 06:03:56 -07:00 committed by Istio Automation
parent b8224eb147
commit 78a3473b94
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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