automation-suite
2024.10
true
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Automation Suite unter Linux – Installationsanleitung

Letzte Aktualisierung 10. Juni 2025

So können Sie die Istio-Protokollierung aktivieren

Um Istio zu debuggen, müssen Sie die Protokollierung aktivieren. Führen Sie dazu die folgenden Schritte aus:

  1. Bearbeiten Sie die istio configmap im istio-system -Namespace mit dem folgenden Befehl:
    kubectl edit cm -n istio-system istiokubectl edit cm -n istio-system istio
  2. Fügen Sie unter data.mesh die folgenden Felder hinzu:
    accessLogFile: /dev/stdout
    logLevel: debug
    accessLogEncoding: "JSON"accessLogFile: /dev/stdout
    logLevel: debug
    accessLogEncoding: "JSON"
    Das folgende Beispiel ist ein Beispiel für eine aktualisierte istio -Konfigurationszuordnung:
    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. Starten Sie die istio -Bereitstellungen mithilfe der folgenden Befehle neu:
    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

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo White
Vertrauen und Sicherheit
© 2005–2025 UiPath. Alle Rechte vorbehalten