Skip to content

Instantly share code, notes, and snippets.

@rinormaloku
Created January 7, 2019 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rinormaloku/e67a7a6db1bc42def3aa6af9936444bb to your computer and use it in GitHub Desktop.
Save rinormaloku/e67a7a6db1bc42def3aa6af9936444bb to your computer and use it in GitHub Desktop.
[Canary Deployments] Virtual Service configuraiton for Introduction to Istio series https://rinormaloku.com/istio-an-introduction/ #istio
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: sa-logic
spec:
hosts:
- sa-logic
http:
- route:
- destination:
host: sa-logic
subset: v1
weight: 80 # 1
- destination:
host: sa-logic
subset: v2
weight: 20 # 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment