Skip to content

Commit

Permalink
Revert "remove eviction for gpu jobs"
Browse files Browse the repository at this point in the history
This reverts commit 6d731c4.
  • Loading branch information
ujjwalsfix committed Nov 1, 2022
1 parent 849b46e commit 0068468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion execution/adapter/eks_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (a *eksAdapter) AdaptFlotillaDefinitionAndRunToJob(executable state.Executa
}
func (a *eksAdapter) constructEviction(run state.Run, manager state.Manager) string {
if run.Gpu != nil && *run.Gpu > 0 {
return "false"
return "true"
}

if run.NodeLifecycle != nil && *run.NodeLifecycle == state.OndemandLifecycle {
Expand Down

0 comments on commit 0068468

Please sign in to comment.