This is a collection of scrtips for demonstrate Service Mesh on OpenShift4.
Tested Verson:
OpenShift: 4.14.0
elasticsearch-operator.v5.8.0
jaeger-operator.v1.47.1-5
kiali-operator.v1.65.11
servicemeshoperator.v2.4.5
First, you have to deploy the Service Mesh control plane on the OpenShift by running the following scripts, you may find more details by referencing Installing Red Hat OpenShift Service Mesh
./00-install-operator.sh
./01-deploy-control-plane.sh # If you hit the "admission-controller" error, just wait some time and re-run the script.
If you don't know what to do next, you can deploy a well known application called "bookinfo" for testing Service Mesh by using the following scripts, then you can use the application to test different features. You may also find some of the scenario from below sections. More information -> Deploy Bookinfo and What is Bookinfo
./10-bookinfo-deploy.sh
More Details
Without any virtual service, the behavior will be round-robin to all reviews services, this is the default behavior of OpenShift service.
Follow the instructions after running the script.
./20-bookinfo-traffic-all-v1.sh
More Details
Follow the instructions after running the script.
./21-bookinfo-traffic-jason-v2.sh
More Details
Follow the instructions after running the script.
./30-bookinfo-fault-delay.sh
More Details
Follow the instructions after running the script.
./31-bookinfo-abort-delay.sh