Alex Dadgar
ce5a7b73ed
periodic status
2016-01-07 14:25:17 -08:00
Alex Dadgar
24fd4a8c27
Add ProhibitOverlap option to PeriodicConfig
2016-01-07 11:19:46 -08:00
Alex Dadgar
ce22c049db
Merge pull request #575 from nautsio/f-short-ids
...
Allow lookups based on short identifiers
2016-01-06 14:36:19 -08:00
Alex Dadgar
36752b9ed4
Store the available nodes in the alloc metric
2016-01-04 12:07:33 -08:00
Alex Dadgar
1e5c776e40
Merge pull request #624 from hashicorp/f-adjustable-timeout
...
User specifiable kill timeout and operator configurable max
2016-01-04 11:44:22 -08:00
Alex Dadgar
cf27c43a35
Validate that the kill timeout is positive
2016-01-04 11:41:31 -08:00
Ivo Verberk
fd177f4c6f
Bring up-to-date with master
2015-12-24 21:16:32 +01:00
Alex Dadgar
9acc05f732
Fix error message
2015-12-23 18:26:39 -08:00
Alex Dadgar
6bc0737970
Unix timestamps not UnixNano
2015-12-23 18:26:39 -08:00
Alex Dadgar
b3e87b6719
Remove the periodicRunner interface and pass the server as an interface to the periodicDispatcher
2015-12-23 18:26:39 -08:00
Alex Dadgar
49dd0dc461
fixes from review
2015-12-23 18:26:39 -08:00
Alex Dadgar
ea799b88cb
merge
2015-12-23 18:26:39 -08:00
Alex Dadgar
f6769c3d96
Leader election restore, add structs to api jobs
2015-12-23 18:26:39 -08:00
Alex Dadgar
670cc50a02
merge
2015-12-23 18:26:39 -08:00
Alex Dadgar
ddf392c6be
User specifiable kill timeout and operator configurable max
2015-12-22 16:10:30 -08:00
Ivo Verberk
7838b2a57c
Refactoring
...
* Reverted changes to get methods
* Added prefix query parameter
* Updated node status to use prefix based searching
* Fixed tests
* Removed truncation logic
2015-12-22 23:44:33 +01:00
Alex Dadgar
31c3e12957
merge
2015-12-18 12:17:13 -08:00
Alex Dadgar
561ccdb441
Use client state
2015-12-16 15:00:45 -08:00
Alex Dadgar
6840bcb0bd
Don't allow users to set gc and make batch gc
2015-12-16 15:00:45 -08:00
Alex Dadgar
f1d88bdf86
Remove user-specifiable gc threshold
2015-12-16 15:00:45 -08:00
Alex Dadgar
2218a79815
Add garbage collection to jobs
2015-12-16 15:00:45 -08:00
Diptanu Choudhury
ba5561cae0
Making sure existing ids for services are not re-generated
2015-12-15 09:14:32 -08:00
Diptanu Choudhury
7a8acd32e4
Populating service ids only if allocations can be placed for system jobs
2015-12-15 08:38:18 -08:00
Diptanu Choudhury
b7f556fabc
Changed some comments
2015-12-14 18:05:58 -08:00
Diptanu Choudhury
2eb03e1d23
Renamed serviceId to serviceID
2015-12-14 15:57:56 -08:00
Diptanu Choudhury
76486d71e2
Making the allocs hold service ids
2015-12-14 15:08:35 -08:00
Diptanu Choudhury
0c4b76e0ef
Changing the prefix of the service
2015-12-14 11:14:22 -08:00
Diptanu Choudhury
f596669118
Changing the prefix of the service id
2015-12-14 08:54:34 -08:00
Diptanu Choudhury
f932c5f9df
Refactored test and added some comments
2015-12-11 14:14:04 -08:00
Diptanu Choudhury
6665efdc36
Adding the changes to structs
2015-12-11 14:06:51 -08:00
Diptanu Choudhury
a53e035b49
Deregister services and checks which are managed by Nomad
2015-12-11 14:06:51 -08:00
Diptanu Choudhury
4395438400
Changing naming and debug message schemes
2015-12-10 16:47:43 -08:00
Diptanu Choudhury
b3c161a7d5
Generate check names, check id and service id on the server side
2015-12-10 16:07:17 -08:00
Alex Dadgar
7f8c2c6e95
Add IsPeriodic
2015-12-01 08:59:00 -08:00
Alex Dadgar
583425a326
Fix validate
2015-12-01 08:59:00 -08:00
Alex Dadgar
a9b95bca2d
Add Periodic config to job
2015-12-01 08:59:00 -08:00
Diptanu Choudhury
e25c260694
Merge pull request #509 from hashicorp/f-service-name
...
Implemented interpolation of Job, Task group and Task Names in Service Name
2015-11-26 23:28:13 -08:00
Diptanu Choudhury
c2073ef292
Added docs to the ExpandName method
2015-11-26 19:29:11 -08:00
Diptanu Choudhury
cbfe727100
Making the Job expand all service names during registration
2015-11-26 19:26:00 -08:00
Diptanu Choudhury
9cf10d64a5
making the service checks in service pointers
2015-11-25 17:44:57 -08:00
Diptanu Choudhury
f66069a08d
Using the service id in check hash
2015-11-25 15:17:27 -08:00
Diptanu Choudhury
28a21061ce
Implemented syncing of checks
2015-11-24 18:39:38 -08:00
Diptanu Choudhury
a3d5b266a0
Registering Checks independently
2015-11-24 10:02:33 -08:00
Diptanu Choudhury
5549c1d2dc
Generating the sha1 for a check
2015-11-24 10:02:33 -08:00
Alex Dadgar
9b99eeeec4
Remove shared reference to network resources across allocs
2015-11-23 16:32:30 -08:00
Chris Bednarski
275550dcd3
Fixed some issues with expose, port mapping, and environment variables
...
- Port mapping now works for reserved ports as well as dynamic ports
- Environment variables were being set twice in two different ways; now they are only set once
- Comprehensive tests for exposed ports, forwarded ports, and environment variables
- Cleaned up / DRYed up a lot of test code
2015-11-19 19:08:21 -08:00
Alex Dadgar
f84fc88b60
Register gob type and remove slicetype
2015-11-18 15:26:38 -08:00
Alex Dadgar
4d817f5cbc
Revert "Revert "Make drivers take arguments as a list and not as a string""
2015-11-18 15:16:42 -08:00
Diptanu Choudhury
d65d1bdfac
Merge pull request #455 from hashicorp/f-consul-check
...
Refactor consul check
2015-11-18 14:33:34 -08:00
Diptanu Choudhury
bb7f29f023
Changed the http field to path
2015-11-18 14:29:55 -08:00