Created
October 21, 2019 16:02
-
-
Save askmeegs/4b6d618990d08672900260b9f228973a to your computer and use it in GitHub Desktop.
invalid-canary.yaml
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: DestinationRule | |
metadata: | |
name: frontend | |
spec: | |
host: frontend | |
trafficPolicy: | |
tls: | |
mode: ISTIO_MUTUAL | |
subsets: | |
- name: v1 | |
labels: | |
version: v1 | |
- name: v2 | |
labels: | |
version: v2 | |
--- | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: frontend-split-traffic | |
spec: | |
hosts: | |
- frontend | |
http: | |
- route: | |
- destination: | |
host: frontend | |
subset: v1 | |
weight: 0 | |
- destination: | |
host: frontend | |
subset: v2 | |
weight: 90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment