Created
January 5, 2019 11:14
-
-
Save rinormaloku/580a872b330e14111958aaac20f65aa6 to your computer and use it in GitHub Desktop.
[Virtual Services] config for the series https://rinormaloku.com/istio-an-introduction/ #istio #kubernetes
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
kind: VirtualService | |
metadata: | |
name: sa-external-services | |
spec: | |
hosts: | |
- "*" | |
gateways: | |
- http-gateway # 1 | |
http: | |
- match: | |
- uri: | |
exact: / | |
- uri: | |
exact: /callback | |
- uri: | |
prefix: /static | |
- uri: | |
regex: '^.*\.(ico|png|jpg)$' | |
route: | |
- destination: | |
host: sa-frontend # 2 | |
port: | |
number: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment