automation-suite
2024.10
true
UiPath logo, featuring letters U and I in white
Guía de instalación de Automation Suite en Linux
Last updated 14 de nov. de 2024

Cómo habilitar el registro de Istio

Para depurar Istio, es necesario habilitar el registro. Para ello, realiza los siguientes pasos:

  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

¿Te ha resultado útil esta página?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Uipath Logo White
Confianza y seguridad
© 2005-2024 UiPath. Todos los derechos reservados.