Change health check from TCP to HTTPS (#6487)
I kept seeing `TLS handshake error from 10.250.250.158:63770: EOF` from two IP addresses that correlate to my ELB. Changing the health check from TCP to HTTPS stopped the errors from being generated.
This commit is contained in:
parent
0d0cc8cf9c
commit
1805e95b69
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ resource "aws_elb" "aws-elb-api" {
|
||||||
healthy_threshold = 2
|
healthy_threshold = 2
|
||||||
unhealthy_threshold = 2
|
unhealthy_threshold = 2
|
||||||
timeout = 3
|
timeout = 3
|
||||||
target = "TCP:${var.k8s_secure_api_port}"
|
target = "HTTPS:${var.k8s_secure_api_port}/healthz"
|
||||||
interval = 30
|
interval = 30
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue