mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
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:
committed by
Matthew Mosesohn
parent
ca8a9c600a
commit
b3745f2614
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user