Preetha
|
b2b52b1ada
|
Merge pull request #4794 from hashicorp/f-preemption-systemjobs
Preemption for system jobs
|
2018-11-02 16:28:06 -05:00 |
Mahmood Ali
|
4937095389
|
Allow artifacts checksum interpolation
Fixes https://github.com/hashicorp/nomad/issues/4814
|
2018-10-30 13:24:30 -04:00 |
Preetha Appan
|
0494a098ce
|
More style and readablity fixes from review
|
2018-10-30 11:06:32 -05:00 |
Preetha Appan
|
5b3bfb63eb
|
structs and API changes to plan and alloc structs needed for preemption
|
2018-10-30 11:06:32 -05:00 |
Alex Dadgar
|
f5a76d8411
|
review comments
|
2018-10-15 15:31:13 -07:00 |
Alex Dadgar
|
01f8e5b95f
|
renames
|
2018-10-04 14:57:25 -07:00 |
Alex Dadgar
|
52f9cd7637
|
fixing tests
|
2018-10-04 14:26:19 -07:00 |
Alex Dadgar
|
bac5cb1e8b
|
Scheduler uses allocated resources
|
2018-10-02 17:08:25 -07:00 |
Preetha Appan
|
996484981c
|
Fix panic when reschedule policy for allocation can't be looked up
because its task group changed
|
2018-09-05 17:01:02 -05:00 |
Alex Dadgar
|
cc92cd92cd
|
Merge pull request #4642 from hashicorp/b-vet
Fix vet errors and use newer go version in travis
|
2018-09-04 17:04:02 -07:00 |
Alex Dadgar
|
c6576ddac1
|
Fix make check errors
|
2018-09-04 16:03:52 -07:00 |
Preetha Appan
|
dd5fe6373f
|
Fix scoring logic for uneven spread to incorporate current alloc count
Also addressed other small code review comments
|
2018-09-04 16:10:11 -05:00 |
Preetha Appan
|
5812f906c8
|
Allow empty spread targets, and validate target percentages.
|
2018-09-04 16:10:11 -05:00 |
Preetha Appan
|
5eb82b6260
|
Validate method, and rename ratio field to percent
|
2018-09-04 16:10:11 -05:00 |
Preetha Appan
|
c407e3626f
|
More review comments
|
2018-09-04 16:10:11 -05:00 |
Preetha Appan
|
dbbb4a957a
|
Fail validation if system job has affinities
|
2018-09-04 16:10:11 -05:00 |
Preetha Appan
|
9f0caa9c3d
|
Affinity parsing, api and structs
|
2018-09-04 16:10:11 -05:00 |
Alex Dadgar
|
ee50789c22
|
Initial implementation
|
2018-05-07 14:50:01 -05:00 |
Michael Schurter
|
f6a4713141
|
consul: make grpc checks more like http checks
|
2018-05-04 11:08:11 -07:00 |
Chelsea Holland Komlo
|
ce1c3e0c2d
|
add unit tests for panic cron parsing bug
add comments for cron parsing wrapper
|
2018-04-26 18:47:08 -04:00 |
Alex Dadgar
|
d0f237086b
|
UX touchups
|
2018-04-26 15:24:27 -07:00 |
Alex Dadgar
|
eeb85299ff
|
gofmt -s nomad/structs/structs_test.go
|
2018-04-17 13:39:32 -07:00 |
Chelsea Holland Komlo
|
788b23e17e
|
add test for node copy
|
2018-04-17 12:58:07 -04:00 |
Preetha Appan
|
81f856e7c9
|
Fix one more failing test
|
2018-04-11 15:49:23 -05:00 |
Preetha Appan
|
a7b7b662ed
|
Make system jobs fail validation if they contain a reschedule stanza
|
2018-04-11 14:56:20 -05:00 |
Preetha
|
6254d75eee
|
Merge pull request #4101 from hashicorp/b-rescheduling-edge-fixes
Fixes edge cases around timing/ task finish time being set more than once
|
2018-04-04 16:18:21 -05:00 |
Preetha Appan
|
00537c739b
|
Fixes edge cases around timing and task finish time being set more than once
|
2018-04-03 16:34:59 -05:00 |
Michael Schurter
|
6840becf46
|
drain: refactor batch_future into its own file
aka What If structs.go Wasn't So Big?
|
2018-04-02 16:40:06 -07:00 |
Alex Dadgar
|
301704091b
|
Handle upgrade where Node doesn't have eligiblity
This PR handles upgrading a node that has no scheduling eligiblity set.
|
2018-03-29 16:52:23 -07:00 |
Preetha
|
9a732c4acb
|
Merge pull request #4071 from hashicorp/b-handle-missing-finishedat
handle missing finishedAt
|
2018-03-29 17:11:34 -05:00 |
Preetha Appan
|
c8317532ff
|
Use time from task events if task state does not have FinishedAt set
|
2018-03-29 14:05:56 -05:00 |
Alex Dadgar
|
b194f93f2f
|
Disallow Update stanza on Batch
|
2018-03-29 11:28:56 -07:00 |
Preetha Appan
|
8776f4b942
|
Fix failing test
|
2018-03-29 07:59:38 -05:00 |
Preetha Appan
|
2da661595d
|
If FinishedAt is not set use alloc's modify time for rescheduling logic
|
2018-03-29 07:42:58 -05:00 |
Preetha Appan
|
539114124e
|
Fix too long token test case
|
2018-03-26 16:28:33 -05:00 |
Preetha Appan
|
33e170c15d
|
s/linear/constant/g
|
2018-03-26 14:45:09 -05:00 |
Preetha Appan
|
7db930b3c3
|
Extra test case and better error message for ambiguous config
|
2018-03-26 13:30:09 -05:00 |
Preetha Appan
|
fbd56c35a8
|
Adds additional validation for ambigous settings (having both unlimited and attempts set)
|
2018-03-24 10:29:20 -05:00 |
Alex Dadgar
|
e63bcb474d
|
Drainer
|
2018-03-21 16:51:44 -07:00 |
Preetha
|
17f2f52f08
|
Merge pull request #3979 from hashicorp/b_update_compat_delete
Delete compatibility code for job level update stanza
|
2018-03-21 09:17:01 -05:00 |
Preetha Appan
|
9a5e6edf1f
|
Rename DelayCeiling to MaxDelay
|
2018-03-14 16:10:32 -05:00 |
Preetha Appan
|
9fed0d2103
|
Get reschedule policy from the alloc directly
|
2018-03-14 16:10:32 -05:00 |
Preetha Appan
|
342c3fb961
|
Added FollowupEvalID field and helper methods to calculate reschedule eligibility based on delay
|
2018-03-14 16:10:32 -05:00 |
Preetha Appan
|
51ec6ec15e
|
Formatting and linting fixes
|
2018-03-14 16:10:32 -05:00 |
Preetha Appan
|
10c9662222
|
New delayed rescheduling options, validation function and unit tests
|
2018-03-14 16:10:32 -05:00 |
Preetha Appan
|
948d917a60
|
lint warning fixed
|
2018-03-14 11:30:09 -05:00 |
Preetha Appan
|
a924183604
|
Remove compat code for upgrade stanza that copied state from job level update stanza
|
2018-03-14 10:21:46 -05:00 |
Preetha
|
360d6e5a92
|
Merge pull request #3968 from hashicorp/f-nicer-vault-error
Make server side error messages from vault more clearer
|
2018-03-13 20:49:39 -05:00 |
Preetha Appan
|
9618f52746
|
Remove error wrapping and make vault connection server side errors clearer.
|
2018-03-13 17:09:03 -05:00 |
Josh Soref
|
4e40338cfa
|
spelling: rescheduling
|
2018-03-11 18:40:32 +00:00 |