Skip to content

iblancasa/kiali-tempo-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC Kiali + Grafana Tempo

This repository is a PoC to test the usage of Kiali + Grafana Tempo.

Explanation

The deploy-all will:

  1. Downloads all the needed tools

  2. Starts a kind Kubernetes cluster

  3. Deploys istio in the cluster

  4. Deploys the [bookinfo](https://istio.io/latest/docs/examples/bookinfo/) application

  5. Deploys the Prometheus integration with Istio

  6. Deploys Grafana Tempo following the official documentation using a minio instance

    Note The script hack/install-tempo.sh does almost all the deployment. Some values are different than in the official documentation to: reduce the number of needed resources (for the development environment), expose the 16685 port from the Jaeger Query service and expose the ports for the different protocols to consume

  7. Deploys Kiali from config/kiali.yaml.

    Note This configuration is the one from the official Istio documentation but changing the values for .external_services.tracing.in_cluster_url and .external_services.tracing.url from the Kiali configuration.

This approach was proposed by @kvrhdn in this comment.

Instructions

  1. Deploy the cluster and configurations

    $ make deploy-all
  2. Do port forwarding to acces the Kiali UI:

    $ kubectl port-forward service/kiali 20001 -n istio-system
  3. Access the http://localhost:20001 URL in your browser.

  4. Do port forwarding to the productpage service:

    $ kubectl port-forward service/productpage 9080
  5. Generate some traces:

    $ while true; do; curl -s localhost:9080/productpage; done
  6. Check the traces in the Kiali UI Some traces in the Kiali UI

  7. The Jaeger UI is available in http://localhost