Created
February 6, 2018 15:23
-
-
Save salrashid123/ff1efd74b3b4bdfc390667af502652e2 to your computer and use it in GitHub Desktop.
isto_doc_route.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: config.istio.io/v1alpha2 | |
kind: RouteRule | |
metadata: | |
name: myapp-v1-path | |
spec: | |
precedence: 1 | |
destination: | |
name: myapp | |
match: | |
request: | |
headers: | |
uri: | |
exact: /version | |
route: | |
- labels: | |
version: v1 | |
weight: 100 | |
- labels: | |
version: v2 | |
weight: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment