open-nomad/plugins
Michael Schurter e62795798d core: propagate remote task handles
Add a new driver capability: RemoteTasks.

When a task is run by a driver with RemoteTasks set, its TaskHandle will
be propagated to the server in its allocation's TaskState. If the task
is replaced due to a down node or draining, its TaskHandle will be
propagated to its replacement allocation.

This allows tasks to be scheduled in remote systems whose lifecycles are
disconnected from the Nomad node's lifecycle.

See https://github.com/hashicorp/nomad-driver-ecs for an example ECS
remote task driver.
2021-04-27 15:07:03 -07:00
..
base use comment ignores (#9448) 2020-11-25 16:03:01 -05:00
csi CSI: listing from plugins can return EOF 2021-04-08 13:32:19 -04:00
device Fix some errcheck errors (#9811) 2021-01-14 12:46:35 -08:00
drivers core: propagate remote task handles 2021-04-27 15:07:03 -07:00
shared Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
serve.go cleanup driver eventor goroutines 2020-05-26 11:04:04 -04:00