Fault Diagnosis and Detection using Istio within Alibaba Cloud Container Service for Kubernetes
Previous articles in the series use an official example to demonstrate how to deploy an application in the Istio environment; how to configure intelligent routing and distributed tracing; and how to configure Istio functions of collecting, querying, and visualizing the telemetry data.
This article continues to use this example to demonstrate how to use the fault diagnosis and detection tool Weave Scope in Istio.
Weave Scope automatically generates the application mapping, which enables you to directly learn, monitor, and control your microservice container applications.With Weave Scope, you can conveniently monitor the relationship between containers and monitor the container-based and microservice-based applications, helping you learn the running status of applications and containers.
Experimenting with Weave Scope
Learning Docker Container Status in Real Time
In the Kubernetes environment, run the following command to check that Weave Scope is running properly:
kubectl -n istio-system get svc weave-scope-app
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
....
Click Services
on the left-side navigation bar. Then, click the access address of the created Weave Scope service on the right side, as shown below:

On the Weave Scope UI, you can view the general information about the container infrastructure or focus on a special microserviceto easily identify and correct faults and ensure stability and performance of your container-based applications, as shown below:

Dependency and Internal Details
Click the productpage
icon in the example. You can view its dependency and specific content details, including:
- Relationship with other deployment details and reviews
- Relationship with istio-telemetry, istio-ingressgateway, istio-tracing, istio-pilot, and istio-policy
- Specific content about productpage deployment, such as the namespace, inbound, outbound, and corresponding pods and containers

Container Interaction and Management
Click productpage
of the container. You can view the indicators, labels and metadata, and container CPU and memory usage.You can conveniently switch between processes in the host where the container runs to view the related information.
In addition, you can directly interact with the container on a container productpage, for example, pausing, restarting, or stopping the container, or start the command line.

Start the command line in the browser:

Summary
We can use Alibaba Cloud Container Service for Kubernetes to quickly build an Istio open platform for connecting, managing, and securing microservices, and to introduce and configure multiple relevant services for applications.Previous articles in the series use an official example to demonstrate how to deploy an application in the Istio environment; how to configure intelligent routing and distributed tracing; and how to configure Istio functions of collecting, querying, and visualizing the telemetry data.This article continues to use this example to demonstrate how to use the fault diagnosis and detection tool Weave Scope in Istio.
You are welcome to use Alibaba Cloud Container Service for Kubernetes to quickly build an Istio open platform and integrate Istio to microservice development in your project.
This article series introduces Istio and its core components, as well as describes how to quickly build an Istio open platform for connecting, managing, and securing microservices on the basis of Alibaba Cloud Container Service for Kubernetes. These articles also use an official example to demonstrate how to deploy an application in the Istio environment; how to configure intelligent routing and distributed tracing; and how to configure Istio functions of collecting, querying, and visualizing the telemetry data.
To review these articles, see:
- Using Istio on Alibaba Cloud Container Service for Kubernetes
- Go through Istio Features with Samples on Alibaba Cloud Container Service for Kubernetes
- Intelligent Routing with Istio on Alibaba Cloud Container Service for Kubernetes
- Distributed Tracking with Istio on Alibaba Cloud Container Service for Kubernetes
- Telemetry Data Collection, Query, and Visualization with Istio on Alibaba Cloud Container Service for Kubernetes
- Fault Diagnosis and Detection using Istio within Alibaba Cloud Container Service for Kubernetes
- Observability Analysis using Istio and Kiali within Alibaba Cloud Container Service for Kubernetes
Reference: