Last active
January 24, 2021 06:58
-
-
Save voraviz/e9027d6d43dc0ed3482d65874d4cbec0 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
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: frontend-virtual-service | |
spec: | |
hosts: | |
- frontend.apps.SUBDOMAIN | |
gateways: | |
- control-plane/wildcard-gateway | |
http: | |
- match: | |
- headers: | |
user-agent: | |
regex: (.*)Firefox(.*) | |
route: | |
- destination: | |
host: frontend | |
port: | |
number: 8080 | |
subset: v2 | |
- route: | |
- destination: | |
host: frontend | |
port: | |
number: 8080 | |
subset: v1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment