This directory contains sample deployments of various addons that integrate with Istio. While these applications are not a part of Istio, they are essential to making the most of Istio's observability features.
The deployments here are meant to quickly get up and running, and are optimized for this case. As a result, they may not be suitable for production. See below for more info on integrating a production grade version of each addon.
To quickly deploy all addons:
kubectl apply -f samples/addons
Alternatively, you can deploy individual addons:
kubectl apply -f samples/addons/prometheus.yaml
Prometheus is an open source monitoring system and time series database. You can use Prometheus with Istio to record metrics that track the health of Istio and of applications within the service mesh. You can visualize metrics using tools like Grafana and Kiali.
For more information about integrating with Prometheus, please see the Prometheus integration page.
Grafana is an open source monitoring solution that can be used to configure dashboards for Istio. You can use Grafana to monitor the health of Istio and of applications within the service mesh.
This sample provides the following dashboards:
- Mesh Dashboard provides an overview of all services in the mesh.
- Service Dashboard provides a detailed breakdown of metrics for a service.
- Workload Dashboard provides a detailed breakdown of metrics for a workload.
- Performance Dashboard monitors the resource usage of the mesh.
- Control Plane Dashboard monitors the health and performance of the control plane.
- WASM Extension Dashboard provides an overview of mesh wide WebAssembly extension runtime and loading state.
For more information about integrating with Grafana, please see the Grafana integration page.
Kiali is an observability console for Istio with service mesh configuration capabilities. It helps you to understand the structure of your service mesh by inferring the topology, and also provides the health of your mesh. Kiali provides detailed metrics, and a basic Grafana integration is available for advanced queries. Distributed tracing is provided by integrating Jaeger.
For more information about using Kiali, see the Visualizing Your Mesh task.
Jaeger is an open source end to end distributed tracing system, allowing users to monitor and troubleshoot transactions in complex distributed systems.
Jaeger helps in a variety of tasks including:
- Distributed context propagation
- Distributed transaction monitoring
- Root cause analysis
- Service dependency analysis
- Performance / latency optimization
For more information about integrating with Jaeger, please see the Jaeger integration page.
Zipkin is a distributed tracing system. It helps gather timing data needed to troubleshoot latency problems in service architectures. Features include both the collection and lookup of this data.
Zipkin is an alternative to Jaeger and is not deployed by default. To replace Jaeger with Zipkin, run kubectl apply -f samples/addons/extras/zipkin.yaml
.
You may also want to remove the Jaeger deployment, which will not be used, with kubectl delete deployment jaeger
, or avoid installing it
to begin with by following the selective installation steps in Getting Started.
For more information about integrating with Zipkin, please see the Zipkin integration page.
The Prometheus Operator manages and operators a Prometheus instance.
As an alternative to the standard Prometheus deployment, we provide a ServiceMonitor
to monitor the Istio control plane and PodMonitor
Envoy proxies. To use these, make sure you have the Prometheus operator deployed, then run kubectl apply -f samples/addons/extras/prometheus-operator.yaml
.
Note
The example
PodMonitor
requires metrics merging to be enabled. This is enabled by default.Note
The configurations here are only for Istio deployments, and do not scrape metrics from the Kubernetes components. See the Cluster Monitoring documentation for configuring this.
Warning
When the example
PodMonitor
is used with OpenShift Monitoring, it must be created in all namespaces where istio-proxies exist. This is becausenamespaceSelector
is ignored for tenancy isolation.