azure - 在 Azure AKS 中创建内部混合协议负载均衡器
问题描述
我正在尝试使用此 yaml 在 Azure AKS(已尝试 1.15.5、1.15.7 和 1.16.4)中创建一个内部混合协议负载均衡器:
---
apiVersion: v1
kind: Service
metadata:
annotations:
service.beta.kubernetes.io/azure-load-balancer-mixed-protocols: "true"
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
name: consullb
spec:
ports:
- port: 8500
targetPort: 8500
name: http
protocol: TCP
- port: 8400
targetPort: 8400
name: rpc
protocol: TCP
- port: 8301
targetPort: 8301
name: serflan-tcp
protocol: TCP
- port: 8302
targetPort: 8302
name: serfwan-tcp
protocol: TCP
- port: 8300
targetPort: 8300
name: server
protocol: TCP
- port: 8600
targetPort: 8600
name: consuldns-tcp
protocol: TCP
- port: 8301
targetPort: 8301
name: serflan-udp
protocol: UDP
- port: 8302
targetPort: 8302
name: serfwan-udp
protocol: UDP
- port: 8600
targetPort: 8600
name: consuldns-udp
protocol: UDP
selector:
component: consul-1582621245-consul
type: LoadBalancer
我收到以下错误:
cannot create an external load balancer with mix protocols
我测试了两个不同的集群,一个使用标准 SKU,一个使用基本 SKU。
我在这里缺少什么吗?或者有人可以指出我在其他方面尝试/解决问题吗?
解决方案
推荐阅读
- linkedin - 在 LinkedIn 上共享不起作用/LinkedIn Page Inspector 出现问题
- apache-kafka - Kafka,流应用程序运行了几天,然后“警告代理可能不可用”
- spring - Spring Security Oauth2 在没有访问令牌的情况下验证客户端
- r - R按列号而不是名称过滤
- c# - params ViewResult[] 将相同的模型应用于作为参数传递的所有 ViewResult 实例
- angular - 对 Angular 中 NgRx 操作的困惑
- python - 使用 pyarrow 从 Windows 共享驱动器读取镶木地板文件
- c# - 如何重新排列 linq select 子句中的列/字段
- vuejs2 - 无法获取动态子组件的包装器
- excel - 如果范围包含空单元格,则显示满足 LOOKUP 标准的最新值