/istio-talk

A talk on Istio and related demos

Primary LanguageShellMIT LicenseMIT

istio-talk

This repository contains demo code for my talk on Istio.

To view the slides, run Go's present tool from the project folder and select istio-talk.slide.

Resiliency Demo

See the walk-through.

Resiliency Demo

To use my demo tool, follow the setup instructions in the walk-through and then run startDemo.sh from the resiliency folder.

Traffic Shifting Demo

See the walk-through.

Traffic Shifting Demo

To use my demo tool, follow the setup instructions in the walk-through and then run startDemo.sh from the trafficshifting folder.

Vagrant Version

I've created a Vagrant version to make it easy to spin up an environment for running the demos. Pull this repository and then vagrant up and vagrant ssh. Then run the demo script from inside the box:

/vagrant/vagrant-demo.sh

This will start the present tool on http://192.168.99.101:8080/ and the first demo (traffic shifting) on http://192.168.99.101:8081/. After showing the first demo, press return and the second demo (resiliency) will start on the same port. Press return again and the demo and present should stop.

The Vagrant version also has the Istio tools available at:

And the demo pods can be reached directly at:

Docker for Desktop Version

If you have Docker for Desktop, you can enable Kubernetes and then install Istio. You will also need to install Go, making sure it's on your path.

Install the Go tools as well:

go get golang.org/x/tools/cmd/present
git clone https://github.com/ancientlore/demon
cd demon && go install && cd -
rm -rf demon

The following script will set up the demos:

./docker/setup.sh

Then run demo.sh to start the demo.

The Docker version also has the Istio tools available at:

And the demo pods can be reached directly at:

Notes

These demos use other utilities I've created: