Istio 서비스 메시 아키텍처: Envoy 사이드카와 VirtualService

💡 핵심 요약 (Executive Summary)

본 가이드는 istio 핵심 가이드 및 실전 아키텍처의 핵심 개념, 실전 구성 명령어 및 아키텍처 베스트 프랙티스를 다룹니다. 클라우드 네이티브 및 인프라 엔지니어링 실무에 즉시 활용 가능하도록 체계적으로 정리했습니다.

📑 Table of Contents
Istiod
Istiod Service Port
  • 15010: grpc-xds
  • 15012: https-dns
  • 15014: http-monitoring
  • 443: https-webhook
Envoy-Proxy
Proxy Description
  • UID 정보
  • runAsUser: 1337: envoy로 Redirect 하지 않음
  • Proxy 포트 정의
    • 15001: TCP 아웃바운드 트래픽을 수신하는 Proxy 포트
    • 15006: TCP 인바운드 트래픽을 수신하는 Proxy 포트
    • 15090: Envoy로 Redirect 하지 않음,
    • 15021: Envoy로 Redirect 하지 않음,
    • 15020: Envoy로 Redirect 하지 않음, health check (/app-health/core/livez, /app-health/core/readyz)
    • 모든 IP Range, 모든 포트: 15001, 15006 으로 Redirect
istio-iptables
bash
#istio-init container
istio-iptables \
-p "15001" \
-z "15006" \
-u "1337" \
-m REDIRECT \
-i '*' \
-x "" \
-b '*' \
-d 15090,15021,15020 \
--log_output_level=default:info

#Flags
-u: Redirect 하지 않을 UID. 보통 프록시의 UID를 지정한다. (-u 1337)
-p: 모든 TCP 트래픽을 Redirect 할 Envoy 포트
-z: 모든 Inbound 트래픽을 Redirect 할 포트
-b: Redirect 할 Inbound Port
-d: Envoy로 Redirect 하지 않을 Inbound Port
-i: Redirect 할 IP Range
-x: Envoy로 Redirect 하지 않을 IP Range

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *