Skip to content

Commit da1d821

Browse files
committed
data/aws/vpc/master-elb: Set thresholds back to two
These were changes from two to three in 16dfbb3 (data/aws: use nlbs instead of elbs, 2019-11-01, openshift#594): $ git show 16dfbb3 | grep _threshold | sort | uniq - healthy_threshold = 2 - # healthy_threshold = 2 + healthy_threshold = 3 - unhealthy_threshold = 2 - # unhealthy_threshold = 2 + unhealthy_threshold = 3 Alex doesn't remember intentionally making that change, and the lower thresholds will hopefully help mitigate some issues with continued connection attempts to API servers which are in the process of shutting down.
1 parent 5a3c57c commit da1d821

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

data/data/aws/vpc/master-elb.tf

+6-6
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ resource "aws_lb_target_group" "api_internal" {
4141
), var.tags)}"
4242

4343
health_check {
44-
healthy_threshold = 3
45-
unhealthy_threshold = 3
44+
healthy_threshold = 2
45+
unhealthy_threshold = 2
4646
interval = 10
4747
port = 6443
4848
protocol = "HTTPS"
@@ -63,8 +63,8 @@ resource "aws_lb_target_group" "api_external" {
6363
), var.tags)}"
6464

6565
health_check {
66-
healthy_threshold = 3
67-
unhealthy_threshold = 3
66+
healthy_threshold = 2
67+
unhealthy_threshold = 2
6868
interval = 10
6969
port = 6443
7070
protocol = "HTTPS"
@@ -85,8 +85,8 @@ resource "aws_lb_target_group" "services" {
8585
), var.tags)}"
8686

8787
health_check {
88-
healthy_threshold = 3
89-
unhealthy_threshold = 3
88+
healthy_threshold = 2
89+
unhealthy_threshold = 2
9090
interval = 10
9191
port = 22623
9292
protocol = "HTTPS"

0 commit comments

Comments
 (0)