Bin packing optimization
Learn how to optimize Kubernetes bin packing to improve resource utilization, reduce cloud costs, and maintain application health and performance
Bin Packing view provides you a clear visibility into the workloads preventing nodes from being removed from a cluster.
This view helps you evaluate resource utilization, identify idle node capacity, quickly spot node consolidation blockers, such as pods that cannot be evicted, and access detailed pod and node data for further investigation.

By combining a cluster-wide view with node-level details, it helps you improve bin packing, maximize the efficiency of your cluster autoscaler (such as Karpenter or Cluster Autoscaler), and ultimately reduce Kubernetes cloud costs.
Understanding bin packing view
Snapshot selector
Use the snapshot picker in the top-right corner to select a specific one

Top panel summary
The top panel summarizes the environment, showing the number of visible nodes and pods, as well as unevictable pods. This helps you quickly identify blockers to node consolidation and scale-down.

Instance charts
Use the Instances charts for deeper analysis. This view shows which pods are running on each instance, their share of resources, and whether any of them are unevictable, helping you quickly understand if pods may impact scale-down.

Customize view
Switch between memory and CPU views to evaluate resource utilization from different perspectives. Use filters to narrow down the displayed data and sorting to prioritize nodes based on relevant metrics, making it easier to identify underutilized resources and bin-packing opportunities.

Use the Filter control to narrow down the view by node-level or pod-level criteria. Filters allow you to focus on specific subsets of your cluster, such as nodes with taints or pods in a particular namespace, etc.
Use the Sort control to reorder nodes based on different criteria, such as idle, resource utilization or unevictable pod count.
Node cards

Each node is represented as a card displaying the following information:
Resource bars: Horizontal bars showing requested vs. total available capacity, such as CPU, RAM, and GPU.
Pod treemap: Pods inside each node are displayed as a treemap. Unevictable pods are highlighted with a orange border for quick identification.
Bottom labels: Each card shows the node's taints and a count of unevictable pods.
By clicking on any node or pod, you can open the sidebar detail view, which includes:
Item info: name, namespace, resource requests and limits, and other key metadata.
Resources utilized: a breakdown of actual resource usage (allocated vs. allocatable).
Conditions: indicates if the node passed the checks, such as memory pressure, disk pressure, etc.
Annotations: all Kubernetes annotations associated with the item.
and more.

⚡️ Unevictable pods recommendations
When PerfectScale detects unevictable pods, it provides precise, data-driven YAML diff recommendations that compare the current configuration with the recommended changes, helping you troubleshoot bin-packing issues and resolve them in just a few clicks.
To access Unevictable Pods recommendations, select the relevant click See Recommendations or the Unevictable Pods widget.

Click See Recommendation next to a recommendation to open its details. You'll find a clear explanation of the recommended change, along with the corresponding YAML configuration that you can copy with a single click and apply directly to your manifest.
Some findings may be intentional and do not require any action. If that's the case, click Mute for Workload. PerfectScale will automatically hide the same finding for all unevictable pods in that workload, so it won't appear in future scans. You can still view muted findings in the Muted tab and unmute them at any time.

Last updated
Was this helpful?