Adjust format for request-timeouts.md. (#1430)

This commit is contained in:
Guang Ya Liu 2018-06-04 21:09:02 +08:00 committed by Martin Taillefer
parent b989221c61
commit 11ee05305d
1 changed files with 14 additions and 14 deletions

View File

@ -79,20 +79,20 @@ to the `ratings` service.
1. Now add a 1 second request timeout for calls to the `reviews` service 1. Now add a 1 second request timeout for calls to the `reviews` service
```bash ```bash
cat <<EOF | istioctl replace -f - cat <<EOF | istioctl replace -f -
apiVersion: networking.istio.io/v1alpha3 apiVersion: networking.istio.io/v1alpha3
kind: VirtualService kind: VirtualService
metadata: metadata:
name: reviews name: reviews
spec: spec:
hosts: hosts:
- reviews - reviews
http: http:
- route: - route:
- destination: - destination:
host: reviews host: reviews
subset: v2 subset: v2
timeout: 1s timeout: 1s
EOF EOF
``` ```