Mukul
4471d02801
fix(nodeutilization): correct misleading notSupportedError message
...
notSupportedError signals that a usage client cannot quantify per-pod
resource usage (for example the Prometheus client). Its Error() method
returned "maximum number of evicted pods per node reached", which is
unrelated to that condition and misleading when it surfaces in logs.
Return a message that actually describes the error.
Signed-off-by: Mukul <nmukul32@gmail.com >
2026-07-28 18:56:28 +05:30
Jan Chaloupka
a868c8d129
chore: update the code based on golangci-lint report
2026-02-17 22:01:25 +01:00
googs1025
33894afe2b
feature: use contextal logging for plugins
...
Signed-off-by: googs1025 <googs1025@gmail.com >
2025-06-13 19:45:55 +08:00
Jan Chaloupka
04ebdbee32
[nodeutilization]: produce node utilization of resources that are listed in the list of resources
2025-03-19 12:35:19 +01:00
Jan Chaloupka
e283c31030
[nodeutilization]: prometheus usage client with prometheus metrics
2025-03-17 16:25:17 +01:00
Jan Chaloupka
50dd3b8971
ReferencedResourceList: alias for map[v1.ResourceName]*resource.Quantity to avoid the type definition duplication
2025-03-07 13:13:00 +01:00
Jan Chaloupka
6567f01e86
[nodeutilization]: actual usage client through kubernetes metrics
2024-11-20 14:30:46 +01:00
Jan Chaloupka
d1c64c48cd
nodeutilization: separate code responsible for requested resource extraction into a dedicated usage client
...
Turning a usage client into an interface allows to implement other kinds
of usage clients like actual usage or prometheus based resource
collection.
2024-11-15 11:23:49 +01:00