Istio Observability

Istio Observability Setup

Istio integrates with several different telemetry applications. These can help you gain an understanding of the structure of your service mesh, display the topology of the mesh, and analyze the health of your mesh.

Use the following instructions to deploy the Kiali dashboard, along with Prometheus, Grafana, and Jaeger.

Install Kiali and the other addons and wait for them to be deployed.

kubectl apply -f samples/addons
kubectl rollout status deployment/kiali -n istio-system

Ensure everything is running fine , Go to LENS software and check it.

Kiali Dashboard Access

istioctl dashboard kiali

View your Kiali Dashboard in your Browser.

In the left navigation menu, select Graph and in the Namespace drop down, select default.

Use ctrl+c to break out.

Prometheus Dashboard Access

Verify that the prometheus service is running in your cluster.

kubectl -n istio-system get svc prometheus

Open the Prometheus UI, execute the following command:

Click Graph to the right of Prometheus in the header.

Execute a Prometheus query.

In the “Expression” input box at the top of the web page, enter the text:

Then, click the Execute button.

Sample: Prometheus Query Result

You can also see the query results graphically by selecting the Graph tab underneath the Execute button.

Sample Prometheus Query Result - Graphical

Other queries to try:

  • Total count of all requests to the productpage service:

  • Total count of all requests to v3 of the reviews service:

    This query returns the current total count of all requests to the v3 of the reviews service.

  • Rate of requests over the past 5 minutes to all instances of the productpage service:

Use ctrl+c to break out.

Grafana Dashboard Access

Verify that the Grafana service is running in your cluster.

In Kubernetes environments, execute the following command:

In Kubernetes environments, execute the following command:

Visit http://localhost:3000 your web browser.

Use ctrl+c to break out.

Jaeger Dashboard Access

Verify that the Jaeger service is running in your cluster.

In Kubernetes environments, execute the following command:

In Kubernetes environments, execute the following command:

Visithttp://localhost:16686/jaeger/search your web browser.

Use ctrl+c to break out.

Troubleshooting

Ensure you have the following path setup from Previous Section

Step3: Add the istioctl client to your path (Linux or macOS):

Istio Cleanup / Uninstall

The Istio uninstall deletes the RBAC permissions and all resources hierarchically under the istio-system namespace. It is safe to ignore errors for non-existent resources because they may have been deleted hierarchically.

The istio-system namespace is not removed by default. If no longer needed, use the following command to remove it:

The label to instruct Istio to automatically inject Envoy sidecar proxies is not removed by default. If no longer needed, use the following command to remove it:

Last updated