Istio 101 : Access logs and Envoy



Access logging are disabled for istio default profile. 

We could change that by instructing istio to print access logs to the standard output as follows:


To selectively enable access logs we could use the telemetry resource.

Below is an example of a telemetry resource for pods with the label -  run: tele-pods - in the - istio-systemnamespace:


Istio configuration for telemetry can span the whole mesh, be confined to a specific namespace or get only applied only to specific applications or workloads.

Remark: 

Workload-specific telemetry configuration overrides the mesh and the namespace telemetry configuration.

The provider in our Yaml file is "envoy" but it could also be "prometheus" for example.

Comments

Leave as a comment:

Archive