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 Remove some dead code 2019-01-08 09:11:48 -05:00
client.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
cstructs.go drivers: re-export ResourceUsage structs 2019-01-08 09:11:47 -05:00
driver.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
errors.go Standardize driver health description messages for all drivers 2019-01-06 22:06:38 -06:00
execstreaming.go implemment streaming exec handling in driver grpc handlers 2019-05-09 16:49:08 -04:00
plugin.go drivers: pass logger through driver plugin client 2019-01-25 09:38:41 -05:00
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 command: use correct port mapping syntax in examples 2020-11-23 10:25:30 -06:00
versions.go Add plugin API versioning to plugin loader and plugins 2018-12-18 16:48:00 -08:00