From 173c2b4d832cb1dc512f846400c5e7206ef3215d Mon Sep 17 00:00:00 2001 From: Kimmo Lehto Date: Thu, 28 Nov 2024 09:26:47 +0200 Subject: [PATCH] Wait longer? Signed-off-by: Kimmo Lehto --- phase/reinstall.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phase/reinstall.go b/phase/reinstall.go index cc9f533c..32d6675a 100644 --- a/phase/reinstall.go +++ b/phase/reinstall.go @@ -5,6 +5,7 @@ import ( "fmt" "math" "strings" + "time" "github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1" "github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster" @@ -112,7 +113,7 @@ func (p *Reinstall) reinstall(h *cluster.Host) error { } log.Infof("%s: waiting for system pods to become ready", h) - if err := retry.Timeout(context.TODO(), retry.DefaultTimeout, node.SystemPodsRunningFunc(h)); err != nil { + if err := retry.Timeout(context.TODO(), 10*time.Minute, node.SystemPodsRunningFunc(h)); err != nil { if !Force { return fmt.Errorf("all system pods not running after api start-up, you can ignore this check by using --force: %w", err) }