projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d106512
)
Ask for preemptible instances.
author
Tom Clegg <tom@tomclegg.ca>
Mon, 1 Mar 2021 20:53:44 +0000
(15:53 -0500)
committer
Tom Clegg <tom@tomclegg.ca>
Mon, 1 Mar 2021 20:53:44 +0000
(15:53 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
arvados.go
patch
|
blob
|
history
diff --git
a/arvados.go
b/arvados.go
index ec09637ae9217ed19d42fae2a3a484f41682d223..48cfad7ccdd6f37e3381f0bb54d1170031babc5c 100644
(file)
--- a/
arvados.go
+++ b/
arvados.go
@@
-262,6
+262,10
@@
func (runner *arvadosContainerRunner) RunContext(ctx context.Context) (string, e
"runtime_constraints": rc,
"priority": runner.Priority,
"state": arvados.ContainerRequestStateCommitted,
+ "scheduling_parameters": arvados.SchedulingParameters{
+ Preemptible: true,
+ Partitions: []string{},
+ },
},
})
if err != nil {