Commit Graph

3163 Commits

Author SHA1 Message Date
Armon Dadgar
c52596f1b6 nomad: FSM support for AllocClientUpdateRequestType 2015-08-25 18:00:14 -07:00
Armon Dadgar
0e0c477f9f nomad: adding UpdateAllocFromClient for client based updates 2015-08-25 17:54:45 -07:00
Armon Dadgar
596718d508 Merge pull request #2 from hashicorp/f-alloc-status
Split the Alloc DesiredStatus from ClientStatus
2015-08-25 17:39:44 -07:00
Armon Dadgar
cfaa467087 nomad: updating for new alloc representation 2015-08-25 17:36:52 -07:00
Armon Dadgar
69a3076d87 scheduler: updating for new APIs 2015-08-25 17:06:06 -07:00
Chris Bednarski
d85547e1b9 Merge pull request #1 from hashicorp/f-fingerprint-config
Pass agent configuration into fingerprinter
2015-08-25 16:57:29 -07:00
Armon Dadgar
9a917281af nomad: plan supports more than just evict 2015-08-25 16:52:56 -07:00
Armon Dadgar
7a172bed10 nomad: updating state for split 2015-08-25 16:26:34 -07:00
Chris Bednarski
a9981d83f1 Pass config to fingerprints; update tests 2015-08-25 16:21:29 -07:00
Armon Dadgar
501fbf7226 nomad: update mock alloc status 2015-08-25 16:19:21 -07:00
Armon Dadgar
c63c955450 nomad: splitting alloc desired and client status 2015-08-25 16:18:37 -07:00
Chris Bednarski
8f3713ddf9 We need a new package for this or we get a circular import between client and client/fingerprint 2015-08-25 16:13:33 -07:00
Armon Dadgar
7bc58802e6 agent: adding HTTP server 2015-08-23 17:50:33 -07:00
Armon Dadgar
93918b895a agent: basic setup 2015-08-23 17:40:27 -07:00
Armon Dadgar
f208364a3e client: faster retries in dev mode 2015-08-23 17:40:14 -07:00
Armon Dadgar
fdd1331db6 nomad: use fast and slow exponential backoff in worker 2015-08-23 17:39:49 -07:00
Armon Dadgar
58680a1955 agent: moving functions into helpers 2015-08-23 16:57:54 -07:00
Armon Dadgar
7b4ac68c37 agent: use the client 2015-08-23 16:53:15 -07:00
Armon Dadgar
0bf1aec4a5 client: making progress 2015-08-23 16:49:48 -07:00
Armon Dadgar
8b97638318 scheduler: update tests to filter terminal allocs 2015-08-23 16:30:57 -07:00
Armon Dadgar
5f11b99caa client: standardize naming 2015-08-23 15:36:06 -07:00
Armon Dadgar
585e11943b client: rename Alloc/TaskContext to Runner 2015-08-23 15:32:46 -07:00
Armon Dadgar
382eebf777 client: alloc/task context 2015-08-23 15:30:16 -07:00
Armon Dadgar
36ea8a9e5b client: working on alloc context 2015-08-23 15:15:48 -07:00
Armon Dadgar
b5e2047fbf client: working on alloc handling 2015-08-23 15:06:47 -07:00
Armon Dadgar
5ac8546c99 client: working with alloc diffs 2015-08-23 14:54:52 -07:00
Armon Dadgar
398d1b723a client: alloc diffing 2015-08-23 14:47:51 -07:00
Armon Dadgar
da43c8fe10 client: state stubs 2015-08-23 14:12:26 -07:00
Armon Dadgar
1f0877aaa8 nomad: default number of schedulers to number of cores 2015-08-23 13:59:26 -07:00
Armon Dadgar
7342b11abb nomad: disable one worker when leader 2015-08-23 13:59:13 -07:00
Armon Dadgar
22a75d117b nomad: track the workers in the pool 2015-08-23 10:53:53 -07:00
Armon Dadgar
3588126f90 nomad: adding ability to pause a worker 2015-08-23 10:52:31 -07:00
Armon Dadgar
e70f47d6dc nomad: plan apply handles update of existing allocation 2015-08-22 19:37:21 -07:00
Armon Dadgar
cfcad82736 client: watch for allocations 2015-08-22 19:31:22 -07:00
Armon Dadgar
b1671f4e59 nomad: add client.GetAllocs with blocking query support 2015-08-22 19:17:49 -07:00
Armon Dadgar
2bc6c8a37c nomad/state: adding watching mechanisms 2015-08-22 18:57:15 -07:00
Armon Dadgar
9b4f3a4c8f nomad: adding evicted state for allocs 2015-08-22 18:30:49 -07:00
Armon Dadgar
df2b86300d nomad: adding evict state for allocs 2015-08-22 18:27:51 -07:00
Armon Dadgar
795002b4a2 nomad: client does periodic heartbeat 2015-08-22 18:16:05 -07:00
Armon Dadgar
15eb0b28ee nomad: Client.UpdateStatus used for heartbeats 2015-08-22 17:49:48 -07:00
Armon Dadgar
73c0aeb776 nomad: testing heartbeat resets 2015-08-22 17:37:50 -07:00
Armon Dadgar
3f6ebb3d5a nomad: no heartbeat for nodes in terminal status 2015-08-22 17:17:13 -07:00
Armon Dadgar
875be36c2a nomad: add rate based scaling util methods 2015-08-22 17:12:24 -07:00
Armon Dadgar
5e8d4ef647 client: register on start 2015-08-20 17:49:04 -07:00
Armon Dadgar
c9649dd7f7 client: scan for drivers 2015-08-20 16:53:43 -07:00
Armon Dadgar
4a5fcefc40 driver: skeleton package 2015-08-20 16:50:28 -07:00
Armon Dadgar
c39c72e87f client: attempt fingerprint of host 2015-08-20 16:41:29 -07:00
Armon Dadgar
169ca53989 fingerprint: adding arch fingerprint 2015-08-20 16:29:19 -07:00
Armon Dadgar
a366dc12c2 fingerprint: adding simple package 2015-08-20 16:26:32 -07:00
Armon Dadgar
b99ae35e1e nomad: remove the client implementation 2015-08-20 16:13:43 -07:00