Michael Lange
b347141e0c
Prototype of the topo viz
...
- Plot all datacenters
- For each datacenter, plot all nodes
- For each node, plot all allocations by memory and cpu
- For empty nodes, highlight the emptiness
- When hovering over allocations, give them visual focus
2020-10-15 02:54:13 -07:00
Buck Doyle
89136cbf6a
Add massaged results of class codemod
...
Manual interventions:
• decorators on the same line for service and controller
injections and most computed property macros
• preserving import order when possible, both per-line
and intra-line
• moving new imports to the bottom
• removal of classic decorator for trivial cases
• conversion of init to constructor when appropriate
2020-06-10 16:18:42 -05:00
Buck Doyle
9c0f85d7b6
UI: add filesystem browsing for allocations ( #7951 )
...
This partially addresses #7799 .
Task state filesystems are contained within a subdirectory of their
parent allocation, so almost everything that existed for browsing task
state filesystems was applicable to browsing allocations, just without
the task name prepended to the path. I aimed to push this differential
handling into as few contained places as possible.
The tests also have significant overlap, so this includes an extracted
behavior to run the same tests for allocations and task states.
2020-06-01 08:15:59 -05:00
Michael Lange
ea7b8b1a11
Don't double load freshly loaded allocations
2020-05-12 21:30:33 -07:00
Michael Lange
260da00852
Add embedded task group to allocation to reference when allocation is historical
2020-05-01 14:30:02 -07:00
Michael Lange
321b5fb6e6
Add isMigrating property to the allocation model
2020-01-23 16:34:07 -08:00
Buck Doyle
b5e5798e54
UI: add Consul Connect features ( #6108 )
2019-09-04 09:39:56 -05:00
Michael Lange
8d31474fdc
Support task restarting in the allocation adapter
2019-05-21 09:24:17 -07:00
Michael Lange
a00bc8befc
Allocation methods for stopping and restarting
2019-05-21 09:24:16 -07:00
Michael Lange
d12d5f9163
Add wasPreempted bool to allocs
2019-04-22 16:40:02 -07:00
Michael Lange
cb11f46ecf
Data modeling for preemptions
2019-04-22 16:40:00 -07:00
Michael Lange
4736803a24
ES5 getters codemod
2019-04-10 14:54:36 -07:00
Michael Lange
55ea01c1cc
Address test failures
2019-04-10 14:54:35 -07:00
Michael Lange
076ae5046b
Model isRunning based on the client status of the allocation
2018-12-13 07:53:17 -08:00
Michael Lange
5736b71f00
Remove no longer used allocation-stats class
2018-09-26 10:59:26 -07:00
Michael Lange
578403b193
Add createTime to the allocation model
2018-08-06 10:53:13 -07:00
Michael Lange
6e00633d77
Update all the awkward browserify imports to plain ol' es6 imports
2018-07-06 13:38:57 -07:00
Michael Lange
c86183154b
Remove hacky code that worked around an Ember Data bug
...
The bug is fixed in 2.18, so this can be written in the normal
less surprising way.
2018-06-13 15:05:18 -07:00
Michael Lange
6dd0840553
Spread the driver health love throughout job models
2018-05-25 10:15:23 -07:00
Michael Lange
077ee297c0
Reschedule events timeline for the alloc detail page
2018-05-04 19:36:54 -07:00
Michael Lange
825d7c4512
Add WaitUntil and followUpEvaluation
2018-05-04 19:36:54 -07:00
Michael Lange
97db138ce8
Add follow up eval relationship to allocation
2018-05-04 19:36:54 -07:00
Michael Lange
ca172e1fc2
Modeling alloc reschedule events
2018-05-04 19:36:54 -07:00
Michael Lange
6bf139d094
Refactor the way allocation stats are fetched
...
No longer treat it as a property for relationship, just ephemeral
data that can be fetched on demand.
2018-03-22 14:34:13 -07:00
Michael Lange
470b8131bd
Get client stats through the server agent
2018-02-26 12:23:47 -08:00
Michael Lange
1107798da6
Use the new ember modules imports
...
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
54cb23c577
Use ModifyTime instead of ModifyIndex
2017-12-06 10:17:12 -08:00
Michael Lange
9c58c30496
Update allocation detail page to look like job and node
2017-11-14 11:05:29 -08:00
Michael Lange
5f73c5d392
Handle the undefined TotalTicks case
2017-10-19 17:35:58 -07:00
Michael Lange
b693ff1886
Don't rely on CpuStats.Percent
...
Just do the math client-side with TotalTicks and Reserved
2017-10-19 10:44:52 -07:00
Michael Lange
189403c5b9
Add the acl token as a header to client requests
2017-10-18 19:48:17 -07:00
Michael Lange
8c6c54ff07
Add job version to allocation tables
2017-10-18 12:29:33 -07:00
Michael Lange
a10466a68d
Sort allocation by status type, not simply alphanumeric
2017-10-18 11:45:01 -07:00
Michael Lange
726f3a75e9
Fix the memory usage math
...
1. Use RSS, not Cache (shoulda read the source)
2. Convert bytes to megabytes before doing division
2017-10-17 10:17:42 -07:00
Michael Lange
4e606e435d
Fixes issue regarding allocation rows
...
Sometimes the job name and/or task group name wouldn't show up.
2017-10-05 18:01:19 -07:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00