Created
February 6, 2018 15:20
-
-
Save salrashid123/ce6bfc93f2df6e786b80a47ff0262b00 to your computer and use it in GitHub Desktop.
istio_doc_route
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: fe-v1-be-v2 | |
spec: | |
precedence: 1 | |
match: | |
source: | |
name: myapp | |
labels: | |
version: v1 | |
destination: | |
name: be | |
route: | |
- labels: | |
version: v2 | |
weight: 100 | |
--- | |
apiVersion: config.istio.io/v1alpha2 | |
kind: RouteRule | |
metadata: | |
name: myapp-v1 | |
spec: | |
precedence: 2 | |
destination: | |
name: myapp | |
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