UiPath Documentation
automation-suite
2023.4
false
Linux の Automation Suite のインストール ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Istio ログを有効化する方法

Istio をデバッグするには、ログを有効化する必要があります。そのためには、以下の手順を実行します。

  1. 次のコマンドを実行して、istio-ingressgateway ポッドを見つけます。ゲートウェイ ポッド名をコピーします。istio-ingressgateway-r4mbx のようになります。

    kubectl -n istio-system get pods
    kubectl -n istio-system get pods
    
  2. 次のコマンドを実行して、ゲートウェイ ポッド シェルを開きます。

    kubectl exec -it -n istio-system istio-ingressgateway-r4mbx bash
    kubectl exec -it -n istio-system istio-ingressgateway-r4mbx bash
    
  3. 次のコマンドを実行して、デバッグ レベルのログを有効化します。

    curl -X POST http://localhost:15000/logging?level=debug
    curl -X POST http://localhost:15000/logging?level=debug
    
  4. サーバー ノードから次のコマンドを実行します。

    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
    

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得