Commit Graph

17 Commits

Author SHA1 Message Date
Michael Schurter
b58a22c2e9 remove spurious TODOs and FIXMEs 2018-03-21 16:55:22 -07:00
Michael Schurter
1537061ebc alloc_runner: watch health for deployed batch jobs 2018-03-21 16:51:45 -07:00
Michael Schurter
3ca9cdfadc client: don't monitor health of non-service jobs
Also fix system job draining; won't work without deadline fixes
2018-03-21 16:51:44 -07:00
Michael Schurter
95b3b6eb02 drain: initial drainv2 structs and impl 2018-03-21 16:49:48 -07:00
Josh Soref
0afd7f8d56 spelling: transition 2018-03-11 19:06:05 +00:00
Alex Dadgar
ac5984125c comments 2017-08-15 12:23:29 -07:00
Alex Dadgar
2f7b7e3bc4 Refactor health watcher and emit events 2017-08-12 14:23:36 -07:00
Alex Dadgar
3b300925a2 Fix alloc health with checks using interpolation
Fixes an issue in which the allocation health watcher was checking for
allocations health based on un-interpolated services and checks. Change
the interface for retrieving check information from Consul to retrieving
all registered services and checks by allocation. In the future this
will allow us to output nicer messages.

Fixes https://github.com/hashicorp/nomad/issues/2969
2017-08-07 16:27:08 -07:00
Alex Dadgar
459ddf63ec Save deployment status 2017-07-18 12:37:52 -07:00
Alex Dadgar
386557da73 Small fixes 2017-07-18 12:19:57 -07:00
Alex Dadgar
d06fa455b7 Small fixes 2017-07-07 17:34:50 -07:00
Alex Dadgar
3beaafca9a Vet and small improvement on watcher failure detection 2017-07-07 14:53:01 -07:00
Alex Dadgar
b8ba29bf93 Warn log 2017-07-07 12:10:04 -07:00
Alex Dadgar
f72bbaa370 Client watches for allocation health using task state and Consul checks
This PR adds watching of allocation health at the client. The client can
watch for health based on the tasks running on time and also based on
the consul checks passing.
2017-07-07 12:10:04 -07:00
Alex Dadgar
d165f65013 watcher per alloc 2017-07-07 12:07:08 -07:00
Alex Dadgar
8e58ddcceb Update index 2017-07-07 12:07:08 -07:00
Alex Dadgar
da82a6e814 initial watcher 2017-07-07 12:07:08 -07:00