open-nomad/client
Lasse Dalegaard 7ac599d509 Use rkt prepare + run-prepared instead of run.
The rkt driver currently executes run and asks that the pod UUID is
written to a file that is then polled for changes for up to five
seconds. Many container fetches will take longer than this, so this
method will often not be able to track the pod UUID reliably.

To avoid this problem, rkt allows pods to be first prepared, which will
return their UUID, and then run as a second invocation.

Here we convert the rkt driver's Start method to use this method
instead. This way, the UUID will always be tracked correctly.
2017-09-21 00:17:31 +02:00
..
allocdir Must be root for TestAllocDir_CreateDir 2017-08-16 10:46:14 -07:00
config add metrics options to client config 2017-09-05 14:12:57 +00:00
driver Use rkt prepare + run-prepared instead of run. 2017-09-21 00:17:31 +02:00
fingerprint Handle interfaces that only have link-local addrs 2017-08-23 15:32:22 -07:00
getter Add support for go-getter modes 2017-07-06 10:45:44 -07:00
stats Non-locked accessors to common Node fields 2017-09-14 14:08:26 -07:00
structs Small fixes 2017-07-18 12:19:57 -07:00
testutil Revendor docker client 2017-02-14 17:34:05 -08:00
vaultclient Make test Vault pick random ports 2017-07-25 17:40:59 -07:00
acl.go ACL RPCs allow stale reads for scalability 2017-09-04 13:07:44 -07:00
acl_test.go client: fixing policy resolution after ACL endpoint enforcement 2017-09-04 13:05:53 -07:00
alloc_runner.go Use existing restart policy infrastructure 2017-09-14 16:46:54 -07:00
alloc_runner_health_watcher.go comments 2017-08-15 12:23:29 -07:00
alloc_runner_test.go Fix tests 2017-08-16 16:26:52 -07:00
alloc_watcher.go Fix formatting 2017-08-15 10:37:02 -07:00
alloc_watcher_test.go Exit if alloc listener closes 2017-08-11 16:22:02 -07:00
client.go changelog and feedback 2017-09-14 14:08:58 -07:00
client_test.go Address @dadgar feedback 2017-09-11 10:30:59 -07:00
consul.go Add check watcher for restarting unhealthy tasks 2017-09-14 16:46:54 -07:00
consul_template.go Use existing restart policy infrastructure 2017-09-14 16:46:54 -07:00
consul_template_test.go Improve check watcher logging and add tests 2017-09-14 16:47:41 -07:00
consul_test.go Improve check watcher logging and add tests 2017-09-14 16:47:41 -07:00
gc.go initial attempt at refactoring blocked/migrating 2017-08-11 16:21:35 -07:00
gc_test.go Update tests for new blocking/migrating code 2017-08-11 16:21:57 -07:00
restarts.go Cleanup and test restart failure code 2017-09-15 14:54:37 -07:00
restarts_test.go Cleanup and test restart failure code 2017-09-15 14:54:37 -07:00
serverlist.go
serverlist_test.go Parallel client tests (#2890) 2017-07-22 19:04:36 -07:00
state_database.go Fix tests 2017-05-03 11:15:30 -07:00
task_runner.go Name const after what it represents 2017-09-15 14:57:18 -07:00
task_runner_test.go Improve check watcher logging and add tests 2017-09-14 16:47:41 -07:00
task_runner_unix_test.go Improve check watcher logging and add tests 2017-09-14 16:47:41 -07:00
util.go Move env template handling into consul_template.go 2017-05-23 13:53:34 -07:00
util_test.go Fix tests 2017-05-03 11:15:30 -07:00