contrib/terraform/aws: Tag instances and remove loadbalancer ip (#2023)

* Properly tag instances and subnets with `kubernetes.io/cluster/$cluster_name`

This is required by kubernetes to support multiple clusters in a single vpc/az

* Get rid of loadbalancer_apiserver_address as it is no longer needed
This commit is contained in:
Jan Jungnickel
2017-12-04 15:31:46 +01:00
committed by Matthew Mosesohn
parent ca8a9c600a
commit b3745f2614
5 changed files with 6 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ resource "aws_elb" "aws-elb-api" {
healthy_threshold = 2
unhealthy_threshold = 2
timeout = 3
target = "HTTP:8080/"
target = "TCP:${var.k8s_secure_api_port}"
interval = 30
}