【问题标题】:Azure Kubernetes LB annotationsAzure Kubernetes LB 注释
【发布时间】:2021-09-07 12:28:27
【问题描述】:

服务对象的 kubernetes 官方文档有一些关于连接耗尽、超时、附加标签等的注释,但仅限于 AWS。

我希望在 Azure 云上部署 K8S 时也能找到同样的方法。

例如,

 annotations:
    service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled: "true"
    service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout: "60"
    service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout: "300"
    service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "600"
    service.beta.kubernetes.io/aws-load-balancer-healthcheck-healthy-threshold: "2"
    service.beta.kubernetes.io/aws-load-balancer-healthcheck-interval: "6"
    service.beta.kubernetes.io/aws-load-balancer-healthcheck-timeout: "5"
    service.beta.kubernetes.io/aws-load-balancer-healthcheck-unhealthy-threshold: "3"
    service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0

来自official documentation listed here

如果不存在这样的注释,有人可以帮我在 Azure 云上实现同样的效果。提前致谢!

【问题讨论】:

  • kavyasaraboju-MT 提供的答案对您有帮助吗?如果是这样,您能否接受答案(单击答案旁边的复选标记以将其从灰色切换为已填充)作为您的问题的解决方案。这可能对其他社区成员有益。
  • 它看起来是一个很棒的资源!让我检查一下它是否为我们所有的用例提供了注释。

标签: azure kubernetes kubernetes-ingress istio azure-aks


【解决方案1】:

你可以找到:

  • Azure Kubernetes 服务支持的注释列表,类型为 负载均衡器:

https://kubernetes-sigs.github.io/cloud-provider-azure/topics/loadbalancer/#loadbalancer-annotations

  • Azure App Gateway Ingress 控制器 kubernetes 注释列表:

https://azure.github.io/application-gateway-kubernetes-ingress/annotations/

【讨论】:

  • 这些资源很好,谢谢!让我检查一下它是否为我们所有的用例提供了注释。
猜你喜欢
  • 1970-01-01
  • 2021-05-07
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-02-18
  • 1970-01-01
相关资源
最近更新 更多