Last updated 9 months ago
GET http://<kubecost-address>/model/savings/abandonedWorkloads
GET
http://<kubecost-address>/model/savings/abandonedWorkloads
The abandoned workloads API suggests cluster workloads that have been abandoned based on network traffic levels.
{ "pod": "...", "namespace": "...", "node": "...", "clusterId": "...", "clusterName": "...", "owners": [ { "name": "...", "kind": "..." } ], "ingressBytesPerSecond": 0, "egressBytesPerSecond": 0, "allocation": { "cpuCores": 0.00, "ramBytes": 0.00 }, "requests": { "cpuCores": 0.00, "ramBytes": 0 }, "usage": { "cpuCores": 0.00, "ramBytes": 0 }, "monthlySavings": 0.00 },
days
int
Number of historical days over which network traffic should be measured.
threshold
The threshold of total traffic (bytes in/out per second) at which a workload is determined abandoned.