Query costs and resources allocated to Kubernetes workloads
OpenCost-compatible allocation query. Returns one allocation set per step in the window, each keyed by the aggregated resource name. CPU and RAM are billed on the greater of request and usage, per the OpenCost specification. Unallocated node cost is returned as idle unless shareIdle distributes it. Storage and network cost are not included.
Authorizations
Enter "Bearer {token}"
Query Parameters
Duration (7d, 24h), 'today', 'yesterday', or a comma-separated RFC3339 pair
Comma-separated list of cluster, node, namespace, controller, controllerKind, deployment, statefulset, daemonset, job, cronjob, pod, container, label:
Duration of each returned set; defaults to the whole window
Collapse the range into a single set
Emit unallocated node cost as its own idle allocation
Distribute idle across the other allocations instead, weighted by consumption
Not supported; idle is reported for the cluster
Restrict the result, for example cluster:\