Skip to content

Commit fd51aff

Browse files
committed
We tend to see a lot of clusters that have CAD run against them hit timeouts with egress.
After reviewing, I noticed we had set the timeout to 2 seconds which felt pretty tight. I have updated that value to be 5 seconds, which lines up with what OCM uses to perform pre-cluster creation network verification. I think unifying on a default (in osd-network-verifier next) will ensure we are consistent about this across tools and services.
1 parent b8f493d commit fd51aff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/networkverifier/networkverifier.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ func InitializeValidateEgressInput(cluster *v1.Cluster, clusterDeployment *hivev
7676
}
7777

7878
return &verifier.ValidateEgressInput{
79-
Timeout: 2 * time.Second,
80-
Ctx: context.TODO(),
79+
Timeout: 5 * time.Second,
80+
Ctx: context.Background(),
8181
SubnetID: subnet,
8282
InstanceType: "t3.micro",
8383
Proxy: proxy,

0 commit comments

Comments
 (0)