×
Community Blog Fault Diagnosis and Detection using Istio within Alibaba Cloud Container Service for Kubernetes

Fault Diagnosis and Detection using Istio within Alibaba Cloud Container Service for Kubernetes

This article uses an official example to demonstrate how to use Weave Scope in Istio to conveniently learn, monitor, and control microservice container 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.

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:

1

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:

2

Dependency and Internal Details

Click the productpage icon in the example. You can view its dependency and specific content details, including:

  1. Relationship with other deployment details and reviews
  2. Relationship with istio-telemetry, istio-ingressgateway, istio-tracing, istio-pilot, and istio-policy
  3. Specific content about productpage deployment, such as the namespace, inbound, outbound, and corresponding pods and containers

3

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.

4

Start the command line in the browser:

5

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:

  1. Using Istio on Alibaba Cloud Container Service for Kubernetes
  2. Go through Istio Features with Samples on Alibaba Cloud Container Service for Kubernetes
  3. Intelligent Routing with Istio on Alibaba Cloud Container Service for Kubernetes
  4. Distributed Tracking with Istio on Alibaba Cloud Container Service for Kubernetes
  5. Telemetry Data Collection, Query, and Visualization with Istio on Alibaba Cloud Container Service for Kubernetes
  6. Fault Diagnosis and Detection using Istio within Alibaba Cloud Container Service for Kubernetes
  7. Observability Analysis using Istio and Kiali within Alibaba Cloud Container Service for Kubernetes
1 0 0
Share on

Xi Ning Wang(王夕宁)

23 posts | 6 followers

You may also like

Comments

Joshua Dong August 24, 2018 at 12:43 pm

This is awesomeblog series. love it

Xi Ning Wang(王夕宁)

23 posts | 6 followers

Related Products

  • Container Service for Kubernetes

    Alibaba Cloud Container Service for Kubernetes is a fully managed cloud container management service that supports native Kubernetes and integrates with other Alibaba Cloud products.

    Learn More
  • Container Registry

    A secure image hosting platform providing containerized image lifecycle management

    Learn More
  • Container Service

    A high-performance container manage service that provides containerized application lifecycle management

    Learn More
  • ECI(Elastic Container Instance)

    Elastic Container Instance (ECI) is an agile and secure serverless container instance service. You can easily run containers without managing servers. Also you only pay for the resources that have been consumed by the containers. ECI helps you focus on your business applications instead of managing infrastructure.

    Learn More