After you deploy an ingress gateway service in a cluster that is added to an Alibaba Cloud Service Mesh (ASM) instance, you can deploy applications in the ASM instance. This topic describes how to deploy an application in an ASM instance.
Prerequisites
- An ASM instance is created, and a Container Service for Kubernetes (ACK) cluster is added to the ASM instance. For more information, see Create an ASM instance and Add a cluster to an ASM instance.
- The kubectl client is connected to the ACK cluster that is added to the ASM instance. For more information, see Connect to ACK clusters by using kubectl.
- An ingress gateway service is deployed in the ACK cluster that is added to the ASM instance. This way, after you deploy an application in the ACK cluster, the application can be accessed from the Internet. For more information, see Deploy an ingress gateway service.
Background information
In this topic, a book review application that is named Bookinfo is used as an example.
The following figure shows the microservices model of the application.

The Bookinfo application consists of the following microservices:
- Productpage: generates pages by calling the Details and Reviews microservices.
- Details: contains the information about books.
- Reviews: contains book reviews and may call the Ratings microservice.
- Ratings: contains book ratings that are generated based on book reviews.
The Reviews microservice has the following versions:
- Version v1 does not call the Ratings microservice.
- Version v2 calls the Ratings microservice and displays each rating as one to five black stars.
- Version v3 calls the Ratings microservice and displays each rating as one to five red stars.
Procedure
Result
To view the deployment information about the Bookinfo application, perform the following steps:
- Log on to the Container Service console.
- In the left-side navigation pane, click Clusters.
- On the Clusters page, click the name of the cluster where the Bookinfo application is deployed. Alternatively, click Details in the Actions column of the cluster where the Bookinfo application is deployed.
- In the left-side navigation pane of the details page, click Pods.
- At the top of the Pods tab, select default from the Namespace drop-down list.
Note Click View Details in the Actions column of the pod of the Bookinfo application.