Skip to content

Commit ea37fb7

Browse files
authored
restrict cpu and memory check to only pathways job (#5769)
1 parent 38a3c02 commit ea37fb7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pkg/orchestrator/gke/gke_job_orchestrator.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,10 @@ func (g *GKEOrchestrator) configureClusterEnvironment(job *orchestrator.JobDefin
646646
}
647647
}
648648

649-
if err := g.ensureClusterQueueCoverage(localQueue); err != nil {
650-
logging.Info("Warning: Could not automatically update ClusterQueue: %v. Workload might remain suspended.", err)
649+
if job.IsPathwaysJob {
650+
if err := g.ensureClusterQueueCoverage(localQueue); err != nil {
651+
logging.Info("Warning: Could not automatically update ClusterQueue: %v. Workload might remain suspended.", err)
652+
}
651653
}
652654
}
653655

0 commit comments

Comments
 (0)