gpt4 book ai didi

kubernetes - 如何将基于 TCP 的负载均衡器设置为云 CDN 的来源?

转载 作者:行者123 更新时间:2023-12-02 11:32:18 25 4
gpt4 key购买 nike

将源添加到 Cloud CDN 时,选项中只会出现 HTTP(S) Load Balancer。而 TCP/UDP 负载均衡器则没有。

enter image description here

是否可以将 TCP/UDP 负载均衡器设置为 Google Cloud CDN 的来源?怎么办?

在我的例子中,我真的需要 TCP/UDP 来源,因为 LB 是由 nginx 管理的(K8S Nginx Ingress,而不是 K8S GCE Ingress)。使用 Istio Gateway 时也需要解决同样的问题。

最佳答案

根据 this文件

Cloud CDN uses HTTP(S) load balancing as the origin for cacheable content. You must use HTTP(S) load balancing as the origin of content cached by Cloud CDN.

目前,无法使用 TCP 负载平衡器。

您可以提交功能请求 here有这个实现。您应该首先检查是否已满足类似的功能请求,然后对其进行投票/加注星标,因为影响大多数人的功能请求将更有可能得到实现。

关于kubernetes - 如何将基于 TCP 的负载均衡器设置为云 CDN 的来源?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51784717/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com