open-nomad/nomad/structs
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
..
config Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
connect.go e2e: consul namespace tests from nomad ent 2021-04-19 15:35:31 -06:00
consul.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
consul_oss.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
consul_oss_test.go e2e: consul namespace tests from nomad ent 2021-04-19 15:35:31 -06:00
consul_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
csi.go CSI: capability block is required for volume registration 2021-04-08 13:02:24 -04:00
csi_test.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00
devices.go
devices_test.go
diff.go nomad/structs: fix diff 2021-04-09 08:21:46 -04:00
diff_test.go Update TaskGroup services edited diff test to actually check Body 2021-04-13 09:15:35 -04:00
encoding.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
errors.go csi: client RPCs should return wrapped errors for checking (#8605) 2020-08-07 11:01:36 -04:00
errors_test.go api: acl bootstrap errors aren't 500 2019-11-19 15:51:57 -05:00
event.go Events/acl events (#9595) 2020-12-11 10:40:50 -05:00
extensions.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
funcs.go Merge pull request #10203 from hashicorp/f-cpu-cores 2021-03-29 14:05:54 -04:00
funcs_test.go oversubscription: Add MemoryMaxMB to internal structs 2021-03-30 16:55:58 -04:00
generate.sh When serializing msgpack, only consider codec tag 2020-05-11 14:14:10 -04:00
handlers.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
network.go Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00
network_test.go test: fix up testing around host networks 2020-06-19 13:53:31 -04:00
node.go CSI: fingerprint detailed node capabilities 2021-04-01 16:00:58 -04:00
node_class.go use allow/deny instead of the colored alternatives (#9019) 2020-10-12 08:47:05 -04:00
node_class_test.go
node_test.go
operator.go basic snapshot restore 2020-06-07 15:46:23 -04:00
search.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
service_identities.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
services.go Hash Body field as part of ServiceCheck 2021-04-13 09:15:35 -04:00
services_test.go e2e test for on_update service checks 2021-02-08 08:32:40 -05:00
streaming_rpc.go Fix some errcheck errors (#9811) 2021-01-14 12:46:35 -08:00
structs.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
structs_codegen.go
structs_oss.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
structs_periodic_test.go tests for periodic job scheduling and DST 2020-05-07 17:36:59 -04:00
structs_test.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00
testing.go testing: default nomad test nodes to 1.0.0 (#10213) 2021-03-23 08:24:26 -04:00
volumes.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00