2.1 (latest)
Search
K
Links

Container Request Right-Sizing Recommendations

This feature is in beta. Please read the documentation carefully.
Kubecost can automatically implement its recommendations for container resource requests if you have the Cluster Controller component enabled. Using container request right-sizing (RRS) allows you to instantly optimize resource allocation across your entire cluster. You can easily eliminate resource over-allocation in your cluster, which paves the way for vast savings via cluster right-sizing and other optimizations.
Container Request Right-Sizing Recommendations

Prerequisites

There are no restrictions to receive container RRS recommendations.
To adopt these recommendations, you must enable the Cluster Controller on that cluster. In order for Kubecost to apply a recommendation, it needs write access to your cluster, which is enabled with the Cluster Controller.

Configuring RRS recommendations

Select Savings in the left navigation, then select Right-size your container requests. The Request right-sizing recommendations page opens.
Select Customize to modify the right-sizing settings. Your customization settings will tell Kubecost how to calculate its recommendations, so make sure it properly represents your environment and activity:
  • Window: Duration of deployment activity Kubecost will observe
  • Profile: Select from Development, Production, or High Availability*, which come with preconfigured values for CPu/RAM target utilization fields. Selecting Custom will allow you to manually configure these fields.
  • CPU/RAM recommendation algorithm: Always configured to Max.
  • CPU/RAM target utilization: Refers to the percentage of used resources over total resources available.
  • Add Filters: Optional configuration to limit the deployments which will have right-sizing recommendations applied. This will provide greater flexibility in optimizing your environment. Ensure you select the plus icon next to the filter value text box to add the filter. Multiple filters can be added.
When finished, select Save.
Your configured recommendations can also be downloaded as a CSV file by selecting the three dots button > Download CSV.

Adopting RRS recommendations

There are several ways to adopt Kubecost's container RRS recommendations, depending on how frequently you wish to utilize this feature for your container requests.

One-click right-sizing

To apply RRS as you configured in one instance, select Resize Requests Now > Yes, apply the recommendation.

Autoscaling

Also referred to as continuous container RRS, autoscaling allows you to configure a schedule to routinely apply RRS to your deployments. You can configure this by selecting Enable Autoscaling, selecting your Start Date and schedule, then confirming with Apply.

Savings Actions

Both one-click and continuous container RRS can be configured via Savings Actions. On the Actions page, select Create Action, then select either:
  • Request Sizing: Will open the Container RRS page with the schedule window open to configure and apply.
  • Guided Sizing: Will open the Guided Sizing page and allow you to apply both one-click RRS, then continous cluster sizing