Service Mesh ์์๋ณด๊ธฐ
- [Service Mesh] 1. Service Mesh๋?
- [Service Mehs] 2. Envoy Proxy
- [Service Mesh] 3. Istio?
- [Service Mesh] 4. Istio Traffic Management (1) - Virtual Service & Destination Rule
- [Service Mesh] 5. Istio Traffic Managerment (2) - Gateway & Service Entry
- [Service Mesh] 6. Service Monitoring in Istio
- [Service Mesh] 7. Logging
์ด๋ฒ ๊ธ์์๋ Istio์ ๋ํด์ ์์๋ณด๋๋ก ํ๊ฒ ์ต๋๋ค.
Istio?
Istio๋ ๋ง์ดํฌ๋ก ์๋น์ค ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ค์ํ ์๊ตฌ ์ฌํญ์ ์ถฉ์กฑ์ํฌ ์ ์๋ ์๋น์ค ๋ฉ์ ํ๋ซํผ์ผ๋ก ์๋น์ค ๋ฉ์์ ๋ํ ํ๋ ํต์ฐฐ๋ ฅ๊ณผ ์ด์ ์ ์ด๋ฅผ ์ ๊ณตํฉ๋๋ค. Istio๋ ๋ก๋ ๋ฐธ๋ฐ์ฑ, ๋ณด์, ๊ด์ฐฐ์ฑ๊ณผ ๊ฐ์ ๋ถ๋ถ๋ค์ ์ ํ๋ฆฌ์ผ์ด์ ์ฝ๋์ ๋ณ๊ฒฝ์์ด ์ธํ๋ผ ๋ ์ด์ด์์ ์ํํ ์ ์๊ฒ ๋ฉ๋๋ค.
Istio๋ ๋ค์๊ณผ ๊ฐ์ ๊ธฐ๋ฅ์ ์ ๊ณตํฉ๋๋ค.
- Traffic Management
Istio๋ ๊ฐ๋จํ ์ค์ ์ ํตํด ์๋น์ค ๊ฐ ๋ฐ์ํ๋ ํธ๋ํฝ์ ์ ์ดํ ์ ์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ Circuit Breaker, Timeout๊ณผ ๊ฐ์ ์ค์ ์ ํ ์ ์์ผ๋ฉฐ, A/B Test ๋ฐ ์นด๋๋ฆฌ ๋ฐฐํฌ์ ๊ฐ์ ๋ฐฐํฌ ์ ๋ต์ ๋ฌ์ฑํ ์ ์์ต๋๋ค. - Security
Istio๋ฅผ ์ฌ์ฉํ๋ฉด ์ธํ๋ผ ๋ ์ด์ด์์ ๋ณด์ ์ ์ฑ ์ ์ผ๊ด๋๊ฒ ์ ์ฉํ ์ ์์ต๋๋ค. - Observability
๋คํธ์ํฌ ๊ฐ์ ๋ฐ์ํ๋ ํธ์ถ์ ์ถ์ ํ๊ฑฐ๋ ๋ชจ๋ํฐ๋ง, ๋ก๊น ์ ํตํด Service Mesh ๋คํธ์ํฌ์ ๋ํ ์ํ๋ฅผ ํ์ ํ ์ ์์ต๋๋ค.
Istio Architecture
์ถ์ฒ : Istio Document - Architecture
Istio๋ ๋ ผ๋ฆฌ์ ์ผ๋ก Data Plane๊ณผ Control Plane์ผ๋ก ๋๋์ด์ง๋๋ค.
- Data Plane
Data Plane์ Sidecar๋ก ๋ฐฐํฌ๋ Proxy๋ค๋ก ๊ตฌ์ฑ๋์ด ์์ต๋๋ค. ์ด Proxy๋ ์๋น์ค ๊ฐ์ ๋ชจ๋ ๋คํธ์ํฌ ํต์ ์ ๋ด๋นํ๊ฒ ๋๋ฉฐ Istio์์๋ Envoy Proxy๋ฅผ ์ฌ์ฉํฉ๋๋ค. - Control Plane
Control Plane์ Proxy์ ํธ๋ํฝ์ ๋ผ์ฐํ ํ๊ธฐ ์ํ ์ค์ ๋ค์ ๊ด๋ฆฌํฉ๋๋ค. Proxy๋ ์ฐ๊ฒฐ์ ์ํ ๋ค๋ฅธ Proxy์ ๋ํด ์์ง ๋ชปํ๊ณ Control Plane์ ํตํด ์ด๋๋ก ๋ณด๋ด์ง์ง ๊ฒฐ์ ๋ฉ๋๋ค.
Control Plane์ 1.5 ๋ฒ์ ์ด์ ๊น์ง๋ Mixer, Pilot, Citadel, Galley์ด๋ผ๋ ๋ชจ๋๋ก ๊ตฌ์ฑ๋์ด ์์์ง๋ง, 1.5 ๋ฒ์ ์ดํ์๋ Istiod๋ผ๋ ๋ชจ๋๋ก ํตํฉ๋์ด ์ ๊ณต๋ฉ๋๋ค. ๋จผ์ 1.5 ๋ฒ์ ์ด์ ๊น์ง ์กด์ฌํ๋ ๋ชจ๋์ ๋ํด ์์๋ณด๊ฒ ์ต๋๋ค.
- Mixer
Mixer๋ ์๋น์ค์ Telemetry๋ฅผ ์์งํ๋ ๋ฉ์ปค๋์ฆ์ ์ ๊ณตํ๋ฉฐ ๊ถํ ๋ถ์ฌ ์ ์ฑ ์ ์ํํฉ๋๋ค. - Pilot
Proxy์ ๋ํด ๋ผ์ฐํ ์ ์ํํ๊ณ Service Discovery,Timeout, Circuit Breaker ๋ฑ์ ๊ธฐ๋ฅ์ ์ ๊ณตํฉ๋๋ค. - Citadel
Istio ๋ด์ ์์ฒญ์ ์ํธํํ๋ฉฐ, ์๋น์ค์ ๊ดํ RBAC๋ฅผ ์ ๊ณตํฉ๋๋ค. - Galley
์ฌ์ฉ์๋ก๋ถํฐ Istio์ ๋ํ ์ค์ ์ ์ ์ฅ ๋ฐ ๊ฒ์ฆํ๋ ์ญํ ์ ๋ด๋นํฉ๋๋ค.
Mixer
๋ฌผ๋ก 1.5 ๋ฒ์ ์ดํ์ Mixer๊ฐ Deprecated ๋์์ง๋ง, Istio์์ Mixer๋ฅผ ํตํด Telemetry์ ๊ฐ์ ๊ธฐ๋ฅ์ ์ ๊ณตํ ๋ ์ด๋ป๊ฒ ์ธํ๋ผ ๋ฐฑ์๋์ ์ข ์์ ์ด์ง ์๊ฒ ๋๋์ง์ ๋ํด ์์๋ณด๋ ๊ฒ์ด ๋์์ด ๋ ๊ฒ ๊ฐ์ ์ด ๋ถ๋ถ์ ์ข ๋ ์ดํด๋ณด๋๋ก ํ๊ฒ ์ต๋๋ค.
์๋น์ค๊ฐ ํ์ผ ์์คํ ์ ๋ก๊ทธ๋ฅผ ์ฐ๊ฒ ๋๋ ์ํฉ์ ์์๋ก ๋ค์ด๋ณด๊ฒ ์ต๋๋ค. ์ปจํ ์ด๋๋ ์์์ ์ด๋ฏ๋ก ์ปจํ ์ด๋๊ฐ ์ข ๋ฃ๋จ์ ๋ฐ๋ผ ํ์ผ์์คํ ์ ๊ธฐ๋กํ ๋ก๊ทธ๊ฐ ์์ค ๋ ์ ์์ต๋๋ค. ์ด๋ฅผ ์ํด ์ธ๋ถ ๋ณผ๋ฅจ์ ๋ง์ดํธ ํ๊ฑฐ๋, ํด๋ผ์ฐ๋ ๋ก๊น ์์คํ ์ ๋ก๊ทธ๋ฅผ ๋ณด๋์ผ๋ก ์ด๋ฌํ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ ์ ์์ต๋๋ค. ํ์์ ๊ฒฝ์ฐ, ๋ง์ฝ ์๋ก์ด ๋ก๊ทธ ์์ง๊ธฐ๋ฅผ ๋์ ํ๋ ค๊ณ ํ๋ค๋ฉด ์๋น์ค ๋ ์ด์ด์์ ๋ก๊ทธ ์ ์ก์ ์ํ ๋ถ๋ถ์ ์ถ๊ฐํด์ผ ํฉ๋๋ค. ์ด๋ ์๋น์ค์ ํต์ฌ ๋น์ฆ๋์ค ๋ก์ง์ด ์๋ ๋ก๊น ์ ์ํ ๋ถ๋ถ์ด๋ฏ๋ก ์๋น์ค ์ ์ฅ์์๋ ๋ถํ์ํ ๊ด์ฌ์ฌ๊ฐ ์๊ธฐ๊ฒ ๋ฉ๋๋ค.
์ด๋ฐ ๋ถ๋ถ์ Istio๋ฅผ ํตํด ์ธํ๋ผ ๋ ์ด์ด์์ ์ฒ๋ฆฌํ๊ณ , ์ธํ๋ผ ๋ฐฑ์๋์ ์ํธ์์ฉ์ ํตํด ์๋น์ค๊ฐ ๋น์ฆ๋์ค ๋ก์ง์ ์ง์คํ ์ ์๋๋ก ๋ง๋ค ์ ์์ต๋๋ค. ์ด ๋, Istio์ ์ธํ๋ผ ๋ฐฑ์๋์์ ํต์ ์ ์ํด ์ถ์ํ ๋ ๋ถ๋ถ์ด Mixer์ ๋๋ค.
Adapter
ํ์ง๋ง, Mixer๊ฐ ํน์ ์ธํ๋ผ ๋ฐฑ์๋์ ์ข ์์ ์ด๊ฒ ๋๋ค๋ฉด ํ์ฅ์ฑ ์ธก๋ฉด์์ ์ฌ๋ฐ๋ฅด์ง ์์ ๊ตฌ์ฑ์ด ๋ฉ๋๋ค. ์ธํ๋ผ ๋ฐฑ์๋๊ฐ ๋ณ๊ฒฝ๋ ๋๋ง๋ค istio๋ ์ํฅ์ ๋ฐ๊ฒ ๋๋ค๋ฉด ์ ์ง ๋ณด์ ๋ฐ ํ์ฅ์ ์ฉ์ดํ์ง ์์ ๊ตฌ์กฐ๊ฐ ๋์ด๋ฒ๋ฆฝ๋๋ค. ์ด๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด Mixer๋ Adapter๋ผ๋ ํ๋ฌ๊ทธ์ธ์ ์ ๊ณตํฉ๋๋ค.
Adapter๋ Mixer๊ฐ ์ธํ๋ผ ๋ฐฑ์๋์ ์ํธ์์ฉํ๋ฉฐ ์ธํ๋ผ ์ ๊ณต์๋ก๋ถํฐ ์ถ์ํ๋ ์ํ๋ฅผ ์ ์งํ ์ ์๋๋ก ํด์ค๋๋ค. Adapter๋ฅผ ์ฌ์ฉํ๋ฉด Mixer๋ ์ฌ์ฉ ์ค์ธ ์ธํ๋ผ ๋ฐฑ์๋์ ์๊ด์์ด ์ผ๊ด๋ API๋ฅผ ๋ ธ์ถํ ์ ์๊ฒ๋ฉ๋๋ค. Adpater๋ฅผ ํตํด ์ถ์ํ ๋ Mixer์ ๊ตฌ์กฐ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
Attribute
Mixer๋ ๋ค์ํ ์ธํ๋ผ ๋ฐฑ์๋๋ฅผ ์ ํํ๊ฑฐ๋ ๋ณด๋ผ ๋ฐ์ดํฐ๋ฅผ ๊ฒฐ์ ํ ๋ Attribute์ ์ฌ์ฉํฉ๋๋ค.
Attribute๋ ์์ฒญ์ ํน์ฑ์ ์ ์ํ๋ ๋ฐ์ดํฐ๋ก ์์ฒญ ๊ฒฝ๋ก, IP ์ฃผ๋ก, ์๋ต ์ฝ๋์ ๊ฐ์ ๋ฐ์ดํฐ๊ฐ ํฌํจ๋์ด ์์ต๋๋ค. Mixer๋ ์ด๋ฐ Attribute๋ฅผ ์์ ํ๊ณ ์ธํ๋ผ ๋ฐฑ์๋๋ฅผ ํธ์ถํ๊ฒ ๋ฉ๋๋ค. ํ์ง๋ง ์ฌ๊ธฐ์ ๊ถ๊ธํ ์ ์ ์ด๋ค ์ธํ๋ผ ๋ฐฑ์๋๊ฐ ํ์ฑํ ๋์ด ์๊ณ , ์์ ํ ์์ฑ์ Adapter ์์ฑ์ ๋งคํํ๋ ๋ฐฉ๋ฒ๊ณผ ๊ฐ์ ๋ถ๋ถ๋ค์ ๋ํ ์ฒ๋ฆฌ๊ฐ ์ด๋ป๊ฒ ๋์ํ๋์ง ์ ๋๋ค. ์ด๋ฐ ๋ถ๋ถ๋ค์ Mixer์ Configuration Model์ ์ํด ์ฒ๋ฆฌ๋ฉ๋๋ค.
Configuration Model
Configuration Model์์๋ ๋ค์๊ณผ ๊ฐ์ 3๊ฐ์ง ์ข ๋ฅ์ ๋ํ ๊ตฌ์ฑ์ ์ ์ํฉ๋๋ค.
- Instance
Mixer๊ฐ ์์ ํ Attribute๋ฅผ ์ด๋ป๊ฒ ์ฒ๋ฆฌํ ๊ฒ์ธ์ง์ ๋ํ ์ ์๋ฅผ ์๋ฏธํฉ๋๋ค. ์ด ๋ฐ์ดํฐ ํ ํ๋ฆฟ์ Handler์๊ฒ ๋๊ฒจ์ฃผ๊ฒ ๋ฉ๋๋ค. - Handler
Instance์ ๋ฐ์ดํฐ๋ฅผ Adapter ์ ๋ ฅ์ ์ด๋ป๊ฒ ๋งคํํ ๊ฒ์ธ์ง๋ฅผ ์ ์ํ๋ ๋ถ๋ถ์ ๋๋ค. ์๋ฅผ ๋ค๋ฉด CloudWatch Adapter์ ๋ณด๋ด๊ธฐ ์ํด Json Payload๋ฅผ ์ ์ํ๋ ๋ถ๋ถ์ด ๋ฉ๋๋ค. - Rule
Instance์ Handler๋ฅผ ๋งคํํด Adapter์ ์ค์ ๋ก ๋ฐ์ดํฐ๋ฅผ ์ ์กํ๋ฉฐ, ๋งคํํ๊ธฐ ์ํ๋ ์กฐ๊ฑด(ex. TCP์ธ ๊ฒฝ์ฐ)์ ์ ์ํ ์ ์์ต๋๋ค.
Istio 1.5 ๋ฒ์ ์ด์๋ถํฐ๋ ํตํฉ๋ Control Plane์ธ Istiod๋ฅผ ํตํด Pilot, Galley, Citadel์ ์ญํ ์ ์ํํ๊ฒ ๋ฉ๋๋ค. ํ์ง๋ง Mixer๊ฐ ์ํํ๋ ์ญํ ์ ์ฑ๋ฅ์์ ์ด์๋ก Istiod๊ฐ ์๋ Envoy Proxy ์ชฝ์ WebAssembly Extension์ ์ฌ์ฉํด์ ์ ๊ณต๋ฉ๋๋ค. ์์ธํ ๋ด์ฉ์ Istio ๋ฌธ์์์ ํ์ธํ์ค ์ ์์ต๋๋ค. (Istio 1.7๊น์ง๋ Mixer๋ฅผ ์ฌ์ฉํ ์๋ ์์์ง๋ง, 1.8 ๋ถํฐ๋ ์์ ํ ์ญ์ ๋์์ต๋๋ค.)
Install
Istio ๊ณต์ ๋ฌธ์๋ฅผ ์ฐธ๊ณ ํด Istio์ ํจ๊ป ๋์ํ๋ Sample Application์ ๋ฐฐํฌํด๋ณด๊ฒ ์ต๋๋ค. ์๋์ ๋ชจ๋ ๊ณผ์ ์ Minikube Cluster๋ฅผ ์ฌ์ฉํด์ ๋ฐฐํฌ๋ฅผ ์งํํ์์ต๋๋ค.
๋จผ์ kubectl๊ณผ ๊ฐ์ด Istio์ ์์ ์ ์ํํ๊ธฐ ์ํ ์์ฒด CLI์ธ istioctl์ ์ค์นํ๋๋ก ํ๊ฒ ์ต๋๋ค.
โถ curl -L https://istio.io/downloadIstio | sh -
โถ cd istio-1.8.1 && export PATH=$PWD/bin:$PATH
์ค์นํ istioctl์ ํตํด Istio ์ปดํฌ๋ํธ๋ฅผ ์ค์นํ๊ฒ ์ต๋๋ค. Istio์ ์ค์น Profile์ ์ด ๊ธ์์ ํ์ธํ ์ ์์ผ๋ฉฐ ์ ๋ ๋ชจ๋ ์ปดํฌ๋ํธ๋ฅผ ์ค์นํ๋ demo Profile์ ์ฌ์ฉํ์์ต๋๋ค. ์ถ๊ฐ๋ก ์ดํ ๋ฐฐํฌํ Sample Application์ default namespace์ ๋ฐฐํฌ๋๋ฉฐ, ๋ฐฐํฌ ์ ์๋์ผ๋ก Envoy Proxy๋ฅผ Sidecar๋ก ๋ฐฐํฌํ๊ธฐ ์ํด namespace์ label์ ์ถ๊ฐํด์คฌ์ต๋๋ค.
โถ istioctl install --set profile=demo -y
Detected that your cluster does not support third party JWT authentication. Falling back to less secure first party JWT. See https://istio.io/v1.8/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for details.
โ Istio core installed
โ Istiod installed
โ Ingress gateways installed
โ Egress gateways installed
โ Installation complete
โถ kcl label namespace default istio-injection=enabled
namespace/default labeled
Sample Application์ ์ค์นํ๊ธฐ ์ด์ ์ ์์ ๋ช ๋ น์ด๋ก ์ค์น๋ Istio CRD๋ฅผ ๊ฐ๋จํ๊ฒ ์ดํด๋ณด๊ฒ ์ต๋๋ค.
- Virtual Service
์๋น์ค๊ฐ ๋ค๋ฅธ ํธ์คํธ๋ฅผ ํธ์ถํ ๋ ์ฌ์ฉ๋๋ ํธ๋ํฝ ๊ท์น์ ๋ํ ์ ์๋ฅผ ์๋ฏธํฉ๋๋ค. - Destination Rule
Load Balancing, Connection Pool Size์ ๊ฐ์ ๊ตฌ์ฑ์ ๋ค๋ฃจ๋ฉฐ, ๋ผ์ฐํ ์ด ๋๋ฌ์ ๋ ์ ์ฉ๋ฉ๋๋ค. - Service Entry
Istio์ Service Registry ์๋์ผ๋ก ์๋น์ค์ ๋ํ ์ ์๋ฅผ ์ถ๊ฐํ ๋ ์ฌ์ฉ๋ฉ๋๋ค. ์๋น์ค์ ์ฃผ์, ํ๋กํ ์ฝ, ํฌํธ๋ฒํธ์ ๊ฐ์ ๊ตฌ์ฑ์ด ํฌํจ๋ฉ๋๋ค. - Gateway
Service Mesh ์ ๊ตฌ์์ ํน์ ํฌํธ๋ก ์ธ๋ถ ์ฐ๊ฒฐ์ ์์ ํ๊ณ ๋ด๋ถ์ ํธ๋ํฝ์ ๋ผ์ฐํ ํ๋ ์ญํ ์ ๋ด๋นํฉ๋๋ค. - Envoy FIlter
Envoy Proxy ๊ด๋ จ ํํฐ๋ฅผ ์ ์ํ์ฌ ์ฌ์ฉํ ์ ์์ต๋๋ค. - Policy
๋ณด์, ์์ฒญ ๋ฑ๊ณผ ๊ฐ์ ์๋น์ค์ ๊ดํ ๊ท์น์ ์ ์ํ๋ ๋ถ๋ถ์ ๋๋ค.
๋ค์์ผ๋ก Sample Application์ ์ค์นํฉ๋๋ค.
โถ kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
service/details created
serviceaccount/bookinfo-details created
deployment.apps/details-v1 created
service/ratings created
serviceaccount/bookinfo-ratings created
deployment.apps/ratings-v1 created
service/reviews created
serviceaccount/bookinfo-reviews created
deployment.apps/reviews-v1 created
deployment.apps/reviews-v2 created
deployment.apps/reviews-v3 created
service/productpage created
serviceaccount/bookinfo-productpage created
deployment.apps/productpage-v1 created
์ค์น๊ฐ ์๋ฃ๋๋ฉด Cluster ์ธ๋ถ์์ Sample Application์ ์ ๊ทผํ๊ธฐ ์ํด Istio Ingress Gateway๋ฅผ ์์ฑํด์ผํฉ๋๋ค.
โถ kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
gateway.networking.istio.io/bookinfo-gateway created
virtualservice.networking.istio.io/bookinfo created
Ingress Gateway๊ฐ ์ค์น๋๋ฉด ์ธ๋ถ ์ ์์ ์ํ ์ฃผ์๋ฅผ ํ๊ฒฝ๋ณ์๋ก ์์ฑํ์ฌ ์ ๊ทผํ ์ ์์ต๋๋ค.
โถ export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}')
โถ export SECURE_INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="https")].nodePort}')
โถ export INGRESS_HOST=$(minikube ip)
โถ export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT
Minikube Cluster์ ์ธ๋ถ์์ ์ ๊ทผํ๊ธฐ ์ํด์ ๋ค์ ๋ช ๋ น์ด๋ฅผ ์คํํด์ค๋๋ค. (์ด ๋ ์๋ก์ด ํฐ๋ฏธ๋์์ ์คํ์์ผ์ผ ํฉ๋๋ค.)
โถ minikube tunnel
Istio ๊ธฐ๋ณธ ์ปดํฌ๋ํธ ์ด์ธ์๋ ๋ช๊ฐ์ง์ telemetry ์๋ฃจ์ ์ ์ฌ์ฉํด ์ ํ๋ฆฌ์ผ์ด์ ์ ์ํ๋ฅผ ํ์ธํ ์ ์์ต๋๋ค. Prometheus, Grafana, Kiali ๋ฑ์ ์ปดํฌ๋ํธ๊ฐ ํฌํจ๋์ด ์๋ addon์ ์ค์นํด๋ณด๊ฒ ์ต๋๋ค.
โถ kubectl apply -f samples/addons
serviceaccount/grafana created
configmap/grafana created
service/grafana created
deployment.apps/grafana created
configmap/istio-grafana-dashboards created
configmap/istio-services-grafana-dashboards created
deployment.apps/jaeger created
service/tracing created
service/zipkin created
service/jaeger-collector created
customresourcedefinition.apiextensions.k8s.io/monitoringdashboards.monitoring.kiali.io created
serviceaccount/kiali created
configmap/kiali created
clusterrole.rbac.authorization.k8s.io/kiali-viewer created
clusterrole.rbac.authorization.k8s.io/kiali created
clusterrolebinding.rbac.authorization.k8s.io/kiali created
service/kiali created
deployment.apps/kiali created
serviceaccount/prometheus created
configmap/prometheus created
clusterrole.rbac.authorization.k8s.io/prometheus created
clusterrolebinding.rbac.authorization.k8s.io/prometheus created
service/prometheus created
deployment.apps/prometheus created
์ค์น๊ฐ ์๋ฃ๋๋ฉด istioctl์ ํตํด addon ์ปดํฌ๋ํธ์ ๋์๋ณด๋์ ์ ๊ทผํ ์ ์์ต๋๋ค.
โถ istioctl dashboard prometheus
http://localhost:9090
โถ istioctl dashboard grafana
http://localhost:3000
โถ istioctl dashboard kiali
http://localhost:20001/kiali
์ด๋ฒ ๊ธ์์๋ Istio์ ๋ํ ๊ตฌ์ฑ๊ณผ ๊ณต์ ๋ฌธ์๋ฅผ ์ฐธ๊ณ ํ์ฌ Istio ์์์ ์คํ๋๋ Sample Application์ ๋ํด ์คํํด๋ณด์์ต๋๋ค. ๋ค์ ๊ธ์์๋ Istio CRD์ธ Virtual Service์ ๋ํด ์ข ๋ ์์ธํ ์์๋ณด๋๋ก ํ๊ฒ ์ต๋๋ค.
์ฐธ๊ณ ์๋ฃ
'๐ Service Mesh' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Service Mesh] 6. Service Monitoring in Istio (0) | 2021.01.19 |
---|---|
[Service Mesh] 5. Istio Traffic Management (2) - Gateway & Service Entry (0) | 2021.01.16 |
[Service Mesh] 4. Istio Traffic Management (1) - Virtual Service & Destination Rule (0) | 2021.01.14 |
[Service Mesh] 2. Envoy Proxy (0) | 2020.12.21 |
[Service Mesh] 1. Service Mesh๋? (0) | 2020.12.20 |
๋๊ธ