Update integrating-services-into-istio.md

This commit is contained in:
Douglas Reid 2017-05-10 11:35:18 -07:00 committed by GitHub
parent 8cfadad680
commit 11915aab28
1 changed files with 8 additions and 2 deletions

View File

@ -109,6 +109,8 @@ CLIENT=$(kubectl get pod -l app=service-one -o jsonpath='{.items[0].metadata.nam
SERVER=$(kubectl get pod -l app=service-two -o jsonpath='{.items[0].metadata.name}')
kubectl exec -it ${CLIENT} -c app -- curl service-two:80 | grep x-request-id
```
```
x-request-id=a641eff7-eb82-4a4f-b67b-53cd3a03c399
```
@ -119,15 +121,19 @@ service-two pod's IP.
Outbound request on client pod's proxy.
```
```bash
kubectl logs ${CLIENT} proxy | grep a641eff7-eb82-4a4f-b67b-53cd3a03c399
```
```
[2017-05-01T22:08:39.310Z] "GET / HTTP/1.1" 200 - 0 398 3 3 "-" "curl/7.47.0" "a641eff7-eb82-4a4f-b67b-53cd3a03c399" "service-two" "10.4.180.7:8080"
```
Inbound request on server pod's proxy.
```
```bash
kubectl logs ${SERVER} proxy | grep a641eff7-eb82-4a4f-b67b-53cd3a03c399
```
```
[2017-05-01T22:08:39.310Z] "GET / HTTP/1.1" 200 - 0 398 2 0 "-" "curl/7.47.0" "a641eff7-eb82-4a4f-b67b-53cd3a03c399" "service-two" "127.0.0.1:8080"
```