Kubernetes Ingress controllers comparison
術語 | 說明 |
---|---|
Downstream | 前端 |
Upstream | 後端 |
術語 | 說明 | ex |
---|---|---|
Listener | 前端監聽的位址 | www.example.com, 123.123.123.123 |
Router | 路由規則 | 443 -> 80, path strip, add/remove header … |
Cluster | 後端服務的集合 | web server cluster |
Endpoint | 後端服務的port | 80 port |
Host | 服務主體 | web01, web02, web03 |
術語 | 縮寫 | 說明 |
---|---|---|
ingress gateway | gw | 前端 |
VirtualService | vs | 後端 |
DestinationRule | dr | 路由規則 |
egress gateway | x | 外部資源 |
serviceEntry | x | 外部資源 |
下載最新版本
下載指定版本
設定環境變數
istio安裝參數
參數 | 說明 |
---|---|
holdApplicationUntilProxyStarts | 啟動完istio元件後,再啟動app pod |
istio-ingressgateway.type | ingressgateway type |
meshConfig.accessLogFile | 啟動envoy log |
meshConfig.accessLogEncoding | log type |
更新ingress-gateway的nodeport為30080
Addon
sidecar injection
Istio injector annotations don't work
結論: 啟用namespace自動注入,再用annotation控制