当我使用Helm和Terraform部署Incrans Alb时,如何获得负载平衡器的域名?

发布于 2025-02-06 10:26:40 字数 599 浏览 2 评论 0原文

我正在部署EKS群集,在此内部部署了基于ALB的入口控制器。 我需要获取负载平衡器的DNS,以便我可以在Route53中配置CNAME。

...
resource "helm_release" "aws_lb_controller" {
  name              = "aws-load-balancer-controller"
  repository        = "https://aws.github.io/eks-charts"
  chart             = "aws-load-balancer-controller"
  namespace         = "kube-system"
  force_update      = "true"
  dependency_update = "true"
  depends_on = [ aws_iam_role.aws_lb_controller_role, null_resource.get_kubeconfig]
  # version           = "2.4.2" # current

  set {
...
...
...
}
...

I'm deploying an EKS cluster and within that I'm deploying ALB based ingress controller.
I need to get the DNS of the load balancer so I can configure a CNAME in Route53.

...
resource "helm_release" "aws_lb_controller" {
  name              = "aws-load-balancer-controller"
  repository        = "https://aws.github.io/eks-charts"
  chart             = "aws-load-balancer-controller"
  namespace         = "kube-system"
  force_update      = "true"
  dependency_update = "true"
  depends_on = [ aws_iam_role.aws_lb_controller_role, null_resource.get_kubeconfig]
  # version           = "2.4.2" # current

  set {
...
...
...
}
...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文