Introduction to ingress-gce controller
如果想要在 Google Cloud Platform 的 GKE 上使用 Ingress 功能,最簡單的方式就是用 GKE 本身預設提供的 ingress-gce controller。不過不知道大家在設定 ingress yaml 的時候,有沒有留意到 ingress-gce 規定 service type 只能是 NodePort,但是 ingress-nginx 卻沒有這種限制呢?
本篇文章會從 Google Cloud Platform 所提供的 load balancer 服務開始說明,並且結合 ingress-gce controller,讓大家瞭解兩者的運作方式和限制原因。
Google Cloud Platform Load Balancer
首先來說明 Google Cloud Platform 的 external load balancer 的運作流程: