With emergence of the microservice, cloud, and container based architecture, the way that a system is built changes as well. Applications are deployed in a distributed manner and change all the time.As the underlying infrastructure and network services become more and more robust, the application layer must catch up with development of technologies.Therefore, most faults come from applications or complex interaction between applications.
Such complexity increases the difficulty in visualizing the system status. The concept of observability and how to select appropriate tools for a good insight have attracted more and more attentions from communities.In short, observability can be considered as a monitoring superset, covering monitoring, warning/visualization, distributed system tracing, and log aggregation and analysis.
This article describes how to use the observability analysis service Kiali in Istio.
In the Kubernetes environment, run the following command to check that Kiali is running properly:
kubectl -n istio-system get svc kiali
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 Kiali service on the right side, as shown below:
On the Kiali UI, you can view the general information about the service or focus on a special microservice detail to easily identify and correct faults and ensure stability and performance of your container-based applications, as shown below:
Information about the reviews
service includes labels, port numbers, health status, pods, deployments, and virtual services, as shown below:
To view the information on the Metrics tab, you must set the type of the Grafana service (grafana
) to LoadBalancer
.
On the Kiali UI, click Istio Config
. The detailed Istio configuration is displayed, including the created resource types, such as Virtual Service, Rule, and Destination Rule, as shown below:
You can click an item to view the detailed configuration. The following figure shows the detailed configuration of the reviews
virtual service.
The Kiali UI is integrated with the Jaeger UI. You can click Distributed Tracing
on the Kiali UI to view the distributed tracing result.Kiali fully utilizes the existing capabilities of Jaeger. For more information about distributed tracing, see the fourth article in this series.
When integrating the Kiali UI with the Jaeger UI, you must set the type of the Jaeger query service (jaeger-query
) to LoadBalancer
.
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; how to configure Istio functions of collecting, querying, and visualizing the telemetry data; and how to use the fault diagnosis and detection tool Weave Scope in Istio.This article describes how to use the observability analysis service Kiali 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:
Fault Diagnosis and Detection using Istio within Alibaba Cloud Container Service for Kubernetes
56 posts | 8 followers
FollowXi Ning Wang - August 17, 2018
Xi Ning Wang - August 21, 2018
Xi Ning Wang - August 23, 2018
Xi Ning Wang - August 17, 2018
Xi Ning Wang - August 21, 2018
Xi Ning Wang - August 21, 2018
56 posts | 8 followers
FollowAlibaba 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 MoreProvides a control plane to allow users to manage Kubernetes clusters that run based on different infrastructure resources
Learn MoreAccelerate and secure the development, deployment, and management of containerized applications cost-effectively.
Learn MoreA secure image hosting platform providing containerized image lifecycle management
Learn MoreMore Posts by Xi Ning Wang(王夕宁)