automation-suite
2024.10
true
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.
UiPath logo, featuring letters U and I in white

Guía de instalación de Automation Suite en Linux

Última actualización 6 de nov. de 2025

Cómo habilitar el registro de Istio

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

  1. Edita el mapa de configuración istio en el espacio de nombres istio-system , utilizando el siguiente comando:
    kubectl edit cm -n istio-system istiokubectl edit cm -n istio-system istio
  2. En data.mesh, añade los siguientes campos:
    accessLogFile: /dev/stdout
    logLevel: debug
    accessLogEncoding: "JSON"accessLogFile: /dev/stdout
    logLevel: debug
    accessLogEncoding: "JSON"
    El siguiente ejemplo es un ejemplo de un mapa de configuración istio actualizado:
    apiVersion: v1
    data:
      mesh: |-
        accessLogFile: /dev/stdout
        logLevel: debug
        accessLogEncoding: "JSON"
        accessLogFormat: |
          {
          "start_time": "%START_TIME%",
          "trace_parent": "%REQ(TRACEPARENT)%",
          "method": "%REQ(:METHOD)%",
          "path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%",
          "protocol": "%PROTOCOL%",
          "response_code": "%RESPONSE_CODE%",
          "response_flags": "%RESPONSE_FLAGS%",
          "bytes_received": "%BYTES_RECEIVED%",
          "bytes_sent": "%BYTES_SENT%",
          "duration": "%DURATION%",
          "upstream_service_time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%",
          "x_forwarded_for": "%REQ(X-FORWARDED-FOR)%",
          "user_agent": "%REQ(USER-AGENT)%",
          "request_id": "%REQ(X-REQUEST-ID)%",
          "authority": "%REQ(:AUTHORITY)%",
          "upstream_host": "%UPSTREAM_HOST%"
          }
        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
        accessLogEncoding: "JSON"
        accessLogFormat: |
          {
          "start_time": "%START_TIME%",
          "trace_parent": "%REQ(TRACEPARENT)%",
          "method": "%REQ(:METHOD)%",
          "path": "%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%",
          "protocol": "%PROTOCOL%",
          "response_code": "%RESPONSE_CODE%",
          "response_flags": "%RESPONSE_FLAGS%",
          "bytes_received": "%BYTES_RECEIVED%",
          "bytes_sent": "%BYTES_SENT%",
          "duration": "%DURATION%",
          "upstream_service_time": "%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%",
          "x_forwarded_for": "%REQ(X-FORWARDED-FOR)%",
          "user_agent": "%REQ(USER-AGENT)%",
          "request_id": "%REQ(X-REQUEST-ID)%",
          "authority": "%REQ(:AUTHORITY)%",
          "upstream_host": "%UPSTREAM_HOST%"
          }
        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. Reinicia las implementaciones de istio utilizando los siguientes comandos:
    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
Confianza y seguridad
© 2005-2025 UiPath. Todos los derechos reservados.