[istio]istioctl command 설치

 

안녕하세요

istioctl  설치 가이드 안내 합니다.

istio ingres gateway  접속시에 denied 이슈발생하여

istioctl 명령어를 통한 라우팅 테이블들을 확인할 수 있어서

정확한 경로를 체크 하기 위함

1. 설치 가이드

1)  다운로드 및 설치

curl -L https://istio.io/downloadIstio | sh –

2) 환경 변수 적용

export PATH=$PATH:$PWD/istio-<version>/bin

 

2. istio routes 확인

kubectl get pods -A | grep istio

istioctl pc routes istio-ingressgateway-65c674fb5c-gswtw.istio-system

istioctl pc routes [istio-ingress pod name].istio-system

 

istioctl 삭제

rm $(which istioctl)

rm -rf istio-<version>

Leave a Comment