sku*_*erk 6 google-cloud-platform google-kubernetes-engine
我能够连接到Kubernetes中我的pod中运行的应用程序,但这是基于以下文档的负载均衡器网关:
https://cloud.google.com/container-engine/docs/tutorials/http-balancer
有没有办法在Google Container Engine上运行Web服务器,而无需为每个单独的负载均衡器支付18美元/月?
尝试使用type: Nodeport该服务。这将在所有节点上打开一个端口。然后您可以使用将流量定向到该端口。参考: https: //kubernetes.io/docs/concepts/services-networking/service/
| 归档时间: |
|
| 查看次数: |
560 次 |
| 最近记录: |