Alex Dadgar
51831f92dd
Merge pull request #1840 from hashicorp/f-kill-fail
...
Change how we mark tasks as failed and allow consul-template to fail tasks
2016-10-24 13:40:52 -07:00
Michael Schurter
4d3187bc7e
Remove disk usage enforcement
...
Many thanks to @iverberk for the original PR (#1609 ), but we ended up
not wanting to ship this implementation with 0.5.
We'll come back to it after 0.5 and hopefully find a way to leverage
filesystem accounting and quotas, so we can skip the expensive polling.
2016-10-21 13:55:51 -07:00
Alex Dadgar
f130c8a894
Change how we mark tasks as failed and allow consul-template to fail tasks
2016-10-20 17:27:16 -07:00
Alex Dadgar
e34902ae8a
Large refactor of task runner and Vault token rehandling
2016-10-18 11:24:20 -07:00
Alex Dadgar
ebef11e6b0
Struct/api/parsing
2016-10-18 11:24:20 -07:00
Alex Dadgar
af517b3d37
Task runner sends signals
2016-10-10 15:09:00 -07:00
Alex Dadgar
d200a835c9
Fix handling of restart in TaskEvents
2016-10-06 15:06:54 -07:00
Alex Dadgar
b976633e4d
Start of integration
2016-10-06 15:05:49 -07:00
Diptanu Choudhury
c29861b418
Getting snapshot of allocation from remote node ( #1741 )
...
* Added the alloc dir move
* Moving allocdirs when starting allocations
* Added the migrate flag to ephemeral disk
* Stopping migration if the allocation doesn't need migration any more
* Added the GetAllocDir method
* refactored code
* Added a test for alloc runner
* Incorporated review comments
2016-10-03 09:59:57 -07:00
Alex Dadgar
56b9767f8e
Add template structs
2016-09-26 15:36:11 -07:00
Alex Dadgar
a81de3a161
Add env
2016-09-21 16:37:04 -07:00
Alex Dadgar
d49dda45e3
Merge pull request #1713 from hashicorp/f-alloc-runner-vault
...
Vault integration in client
2016-09-20 16:15:55 -07:00
Alex Dadgar
7f608add4f
alloc-status
2016-09-14 18:27:13 -07:00
Diptanu Choudhury
396e45629b
Renaming LocalDisk to EphemeralDisk ( #1710 )
...
Renaming LocalDisk to EphemeralDisk
2016-09-14 15:43:42 -07:00
Diptanu Choudhury
183294644e
Fixed api tests
2016-08-25 22:10:25 -05:00
Diptanu Choudhury
0628fee7a8
Implemented job spec parsing for sticky volumes
2016-08-24 13:51:15 -05:00
Marin
43e17c4f95
api/tasks.go: add check initial_status
2016-08-23 14:09:42 -07:00
Alex Dadgar
1c45799c49
Merge pull request #1580 from hashicorp/f-disk-usage-monitoring
...
Monitor and enforce shared allocation directory disk usage
2016-08-23 09:49:53 -07:00
Diptanu Choudhury
5036f24591
Attempting to fix alloc status test
2016-08-22 15:07:49 -05:00
Ivo Verberk
13071e9846
Disk resource monitoring and enforcement
2016-08-18 07:59:03 +02:00
Alex Dadgar
dd7d827eb0
Run command
2016-08-17 16:25:38 -07:00
Alex Dadgar
7bb0a2336a
Add killing event and mark task as not running when killed
2016-07-21 15:49:54 -07:00
Diptanu Choudhury
6cb5fd3694
Allowing ports to be overriden in check definitions
2016-07-08 14:14:25 -07:00
Alex Dadgar
1a7df4e7d2
Allocation resources returned in a struct
2016-06-11 21:04:10 -07:00
Diptanu Choudhury
4ac1c673aa
Implementing the total ticks per task for the docker driver
2016-06-10 23:33:25 +02:00
Diptanu Choudhury
c13e750a02
Calculating the cpu ticks in nomad client
2016-06-10 22:22:32 +02:00
Alex Dadgar
17af581d93
Annotate what is measured
2016-06-09 19:45:41 -07:00
Diptanu Choudhury
06f8d58038
Making the cli use new apis
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
6132ccc230
Added pidstats in task resource usage struct
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
3192e318e9
Renamed CpuUsage to CpuStats
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
cbe6f6a235
updating the CpuStats api
2016-05-28 19:51:22 -07:00
Diptanu Choudhury
50250b1455
Added the nomad stats command
2016-05-28 19:42:34 -07:00
Sean Chittenden
29be52f762
Speling police
2016-05-15 09:41:34 -07:00
Diptanu Choudhury
6ebf0e9a07
Using the command key in nomad spi for script checks
2016-03-31 13:35:55 -07:00
Diptanu Choudhury
e633776365
Merge pull request #986 from hashicorp/scripts
...
Implement script checks
2016-03-25 18:22:35 -07:00
Alex Dadgar
6e779b863e
Explain restart decision and display in alloc-status
2016-03-25 12:47:14 -07:00
Diptanu Choudhury
62249fe79f
Added an impl for Nomad Checks
2016-03-24 19:00:24 -07:00
Alex Dadgar
cd89a97529
Operator specifiable blacklist for task's using certain users
2016-03-24 10:55:14 -07:00
Miquel Sabaté Solà
939a00aca8
client/driver: added the user config value
...
This way Nomad allows to set which user has to run the task.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com >
2016-03-23 12:57:31 +01:00
Alex Dadgar
d428501400
add destination to artifact block and validate it
2016-03-18 12:01:46 -07:00
Alex Dadgar
a70820d7ca
Respond to comments and fix test
2016-03-15 20:21:52 -07:00
Alex Dadgar
bdc7fdebe1
Download artifacts and remove old code for drivers
2016-03-15 13:28:57 -07:00
Alex Dadgar
2d9a83d893
Go-getter options are generic and validation of checksums
2016-03-15 13:28:57 -07:00
Alex Dadgar
a5896d08a4
Parse artifacts and options
2016-03-15 13:28:57 -07:00
Alex Dadgar
e0224b8a35
Refactor task runner to include driver starting into restart policy and add recoverable errors
2016-02-28 16:56:05 -08:00
Diptanu Choudhury
002dee9b3e
Handling errors when client can't re-attach to syslog collector
2016-02-10 16:40:36 -08:00
Diptanu Choudhury
adf86c2f78
Fixing the api tests
2016-02-10 13:36:47 -08:00
Diptanu Choudhury
7bf254c9af
Implemented log rotator for exec based drivers
2016-02-04 23:54:15 -08:00
Alex Dadgar
a2132950a5
Restart on-success shouldn't be user specifiable
2016-02-02 17:35:06 -08:00
Alex Dadgar
9f44780f89
User specifiable kill timeout and operator configurable max
2015-12-22 16:10:30 -08:00