Created
June 9, 2018 21:54
-
-
Save mhiro2/4e596305104ca97e48fefcba1773a32c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ istioctl replace -f samples/bookinfo/routing/route-rule-ratings-test-delay.yaml | |
Updated config virtual-service/default/ratings to revision 44630 | |
$ istioctl get virtualservice ratings -o yaml | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
creationTimestamp: null | |
name: ratings | |
namespace: default | |
resourceVersion: "44630" | |
spec: | |
hosts: | |
- ratings | |
http: | |
- fault: | |
delay: | |
fixedDelay: 7.000s | |
percent: 100 | |
match: | |
- headers: | |
cookie: | |
regex: ^(.*?;)?(user=jason)(;.*)?$ | |
route: | |
- destination: | |
host: ratings | |
subset: v1 | |
- route: | |
- destination: | |
host: ratings | |
subset: v1 | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment