This repository is a PoC to test the usage of Kiali + Grafana Tempo.
The deploy-all
will:
-
Downloads all the needed tools
-
Starts a kind Kubernetes cluster
-
Deploys
istio
in the cluster -
Deploys the
[bookinfo](https://istio.io/latest/docs/examples/bookinfo/)
application -
Deploys the Prometheus integration with Istio
-
Deploys Grafana Tempo following the official documentation using a
minio
instanceNote 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 the16685
port from the Jaeger Query service and expose the ports for the different protocols to consume -
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.
-
Deploy the cluster and configurations
$ make deploy-all
-
Do port forwarding to acces the Kiali UI:
$ kubectl port-forward service/kiali 20001 -n istio-system
-
Access the
http://localhost:20001
URL in your browser. -
Do port forwarding to the
productpage
service:$ kubectl port-forward service/productpage 9080
-
Generate some traces:
$ while true; do; curl -s localhost:9080/productpage; done
-
The Jaeger UI is available in
http://localhost