UiPath Documentation
automation-suite
2022.4
false
Guía de instalación de Automation Suite
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.

Cómo habilitar el registro de Istio

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

  1. Encuentra el pod istio-ingressgateway ejecutando el siguiente comando. Copia el nombre del pod de la puerta de enlace. Debería tener este formato: istio-ingressgateway-r4mbx.

    kubectl -n istio-system get pods
    kubectl -n istio-system get pods
    
  2. Abre el shell del pod de la puerta de enlace ejecutando el siguiente comando.

    kubectl exec -it -n istio-system istio-ingressgateway-r4mbx bash
    kubectl exec -it -n istio-system istio-ingressgateway-r4mbx bash
    
  3. Habilita el registro de nivel de depuración ejecutando el siguiente comando.

    curl -X POST http://localhost:15000/logging?level=debug
    curl -X POST http://localhost:15000/logging?level=debug
    
  4. Ejecuta el siguiente comando desde un nodo de servidor.

    istioctl_bin=$(find /var/lib/rancher/rke2/ -name "istioctl" -type f -perm -u+x   -print -quit)
    if [[ -n ${istioctl_bin} ]]
    then
    echo "istioctl bin found"
      kubectl -n istio-system get cm istio-installer-base -o go-template='{{ index .data "istio-base.yaml" }}'  > istio-base.yaml
      kubectl -n istio-system get cm istio-installer-overlay  -o go-template='{{ index .data "overlay-config.yaml" }}'  > overlay-config.yaml
      ${istioctl_bin} -i istio-system install -y -f istio-base.yaml -f overlay-config.yaml --set meshConfig.accessLogFile=/dev/stdout --set meshConfig.accessLogEncoding=JSON
    else
      echo "istioctl bin not found"
    fi
    istioctl_bin=$(find /var/lib/rancher/rke2/ -name "istioctl" -type f -perm -u+x   -print -quit)
    if [[ -n ${istioctl_bin} ]]
    then
    echo "istioctl bin found"
      kubectl -n istio-system get cm istio-installer-base -o go-template='{{ index .data "istio-base.yaml" }}'  > istio-base.yaml
      kubectl -n istio-system get cm istio-installer-overlay  -o go-template='{{ index .data "overlay-config.yaml" }}'  > overlay-config.yaml
      ${istioctl_bin} -i istio-system install -y -f istio-base.yaml -f overlay-config.yaml --set meshConfig.accessLogFile=/dev/stdout --set meshConfig.accessLogEncoding=JSON
    else
      echo "istioctl bin not found"
    fi
    

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte(opens in new window)

¿Quiere aprender? UiPath Academy(opens in new window)

¿Tiene alguna pregunta? Foro de UiPath(opens in new window)

Manténgase actualizado