diff --git a/aws/container-linux/kubernetes/ingress.tf b/aws/container-linux/kubernetes/ingress.tf index 480c6d44..ae42f390 100644 --- a/aws/container-linux/kubernetes/ingress.tf +++ b/aws/container-linux/kubernetes/ingress.tf @@ -18,7 +18,7 @@ resource "aws_elb" "ingress" { instance_protocol = "tcp" } - # Kubelet HTTP health check + # Ingress Controller HTTP health check health_check { target = "HTTP:10254/healthz" healthy_threshold = 2 diff --git a/aws/container-linux/kubernetes/outputs.tf b/aws/container-linux/kubernetes/outputs.tf new file mode 100644 index 00000000..66ba3f88 --- /dev/null +++ b/aws/container-linux/kubernetes/outputs.tf @@ -0,0 +1,5 @@ +output "ingress_dns_name" { + value = "${aws_elb.ingress.dns_name}" + description = "DNS name of the ELB for distributing traffic to Ingress controllers" +} +