This guide explains how to install the Online Boutique sample application to demonstrate Anthos Service Mesh.
This guide assumes that you have:
- A Cloud project.
- A Cloud Billing account.
- Anthos Service Mesh deployed on a cluster.
- Set up your environment.
Installing a sample using
Optionally, you can use
kpt to install the Hipster Shop sample into the cluster.
Download the sample:
kpt pkg get \ https://github.com/GoogleCloudPlatform/microservices-demo.git/release \ hipster-demo
Create a namespace for the application:
kubectl create namespace demo
Enable automatic sidecar injection:
kubectl label namespace demo istio-injection=enabled
Deploy the sample to the cluster:
kubectl apply -n demo -f hipster-demo
Find the external IP address of your application:
kubectl get service frontend-external -n demo
Visit the application on your browser to confirm installation:
Now that you have a sample running, you can explore the Anthos Service Mesh observability features in the Cloud Console. Note that it can take up to 10 minutes for the topology graph to display the services in your mesh.
When you're finished exploring, remove the Hipster sample:
kubectl delete namespaces demo