From 0068468397f17beefd23437882932730920e723a Mon Sep 17 00:00:00 2001 From: Ujjwal Sarin Date: Tue, 1 Nov 2022 04:00:12 +0000 Subject: [PATCH] Revert "remove eviction for gpu jobs" This reverts commit 6d731c43891c1c9728b507e53774f8873a7b0226. --- execution/adapter/eks_adapter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/execution/adapter/eks_adapter.go b/execution/adapter/eks_adapter.go index 9b599c1b..df27faad 100644 --- a/execution/adapter/eks_adapter.go +++ b/execution/adapter/eks_adapter.go @@ -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 {