Skip to content

Instantly share code, notes, and snippets.

@rinormaloku
Last active January 13, 2019 14:37
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/5d7d969b7b0273089c1f12ed89bb916c to your computer and use it in GitHub Desktop.
Save rinormaloku/5d7d969b7b0273089c1f12ed89bb916c to your computer and use it in GitHub Desktop.
[VirtualService SA-Logic] routing to subset and shadowing. config 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
mirror:
host: sa-logic
subset: v2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment