Skip to content

Commit

Permalink
Increasing ROSA autosclaer timeout (#133)
Browse files Browse the repository at this point in the history
* Increasing ROSA autosclaer timeout

Signed-off-by: Vishnu Challa <[email protected]>

---------

Signed-off-by: Vishnu Challa <[email protected]>
Co-authored-by: Vishnu Challa <[email protected]>
  • Loading branch information
vishnuchalla and Vishnu Challa authored Oct 28, 2024
1 parent dae5fc1 commit 66cf8e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/workerscale/rosa.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (rosaScenario *RosaScenario) OrchestrateWorkload(scaleConfig ScaleConfig) {
if scaleConfig.AutoScalerEnabled {
triggerJob, triggerTime = createBatchJob(clientSet)
// Slightly more delay for the cluster autoscaler resources to come up
time.Sleep(2 * time.Minute)
time.Sleep(5 * time.Minute)
}
log.Info("Waiting for the machinesets to be ready")
if err = waitForWorkers(machineClient, clusterID, hcNamespace, scaleConfig.IsHCP); err != nil {
Expand All @@ -98,7 +98,7 @@ func (rosaScenario *RosaScenario) OrchestrateWorkload(scaleConfig ScaleConfig) {
editMachinepool(clusterID, len(prevMachineDetails), len(prevMachineDetails), scaleConfig.AutoScalerEnabled, scaleConfig.IsHCP)
if scaleConfig.AutoScalerEnabled {
deleteBatchJob(clientSet, triggerJob)
time.Sleep(2 * time.Minute)
time.Sleep(5 * time.Minute)
}
log.Info("Waiting for the machinesets to scale down")
if err = waitForWorkers(machineClient, clusterID, hcNamespace, scaleConfig.IsHCP); err != nil {
Expand Down

0 comments on commit 66cf8e7

Please sign in to comment.