Kubernetes 内部入口

Kubernetes Internal Ingress

我使用 GKE,我正在寻找一种方法来使用私有 ip 创建内部 HTTP L7 入口。 helm chart nginx provision a public L7 with public ip.

的应用

注释 nginx 控制器服务,以便 LB 供应器为您提供一个内部 IP 地址。

在你的 nginx-ingress 图表上试试这个 values.yaml:

controller:
  service:
    annotations:
      cloud.google.com/load-balancer-type: "Internal"

参考: