Commit Graph

8 Commits

Author SHA1 Message Date
divolgin
47e715a350 Don't panic when parsing resources, return error 2020-05-27 19:56:23 +00:00
Michael Smith
8f8b8b2c78 Fix sum(memoryAllocatable) and sum(podAllocatable)
Fixes `sum(memoryAllocatable)` and `sum(podAllocatable)`. These
previously tested the wrong resource (cpuAllocatable).

Also refactor comparison functions to unify resolving properties and add
more testing.

Fixes #179.
2020-04-21 11:39:31 -07:00
Michael Smith
1605b56090 Simplify tests by reusing same node data
Remove repetition across test cases that made it hard to read. Tweaks
tests where needed so they can all use the same node data. Also corrects
a test where the description didn't match the test.
2020-04-21 11:08:03 -07:00
Marc Campbell
717ba13614 Sum, min, max and count aggregation functions 2020-02-06 19:30:50 +00:00
Marc Campbell
6765e6c030 Working on aggregation functions 2020-02-06 19:10:22 +00:00
Marc Campbell
eea2315c52 Aggregate analyzers for node troubleshoot: 2020-02-06 10:06:09 -08:00
Marc Campbell
879c3a67d7 Node resource analyzer 2020-01-29 23:16:40 +00:00
Marc Campbell
299f3e0da7 Add node analyzers 2020-01-29 13:49:02 -08:00