Skip to content
Snippets Groups Projects
Unverified Commit 1805e95b authored by David Medinets's avatar David Medinets Committed by GitHub
Browse files

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.
parent 0d0cc8cf
Branches
Tags
No related merge requests found
...@@ -42,7 +42,7 @@ resource "aws_elb" "aws-elb-api" { ...@@ -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
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment