Created
December 20, 2018 23:11
-
-
Save SaifRehman/1a52f95007b1cc65b0bb60aebd09fba1 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: servicemesh | |
spec: | |
gateways: | |
- gateway | |
hosts: | |
- '*' | |
http: | |
- match: | |
- uri: | |
prefix: /bookingsvc/ | |
rewrite: | |
uri: "/" | |
route: | |
- destination: | |
host: bookingsvc.default.svc.cluster.local | |
retries: | |
attempts: 3 | |
perTryTimeout: 2s | |
timeout: 2s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment