Kiali Test Mesh provides an operator which will install different types of examples mesh which allow you to see different features of kiali.
It is needes Maistra Operator to install it.
In order to deploy the Operator you can use following make target (on root folder of this repository)
make deploy-operator
After installing the operator you can install the custom resource for each type of mesh that might want to try.
Meshes available:
or use the OLM option.
Bookinfo is the "Hello World" example of Istio Resources.
After installing the [Kiali Test Mesh Operator]. Run the following command to deploy bookinfo mesh:
make deploy-bookinfo
available options:
-
BOOKINFO_NAMESPACE
can be set to deploy namespace (default:bookinfo
) -
BOOKINFO_HUB
can be set to deploy bookinfo from Istio or Maistra (default:docker.io/istio
, alternatively you can usedocker.io/maistra
) -
BOOKINFO_VERSION
can be set to deploy a specific version of Bookinfo from Istio or Maistra (default:1.15.0
) -
BOOKINFO_MYSQL
can be set to deploy ratings-v2-mysql and MySQL DB (default:true
) -
BOOKINFO_MONGODB
can be set to deploy ratings-v2-mongodb and MongoDB (default:true
)
so possible scenario command:
make deploy-bookinfo BOOKINFO_NAMESPACE=bookinfo2 BOOKINFO_HUB=docker.io/istio BOOKINFO_VERSION=1.15.0 BOOKINFO_MYSQL=true BOOKINFO_MONGODB=true
You can run the following command to remove Bookinfo:
make remove-bookinfo-cr
The command above will remove the Bookinfo installation but not namespace itself. In order to remove the namespace itself you will need to run the folowing command (make sure you have the BOOKINFO_NAMESPACE
set correctly):
make remove-bookinfo-namespace BOOKINFO_NAMESPACE=bookinfo
Red Hat Istio Tutorial is a Quarkus based mesh brought it by the Red Hat Developer program.
After installing the [Kiali Test Mesh Operator]. Run the following command to deploy it:
make deploy-redhat-istio-tutorial
available options:
-
REDHAT_TUTORIAL_NAMESPACE
can be set to deploy namespace (default:redhat-istio-tutorial
)
so possible scenario command:
make deploy-redhat-istio-tutorial REDHAT_TUTORIAL_NAMESPACE=redhat-istio-tutorial2
You can run the following command to remove Red Hat Istio Tutorial:
make remove-redhat-istio-tutorial-cr
The command above will remove the Red Hat Istio Tutorial installation but not namespace itself. In order to remove the namespace itself you will need to run the folowing command (make sure you have the REDHAT_TUTORIAL_NAMESPACE
set correctly)
make remove-redhat-istio-tutorial-namespace REDHAT_TUTORIAL_NAMESPACE=redhat-istito-tutorial
It will remove the bookinfo installation cr. If you want to delete namespace use the following command
make remove-bookinfo-namespace
The scale mesh is type of a mesh that can be used for perfomance and scalability testing.
Variables to control the size, type and scale of the mesh
SCALE_MESH_NUMBER_SERVICES
is number of services that are going to be created
SCALE_MESH_NUMBER_APPS
is number of apps that going to be created (number of the boxes on the graph) - usually we match the number of the apps to number of services.
SCALE_MESH_NUMBER_VERSIONS
is number of versions that are created per app
SCALE_MESH_NUMBER_NAMESPACES
is number of namespaces are going to be created
SCALE_MESH_TYPE_OF_MESH
is the type of mesh that going to be used.
The following are the types of scale meshes you can deploy.
-
mesh-depth
-
mesh-breadth
-
mesh-circle
-
mesh-circle-callback
-
mesh-hourglass
-
mesh-depth-sink
-
mesh-breadth-sink
Example of the command:
SCALE_MESH_NUMBER_SERVICES=6 SCALE_MESH_NUMBER_APPS=6 SCALE_MESH_NUMBER_VERSIONS=2 SCALE_MESH_NUMBER_NAMESPACES=1 SCALE_MESH_TYPE_OF_MESH=mesh-circle make-deploy-scale-mesh