open-nomad/plugins/drivers
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
..
proto core: propagate remote task handles 2021-04-27 15:07:03 -07:00
testutils remove flakey exec test that tests non-deterministic docker behavior (#10291) 2021-04-02 11:15:22 -04:00
utils
client.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
cstructs.go
driver.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
errors.go
execstreaming.go
plugin.go
server.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
task_handle.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
utils.go plugins/driver: add cpuset_cpus back and mark cpuset_mems as reserved 2021-04-15 13:31:18 -04:00
utils_test.go
versions.go