Alex Dadgar
|
c0354223c2
|
integration test and basic fixes
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
cec2c5a726
|
Drainer
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
0e51b20657
|
job watcher
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
d45532d038
|
Node's being untracked or having updated deadlines, updates the deadliner
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
da368105e6
|
node watcher
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
e566fcdf5f
|
drain heap
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
6026af2a8a
|
Initial design
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
c00c02df62
|
System test runs on mac
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
a027016b87
|
Fix file names
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
7f989499ff
|
Correct defaulting
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
478209807e
|
refactor main drainloop into 2 more methods
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
1f73cd5d42
|
drainer: refactor newStopAllocs, applyMigrations
|
2018-03-21 16:51:44 -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 |
|
Alex Dadgar
|
3fe3c6eff7
|
Improve DeadlineTime helper
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
3b25f784be
|
drainer: convert fsm errors to go errors
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
678fbe1755
|
drainer: factor job & node watchers out of drainer.go
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
f2de735cdc
|
Restart every time SetEnabled(true) is called
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
57c0335940
|
Remove unused context
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
9de890899a
|
drainer: drainer should shutdown with server
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
5be3263204
|
refactor drainer into a subpkg
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
7d58209927
|
code review
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
d65ae92dfa
|
Small refactor and cleanups
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
a96c3374e2
|
Fix retaining the drain
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
451b77d5d7
|
Unblock evals once eligible
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
d6399cb733
|
Add eligibility to node view
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
378c566294
|
node eligibility command
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
0fb9ba7732
|
HTTP and API
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
dcafa8b460
|
RPC/FSM/State Store for Eligibility
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
5c101de725
|
flag comment
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
a7833bc609
|
Upgrade path
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
fba20fd58d
|
Remove update time
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
762db7c5d7
|
Fix tests
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
2bdeacebff
|
Drain cli, api, http
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
1773de9e30
|
Node.Drain takes strategy
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
116c28c77c
|
improve drain fsm/statestore tests
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
a466f97cba
|
scheduler: migrate non-terminal migrating allocs
filterByTainted node should always migrate non-terminal migrating allocs
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
832b1d5694
|
switch to new raft DesiredTransition message
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
7deabe958d
|
drainer: switch to job based watching
|
2018-03-21 16:49:48 -07:00 |
|
Alex Dadgar
|
48d637dad1
|
RPC, FSM, State Store for marking DesiredTransistion
fix build tag
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
91e8fd098f
|
mock_driver: improve Kill() logging
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
587d4e264b
|
testlog: override testlogger with envvar
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
95b3b6eb02
|
drain: initial drainv2 structs and impl
|
2018-03-21 16:49:48 -07:00 |
|
Chelsea Komlo
|
48c5f0e1a7
|
Merge pull request #3856 from hashicorp/f-client-add-health-checks
Client driver health checks for Docker
|
2018-03-21 18:05:00 -04:00 |
|
Chelsea Holland Komlo
|
8e83cf8d8a
|
Allow TLS configurations for HTTP and RPC connections to be reloaded separately
|
2018-03-21 17:51:08 -04:00 |
|
Rob Genova
|
8ea9993cc2
|
Merge pull request #4014 from hashicorp/f-terraform-dynamic-binary
Update Terraform AWS configs to enable Nomad binary substitution
|
2018-03-21 14:16:38 -07:00 |
|
Michael Lange
|
44922c9d3a
|
The initial index value should be 1, not 0
|
2018-03-21 13:28:56 -07:00 |
|
Chelsea Holland Komlo
|
89ffc9602d
|
fix up scheduling test
|
2018-03-21 15:54:03 -04:00 |
|
Preetha
|
90581c15be
|
Merge pull request #4007 from hashicorp/f-show-rescheduling-cli-job-status
Show a section on upcoming delayed evaluations when applicable
|
2018-03-21 14:37:38 -05:00 |
|
Preetha Appan
|
6cf5a1b326
|
More code review feedback
|
2018-03-21 14:28:14 -05:00 |
|
Chelsea Holland Komlo
|
eb3a53efa2
|
always set initial health status for every driver
|
2018-03-21 15:15:26 -04:00 |
|