Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 738 Bytes

File metadata and controls

27 lines (22 loc) · 738 Bytes

https://istio.io/docs/tasks/traffic-management/request-routing/

Enable default route

cat samples/bookinfo/networking/virtual-service-all-v1.yaml
kubectl apply -f samples/bookinfo/networking/virtual-service-all-v1.yaml
kubectl get virtualservices -o yaml

See that there is only one version routed

kubectl get destinationrules -o yaml

User-based testing (A/B testing)

cat samples/bookinfo/networking/virtual-service-reviews-test-v2.yaml
kubectl apply -f samples/bookinfo/networking/virtual-service-reviews-test-v2.yaml
kubectl get virtualservice reviews -o yaml

Connect with Jason on productpage

Cleanup

kubectl delete -f samples/bookinfo/networking/virtual-service-all-v1.yaml