Skip to content

Commit

Permalink
Change health check from TCP to HTTPS (#6487)
Browse files Browse the repository at this point in the history
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.
medined authored Sep 22, 2020
1 parent 0d0cc8c commit 1805e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/terraform/aws/modules/elb/main.tf
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ resource "aws_elb" "aws-elb-api" {
healthy_threshold = 2
unhealthy_threshold = 2
timeout = 3
target = "TCP:${var.k8s_secure_api_port}"
target = "HTTPS:${var.k8s_secure_api_port}/healthz"
interval = 30
}

0 comments on commit 1805e95

Please sign in to comment.