Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Istio Traffic Routing demo - Istio configuration that route 90% traffic to version 1 and 10% traffic to version 2 app
---
apiVersion: config.istio.io/v1alpha2
kind: RouteRule
metadata:
name: myversion-canary
spec:
destination:
name: myversion
precedence: 1
route:
- labels:
version: v1.0
weight: 90
- labels:
version: v2.0
weight: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment