Istio Service Mesh: Envoy Sidecars

๐Ÿ’ก Istio Service Mesh: Envoy Sidecars โ€” Executive Summary

Technical architectural analysis, practical configuration manifests, and deployment instructions for Istio Service Mesh: Envoy Sidecars.

Istiod
Istiod Service Port
  • 15010: grpc-xds
  • 15012: https-dns
  • 15014: http-monitoring
  • 443: https-webhook
Envoy-Proxy
Proxy Description
  • UID information
  • runAsUser: 1337: Do not redirect to envoy
  • Proxy port definition
    • 15001: Proxy port listening for TCP outbound traffic
    • 15006: Proxy port listening for TCP inbound traffic
    • 15090: Not redirecting to Envoy,
    • 15021: Not redirecting to Envoy,
    • 15020: Not redirected to Envoy, health check (/app-health/core/livez, /app-health/core/readyz)
    • All IP Ranges, all ports: Redirect to 15001, 15006
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 *