Skip to content

Commit

Permalink
Increase upgrade repo VM readiness timeout
Browse files Browse the repository at this point in the history
The default 1s is too aggressive in heavy loading cluster.

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
  • Loading branch information
bk201 authored and gitlawr committed Dec 21, 2021
1 parent 680efb7 commit 0345caa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controller/master/upgrade/upgrade_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ func (r *UpgradeRepo) createVM(image *harvesterv1.VirtualMachineImage) (*kv1.Vir
Port: intstr.FromInt(80),
},
},
TimeoutSeconds: 30,
FailureThreshold: 5,
},
},
},
Expand Down

0 comments on commit 0345caa

Please sign in to comment.