Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Istio Traffic Routing demo - Istio configuration that route 100% traffic to version 2 under certain condition
---
apiVersion: config.istio.io/v1alpha2
kind: RouteRule
metadata:
name: myversion-conditional-v2
spec:
destination:
name: myversion
precedence: 2
match:
request:
headers:
user:
regex: "yoichi"
route:
- labels:
version: v2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment