Istio?

istio.io/

 

Istio

A service mesh for observability, security in depth, and management that speeds deployment cycles.

istio.io

ref: https://istio.io/latest/docs/concepts/what-is-istio/

 

  • 다수의 컨테이너가 동작하는 서비스 메시같은 환경에서 각각의 컨테이너의 트래픽을 관찰하고 정상 동작하는지를 모니터링하는 도구
    • Pod안에 Proxy를 배치하여 Container에서 구동하는 Application이 Proxy를 통해 통신

 

 istio 설치

istio.io/latest/docs/setup/getting-started/

 

Getting Started

Try Istio’s features quickly and easily.

istio.io

 

  • # curl -L https://istio.io/downloadIstio | sh -
  • # cd istio-1.8.2
  • # export PATH=$PWD/bin:$PATH

 

  • # istioctl profile list
  • # istioctl install --set profile=demo -y
      • demo 버전설치

 

기존에 istioctl로 컴포넌트를 addon하던 기능이 1.8버전에서는 deprecated되었다

 

grafana 설치(https://istio.io/latest/docs/ops/integrations/)

  • kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/addons/grafana.yaml
  • kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/addons/kiali.yaml
  •  

 

샘플 테스트

출처: https://istio.io/latest/docs/examples/bookinfo/

  • # kubectl label namespace default istio-injection=enable
  • # kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml

gateway 설치

  • # kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
  • # kubectl get gateways
  • # kubectl get svc -n istio-system -l istio=ingressgateway

'클라우드 > K8s' 카테고리의 다른 글

K8s 모니터링시스템  (0) 2022.04.03
K8s 오토스케일링  (0) 2022.04.03
K8s DNS  (0) 2022.04.03
K8s volume  (0) 2022.04.03
K8s 인증과 권한관리  (0) 2022.04.03

+ Recent posts