Istio 구성하기 3

Hyerin·2022년 7월 12일
0

Istio

목록 보기
3/3

istio-operator를 이용한 환경구성

"MSA 환경의 효율적인 DevOps를 위한 Istio" - https://fastcampus.co.kr/courses/207115/clips/


1. istio-operator 설치하기

istioctl operator init

2. istiooperator 리소스 설치하기

kubectl apply -f - <<EOF
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
  name: example-istiocontrolplane
spec:
  profile: demo
EOF

yml파일을 직접 생성했다.

vi demo-istiooperator.yml

apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
  name: example-istiocontrolplane
spec:
  profile: demo
  
  
kubectl apply -f demo-istiooperator.yml


로그를 확인한다.

kubectl logs -f istio-operator-5bf46844d9-gnnnw -n istio-operator 

profile
DevOps, 코딩 기록

0개의 댓글