当我使用Helm和Terraform部署Incrans Alb时,如何获得负载平衡器的域名?
我正在部署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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论