mirror of https://github.com/kubernetes/kops.git
Always use TCP health check protocol for target groups
This commit is contained in:
parent
370092cb5a
commit
54decbc479
|
|
@ -465,7 +465,7 @@ resource "aws_lb_target_group" "tcp-complex-example-com-vpjolq" {
|
||||||
resource "aws_lb_target_group" "tls-complex-example-com-5nursn" {
|
resource "aws_lb_target_group" "tls-complex-example-com-5nursn" {
|
||||||
health_check {
|
health_check {
|
||||||
healthy_threshold = 2
|
healthy_threshold = 2
|
||||||
protocol = "TLS"
|
protocol = "TCP"
|
||||||
unhealthy_threshold = 2
|
unhealthy_threshold = 2
|
||||||
}
|
}
|
||||||
name = "tls-complex-example-com-5nursn"
|
name = "tls-complex-example-com-5nursn"
|
||||||
|
|
|
||||||
|
|
@ -290,7 +290,7 @@ func (_ *TargetGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, change
|
||||||
HealthCheck: terraformTargetGroupHealthCheck{
|
HealthCheck: terraformTargetGroupHealthCheck{
|
||||||
HealthyThreshold: *e.HealthyThreshold,
|
HealthyThreshold: *e.HealthyThreshold,
|
||||||
UnhealthyThreshold: *e.UnhealthyThreshold,
|
UnhealthyThreshold: *e.UnhealthyThreshold,
|
||||||
Protocol: *e.Protocol,
|
Protocol: elbv2.ProtocolEnumTcp,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue