Skip to content

Instantly share code, notes, and snippets.

@mhiro2
Created June 9, 2018 21:32
Show Gist options
  • Save mhiro2/495a2be6856646b57a10c3fed27256ba to your computer and use it in GitHub Desktop.
Save mhiro2/495a2be6856646b57a10c3fed27256ba to your computer and use it in GitHub Desktop.
$ istioctl replace -f samples/bookinfo/routing/route-rule-reviews-50-v3.yaml
Updated config virtual-service/default/reviews to revision 43391
$ istioctl get virtualservice reviews -o yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
creationTimestamp: null
name: reviews
namespace: default
resourceVersion: "43391"
spec:
hosts:
- reviews
http:
- route:
- destination:
host: reviews
subset: v1
weight: 50
- destination:
host: reviews
subset: v3
weight: 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment