1. The Online Boutique

Verify the Online Boutique application is deployed into Kubernetes (K3s) and generates some artificial traffic using a Load Generator (Locust).

15 minutes

Ninja - Deploy the Online Boutique

1. Check your EC2 server

This workshop module assumes you are completing this after you have run the IM workshop, and still have access to your EC2 instance.

If this is the case, continue with Deploy Online Boutique , otherwise, if you have received a fresh instance, please run the first two (2) sections of Deploy the OTel Collector to get the system ready for the APM workshop, then continue with the next section.

2. Deploy Online Boutique

To deploy the Online Boutique application into K3s apply the deployment:

bash
cd ~/workshop/apm
kubectl apply -f deployment.yaml

In case of a message about a VARIABLE being unset

Delete the deployment running kubectl delete -f deployment.yaml.

Then, export the variable as described in the guide/message, followed by re-running the deployment script above.

To ensure the Online Boutique application is running:

bash
kubectl get pods

Info

Usually it should only take around 1min 30secs for the pods to transition into a Running state.

Validate Online Boutique is deployed

In the Splunk UI click on Infrastructure this will bring you to the Infrastructure Overview dashboard, then click on Kubernetes.

Use the Cluster dropdown to select the cluster name, you will see the new pods started and containers deployed. When you click on your Cluster in the Splunk UI you should have a view that looks like below:

Back to cluster

If you select the WORKLOADS tab again you should now see that there are some Deployments and ReplicaSets:

Online Boutique loaded

Visit the Online Boutique

Ninja - Visit the Online Boutique you just deployed

Info

The Online Boutique is viewable on port 81 of the EC2 instance’s IP address. The IP address is the one you used to SSH into the instance at the beginning of the workshop.

Open your web browser and go to http://<ec2-ip-address>:81/ where you will then be able to see the Online Boutique running.

Your Workshop instructor will provide you with a URL to access the Online Boutique. Enter this URL into your browser and you will see the Online Boutique homepage.

Online Boutique