# Reduce Kubernetes idle cost and rightsize workloads

By the end of this guide, you know how much of each cluster's cost is idle capacity and which workloads request more CPU and memory than they use, each rightsizing finding has an owner and a decision, and you have read the cluster again after the change to see the cost leave it. It is for the platform engineer who runs the clusters and sizes their nodes. The path reads idle cost and request efficiency, works the Kubernetes findings in the savings queue, applies the lower requests, and compares the cluster before and after. Each step links to the page that owns the detail.

## Before you start

- A cluster that reports through the Kubernetes agent, fed to the workspace you work in; see [Connect Kubernetes](/connect/kubernetes) and [Choose which workspaces see a cluster](/connect/kubernetes#choose-which-workspaces-see-a-cluster).
- Assigning an owner, accepting, declining and marking a finding implemented, and saving a view, need edit access to the workspace; see [Access model](/concepts/access-model).
- The guide covers CPU and memory: the agent does not measure GPU usage, so GPUs are not in the efficiency figures.
- A real cluster: the [sample data](/quickstart#sample-data) a new organization starts with holds no Kubernetes cost.

## 1. Read idle cost and request efficiency

Open **Kubernetes** under **Optimization**. **Clusters** gives each cluster's **Cost**, its **Idle** cost and its efficiency; choose a cluster, then **By namespace** or **By workload**. **Idle** is node capacity no container was allocated, so a large share points at nodes that are too many or too large. On a workload, a low **CPU used** or **Memory used** is a request larger than the work needs, and a **CPU peak** or **Memory peak** above 100% is one that needs more than it asks for. Narrow the page with **Add filter**, and keep its link: the range and filter stay in the address. See [Read your cluster efficiency](/optimization/kubernetes-efficiency#read-your-cluster-efficiency).

The page keeps idle cost as measured even where the workspace spreads it onto namespaces in cost reports; see [Spread idle capacity](/connect/kubernetes#spread-idle-capacity).

## 2. Work the Kubernetes findings

Open **Savings** and set **All sources** to **Kubernetes analysis by Costfluent**, and **All connections** to one cluster if you run several. Each finding is about one container of one workload, of the kind **Rightsizing**, and its title and evidence name the current and the suggested request. Which containers get a finding, and how the suggestion and its monthly figure are worked out, is on [Findings from your Kubernetes clusters](/optimization/savings#findings-from-your-kubernetes-clusters). To come back to this list, open the **More** menu beside the list of views, select **Save as new**, and give the view a **Title**. See [Saved views](/optimization/savings#saved-views).

## 3. Assign and decide

Select **Assign owner** in a finding's row menu and enter the team that owns the workload under **Owner**. **Accept** a finding the owner agrees to act on. **Decline** one whose workload needs the headroom, such as a container that bursts inside a day, with a **Reason**: a decline is final, and a declined finding is never recreated. See [Assign an owner](/optimization/savings#assign-an-owner) and [Move a finding through its states](/optimization/savings#move-a-finding-through-its-states).

## 4. Apply the lower requests

Costfluent changes nothing in your cluster. Select **How to apply** on the finding's row: **Kubernetes manifest** holds the `resources.requests` to set in the manifest or chart values, and **Agent prompt** a prompt for a coding agent that opens a pull request. Check the suggestion against bursts inside a day, which a daily peak cannot show. Once the change is deployed, select **Mark implemented**. See [Apply a recommendation](/optimization/savings#apply-a-recommendation).

The freed requests become idle node capacity: the cluster's bill falls only once it runs fewer or smaller nodes, through your autoscaler or a smaller node pool.

## 5. Read the cluster again

On **Kubernetes**, pick a range that starts after the change and one of the same length before it, and compare the cluster's **Cost** and **Idle**, and the changed workloads' **CPU used** and **Memory used**. A day's cost arrives after the cluster is processed and can change once more when the cloud's billing for it lands; see [How costs are calculated](/connect/kubernetes#how-costs-are-calculated).

## Check the result

- On **Clusters**, the cluster's **Idle** over a range after the node change is lower than over the same range before it.
- The workloads you changed show **CPU used** and **Memory used** nearer their request, and no **Memory peak** above it.
- Your saved view on **Savings** shows each Kubernetes finding with an **Owner** instead of **Unassigned**, and the ones you changed under **In progress** as **Implemented**.

## Keep it true

Costfluent recommends opening the saved view in each savings review: a container whose requests drift away from its use gets a new finding, and an open one takes the latest figures each day. [Run a savings review](/guides/run-a-savings-review) sets the cadence.

## From your assistant

With the [Costfluent MCP server](/developers/mcp) connected, your assistant answers these with `get_kubernetes_efficiency` and `list_savings_items`.

```text
How did each cluster's idle cost, and the share of requested CPU and memory its workloads used, change between October and November?
```

```text
Which Kubernetes rightsizing findings have we accepted or marked implemented, and what monthly saving did each one estimate?
```

## Related

- [Kubernetes efficiency](/optimization/kubernetes-efficiency) and [Connect Kubernetes](/connect/kubernetes)
- [Savings](/optimization/savings)
- [Kubernetes cost by namespace and team](/guides/kubernetes-cost-by-team)
- [Run a savings review](/guides/run-a-savings-review)
