Created
June 17, 2019 14:48
-
-
Save johnytiago/e58394af7d122ab562d1f3eb6d3b3972 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: ratings | |
spec: | |
hosts: | |
- ratings | |
http: | |
- match: | |
- headers: | |
end-user: | |
exact: jason | |
fault: | |
delay: | |
percentage: | |
value: 100.0 | |
fixedDelay: 7s | |
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