automation-suite
2024.10
true
UiPath logo, featuring letters U and I in white

Automation Suite on Linux Installation Guide

Last updated Jan 8, 2025

How to enable Istio logging

To debug Istio, you need to enable logging. To do that, perform the following steps:

  1. Edit the istio configmap in istio-system namespace, by using the following command:
    kubectl edit cm -n istio-system istiokubectl edit cm -n istio-system istio
  2. Under data.mesh, add the following fields:
    accessLogFile: /dev/stdout
    logLevel: debugaccessLogFile: /dev/stdout
    logLevel: debug
    The following sample is an example of an updated istio configmap:
    apiVersion: v1
    data:
      mesh: |-
        accessLogFile: /dev/stdout
        logLevel: debug
        defaultConfig:
          discoveryAddress: istiod.istio-system.svc:15012
          image:
            imageType: distroless
          proxyMetadata:
            WASM_INSECURE_REGISTRIES: '*'
        defaultProviders:
          metrics:
          - prometheus
        enablePrometheusMerge: true
        extensionProviders:
        - envoyExtAuthzHttp:
            includeHeadersInCheck:
            - authorization
            - cookie
            port: 80
            service: auth-oauth2-proxy.uipath.svc.cluster.local
          name: oauth2-proxy
        rootNamespace: istio-system
        trustDomain: cluster.local
      meshNetworks: 'networks: {}'
    kind: ConfigMap
    metadata:
      annotations:
        meta.helm.sh/release-name: istiod
        meta.helm.sh/release-namespace: istio-system
      labels:
        app.kubernetes.io/managed-by: Helm
        install.operator.istio.io/owning-resource: unknown
        istio.io/rev: default
        operator.istio.io/component: Pilot
        release: istiod
      name: istio
      namespace: istio-system
      resourceVersion: "180392"
      uid: 30647d4d-f62a-477e-ad80-c98a93f48855apiVersion: v1
    data:
      mesh: |-
        accessLogFile: /dev/stdout
        logLevel: debug
        defaultConfig:
          discoveryAddress: istiod.istio-system.svc:15012
          image:
            imageType: distroless
          proxyMetadata:
            WASM_INSECURE_REGISTRIES: '*'
        defaultProviders:
          metrics:
          - prometheus
        enablePrometheusMerge: true
        extensionProviders:
        - envoyExtAuthzHttp:
            includeHeadersInCheck:
            - authorization
            - cookie
            port: 80
            service: auth-oauth2-proxy.uipath.svc.cluster.local
          name: oauth2-proxy
        rootNamespace: istio-system
        trustDomain: cluster.local
      meshNetworks: 'networks: {}'
    kind: ConfigMap
    metadata:
      annotations:
        meta.helm.sh/release-name: istiod
        meta.helm.sh/release-namespace: istio-system
      labels:
        app.kubernetes.io/managed-by: Helm
        install.operator.istio.io/owning-resource: unknown
        istio.io/rev: default
        operator.istio.io/component: Pilot
        release: istiod
      name: istio
      namespace: istio-system
      resourceVersion: "180392"
      uid: 30647d4d-f62a-477e-ad80-c98a93f48855
    
  3. Restart the istio deployments, by using the following commands:
    kubectl rollout restart deploy/istiod -n istio-system
    kubectl rollout restart ds/istio-ingressgateway -n istio-systemkubectl rollout restart deploy/istiod -n istio-system
    kubectl rollout restart ds/istio-ingressgateway -n istio-system

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2025 UiPath. All rights reserved.