[AIAB-04] Setup Online Boutique
To get the target application (Online Boutique), the load generator (Locust), and the telemetry provider (Prometheus) installed, you need to use the three Kubernetes manifests available in the kube
folder of your cloned repo. The corresponding kubectl
commands must be issued from any terminal pointing to your cluster.
Notice: if you have installed the minikube cluster with the scripts provided in this guide, you can skip this command and proceed to the paragraph Install the target application.
Notice that all these three manifests refer to a label akamas/node=akamas
to ensure that the corresponding pods are scheduled on the same node. For the sake of simplicity, run the following command to assign this label to the node you want to use for these pods (this is not needed for the Minikube cluster, which already is correctly configured):
Install the target application
To install the Online Boutique application, you need to apply the boutique.yaml
manifest to your cluster with the following command:
This command will create the namespace akamas-demo
and all the Deployment and Services of the Online Boutique inside that namespace. You can verify that all the pods are up and running with the command:
You can wait until the output is similar to the following one, then proceed:
Install the load generator
Then, to install Locust, you need to apply the loadgenerator.yaml
manifest to your cluster:
You can verify that all the pods are up and running with the following command:
The output should be similar to the following one:
Install the telemetry provider
Finally, to install Prometheus, you need to apply the prometheus.yaml
manifest:
You can verify that all the pods are up and running with the command:
The output should be similar to the following one:
Last updated