From 6ad9c53f635fe48ccff61e45097428ae73ed9c25 Mon Sep 17 00:00:00 2001 From: Leonid Kondrashov Date: Thu, 12 Oct 2023 16:09:45 +0800 Subject: [PATCH] Increase timeout for MetalLB setup Signed-off-by: Leonid Kondrashov --- scripts/cluster/setup_master_node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cluster/setup_master_node.go b/scripts/cluster/setup_master_node.go index 4b4cdf7d4..6dcbf517f 100644 --- a/scripts/cluster/setup_master_node.go +++ b/scripts/cluster/setup_master_node.go @@ -125,7 +125,7 @@ func InstallMetalLB() error { if !utils.CheckErrorWithMsg(err, "Failed to install and configure MetalLB!\n") { return err } - _, err = utils.ExecShellCmd("kubectl -n metallb-system wait deploy controller --timeout=90s --for=condition=Available") + _, err = utils.ExecShellCmd("kubectl -n metallb-system wait deploy controller --timeout=180s --for=condition=Available") if !utils.CheckErrorWithMsg(err, "Failed to install and configure MetalLB!\n") { return err }