Skip to content

padok-team/demo-traffic-splitting

Repository files navigation

Demo ~ Traffic Splitting

demo

This repository demonstrates how to do a canary release with Istio. It also uses Kiali to obsverse the traffic splitting.

Dependencies

This demonstration uses the microservices demo developped by Google LLC.

To run this demonstration you need:

Run the demo

Bootstrap

To start the demo run scripts/bootstrap.sh. Once the script exits, run watch kubectl get po -A and wait for all the pods to have the status Running. In your browser go to kiali.vcap.me and anf go to the Graph section. Clik on the Display dropdown and enable Traffic Rate.

Canary release

To launch the caranry release run scripts/canary-release.sh. Check for the deployment of a productcatalogservice-v2 pod to start. In the Kiali web page, click on the traingle productcvatalogservice. You should see to squares behind it, respectively annotated with v1 and v2. The percentages on each link reprents the percentage of traffic being routed to each version.

LICENSE

© 2022 Padok.

Licensed under the Apache License, Version 2.0 (LICENSE)

About

This repository demonstrates how to do a canary release with Isitio and observe the traffic splitting i Kiali

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages