-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drain v2: add controlled draining #4010
Commits on Mar 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 95b3b6e - Browse repository at this point
Copy the full SHA 95b3b6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 587d4e2 - Browse repository at this point
Copy the full SHA 587d4e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e8fd0 - Browse repository at this point
Copy the full SHA 91e8fd0View commit details -
RPC, FSM, State Store for marking DesiredTransistion
fix build tag
Configuration menu - View commit details
-
Copy full SHA for 48d637d - Browse repository at this point
Copy the full SHA 48d637dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7deabe9 - Browse repository at this point
Copy the full SHA 7deabe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 832b1d5 - Browse repository at this point
Copy the full SHA 832b1d5View commit details -
scheduler: migrate non-terminal migrating allocs
filterByTainted node should always migrate non-terminal migrating allocs
Configuration menu - View commit details
-
Copy full SHA for a466f97 - Browse repository at this point
Copy the full SHA a466f97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 116c28c - Browse repository at this point
Copy the full SHA 116c28cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1773de9 - Browse repository at this point
Copy the full SHA 1773de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bdeace - Browse repository at this point
Copy the full SHA 2bdeaceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 762db7c - Browse repository at this point
Copy the full SHA 762db7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fba20fd - Browse repository at this point
Copy the full SHA fba20fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7833bc - Browse repository at this point
Copy the full SHA a7833bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c101de - Browse repository at this point
Copy the full SHA 5c101deView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcafa8b - Browse repository at this point
Copy the full SHA dcafa8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fb9ba7 - Browse repository at this point
Copy the full SHA 0fb9ba7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 378c566 - Browse repository at this point
Copy the full SHA 378c566View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6399cb - Browse repository at this point
Copy the full SHA d6399cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 451b77d - Browse repository at this point
Copy the full SHA 451b77dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a96c337 - Browse repository at this point
Copy the full SHA a96c337View commit details -
Configuration menu - View commit details
-
Copy full SHA for d65ae92 - Browse repository at this point
Copy the full SHA d65ae92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d58209 - Browse repository at this point
Copy the full SHA 7d58209View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5be3263 - Browse repository at this point
Copy the full SHA 5be3263View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9de8908 - Browse repository at this point
Copy the full SHA 9de8908View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57c0335 - Browse repository at this point
Copy the full SHA 57c0335View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2de735 - Browse repository at this point
Copy the full SHA f2de735View commit details -
Configuration menu - View commit details
-
Copy full SHA for 678fbe1 - Browse repository at this point
Copy the full SHA 678fbe1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b25f78 - Browse repository at this point
Copy the full SHA 3b25f78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe3c6e - Browse repository at this point
Copy the full SHA 3fe3c6eView commit details -
client: don't monitor health of non-service jobs
Also fix system job draining; won't work without deadline fixes
Configuration menu - View commit details
-
Copy full SHA for 3ca9cdf - Browse repository at this point
Copy the full SHA 3ca9cdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f73cd5 - Browse repository at this point
Copy the full SHA 1f73cd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4782098 - Browse repository at this point
Copy the full SHA 4782098View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f98949 - Browse repository at this point
Copy the full SHA 7f98949View commit details -
Configuration menu - View commit details
-
Copy full SHA for a027016 - Browse repository at this point
Copy the full SHA a027016View commit details -
Configuration menu - View commit details
-
Copy full SHA for c00c02d - Browse repository at this point
Copy the full SHA c00c02dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6026af2 - Browse repository at this point
Copy the full SHA 6026af2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e566fcd - Browse repository at this point
Copy the full SHA e566fcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for da36810 - Browse repository at this point
Copy the full SHA da36810View commit details -
Configuration menu - View commit details
-
Copy full SHA for d45532d - Browse repository at this point
Copy the full SHA d45532dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e51b20 - Browse repository at this point
Copy the full SHA 0e51b20View commit details -
Configuration menu - View commit details
-
Copy full SHA for cec2c5a - Browse repository at this point
Copy the full SHA cec2c5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c035422 - Browse repository at this point
Copy the full SHA c035422View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb40e8b - Browse repository at this point
Copy the full SHA fb40e8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b4e234 - Browse repository at this point
Copy the full SHA 4b4e234View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd70197 - Browse repository at this point
Copy the full SHA bd70197View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b36af9 - Browse repository at this point
Copy the full SHA 5b36af9View commit details -
Toggle Drain allows resetting eligibility
This PR allows marking a node as eligible for scheduling while toggling drain. By default the `nomad node drain -disable` commmand will mark it as eligible but the drainer will maintain in-eligibility.
Configuration menu - View commit details
-
Copy full SHA for d153714 - Browse repository at this point
Copy the full SHA d153714View commit details -
Configuration menu - View commit details
-
Copy full SHA for efb6601 - Browse repository at this point
Copy the full SHA efb6601View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45e7e88 - Browse repository at this point
Copy the full SHA 45e7e88View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad2f211 - Browse repository at this point
Copy the full SHA ad2f211View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5324e56 - Browse repository at this point
Copy the full SHA 5324e56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 270699b - Browse repository at this point
Copy the full SHA 270699bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6c821 - Browse repository at this point
Copy the full SHA fb6c821View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6347bae - Browse repository at this point
Copy the full SHA 6347baeView commit details -
Monitor node drains until completion in CLI
allow -detach like other commands
Configuration menu - View commit details
-
Copy full SHA for 11d0eae - Browse repository at this point
Copy the full SHA 11d0eaeView commit details -
Also delay "node complete" after the node has been marked complete to capture a few more alloc events. There are other ways to implement this that could trade off correctness for responsiveness as technically a node is considered drained when all of its allocs have been marked to stop and not when they've actually stopped (which may not happen for a long time).
Configuration menu - View commit details
-
Copy full SHA for e669e82 - Browse repository at this point
Copy the full SHA e669e82View commit details -
Chan must be buffered to avoid skipping triggering altogether Also made timing in a test a bit more lenient
Configuration menu - View commit details
-
Copy full SHA for 0a1f1d2 - Browse repository at this point
Copy the full SHA 0a1f1d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8217ebf - Browse repository at this point
Copy the full SHA 8217ebfView commit details -
Also drop the New func as it's easy to swap the order of arguments since they're both strings.
Configuration menu - View commit details
-
Copy full SHA for 74dc8fd - Browse repository at this point
Copy the full SHA 74dc8fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ef7863 - Browse repository at this point
Copy the full SHA 8ef7863View commit details -
Configuration menu - View commit details
-
Copy full SHA for e003b05 - Browse repository at this point
Copy the full SHA e003b05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08c9116 - Browse repository at this point
Copy the full SHA 08c9116View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98935b8 - Browse repository at this point
Copy the full SHA 98935b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4efbc34 - Browse repository at this point
Copy the full SHA 4efbc34View commit details -
Configuration menu - View commit details
-
Copy full SHA for aab1fb7 - Browse repository at this point
Copy the full SHA aab1fb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb1874 - Browse repository at this point
Copy the full SHA 2bb1874View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1537061 - Browse repository at this point
Copy the full SHA 1537061View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b88749 - Browse repository at this point
Copy the full SHA 9b88749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17161ec - Browse repository at this point
Copy the full SHA 17161ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8088562 - Browse repository at this point
Copy the full SHA 8088562View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50a94d7 - Browse repository at this point
Copy the full SHA 50a94d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8b1922 - Browse repository at this point
Copy the full SHA b8b1922View commit details -
test: disable drain during fsm test
drainer was unsetting drain before fsm could read written value
Configuration menu - View commit details
-
Copy full SHA for e8673b1 - Browse repository at this point
Copy the full SHA e8673b1View commit details -
test: disable node drainer during tests
Node drainer would throw off the index checks
Configuration menu - View commit details
-
Copy full SHA for 6366938 - Browse repository at this point
Copy the full SHA 6366938View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec09ea6 - Browse repository at this point
Copy the full SHA ec09ea6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b58a22c - Browse repository at this point
Copy the full SHA b58a22cView commit details -
test: index no longer guaranteed on job list
Also switch to require and add t.Helper to appropriate funcs.
Configuration menu - View commit details
-
Copy full SHA for 07fe879 - Browse repository at this point
Copy the full SHA 07fe879View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3496bcf - Browse repository at this point
Copy the full SHA 3496bcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e10883c - Browse repository at this point
Copy the full SHA e10883cView commit details