Version 1.9

Deploying a demo version of the telemetry add-ons

The YAML files to deploy a demo version of Prometheus, Grafana, and Kiali are available in GitHub in the anthos-service-mesh repository. Although these YAML files make it easy for you to deploy an instance of Prometheus, Grafana and Kiali to your cluster, these files aren't meant to take the place of installing and configuring the applications yourself.

To deploy a demo version of the add-ons to your cluster:

  1. Enable metrics export to Prometheus.

  2. Install kpt if you haven't already:

    gcloud components install kpt
    
  3. Download the package that contains the files:

    kpt pkg get \
    https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@release-1.9-asm asm
    
  4. Deploy an instance of the add-ons:

    • To deploy Grafana:

      kubectl apply -f asm/third-party/grafana.yaml
      
    • To deploy Kiali:

      kubectl apply -f asm/third-party/kiali.yaml
      
    • To deploy Prometheus:

      kubectl apply -f asm/third-party/prometheus.yaml
      

If you need to delete the add-ons, you can do so with the kubectl delete -f command.

Istio provides a set of preconfigured dashboards for Grafana. These dashboards are included in the demo version. You can also import the dashboards into an existing Grafana deployment.