Cluster Right-Sizing Recommendation API
Kubecost's Cluster Right-Sizing Recommendation API can monitor the resource utilization of your clusters and offer cost-effective right-sizing solutions.
Cluster Right-Sizing Recommendation API
GET
http://<your-kubecost-address>/model/savings/clusterSizingETL
Path Parameters
window
string
targetUtilization
float in the range (0, 1]
Target CPU/RAM utilization which parallels environment profiles. For reference, Development should equal .80
, Production should equal .65
, and High Availability should equal .5
. Also supports custom values within the range.
minNodeCount
int
Minimum node count to be recommended which parallels environment profiles. For reference, Development should equal 1
, Production should equal 2
, and High Availability should equal 3
. Also supports custom values within the range.
allowSharedCore
boolean
Whether you want to allow shared core node types to be included in your recommendation. Accepts true
or false
.
architecture
string
Accepts x86
or ARM
. Currently, ARM
is only supported on AWS clusters.
Examples
Receive right-sizing recommendations taking into account cluster activity for the past two weeks, and ideal CPU and RAM utilization for a high availability environment.
Receive recommendations taking into account AWS cluster activity for the past five days, ideal CPU and RAM utilization for a production environment, and allowing shared cores.
Adopting cluster right-sizing recommendations
The Cluster Right-Sizing Recommendation API is not able to directly implement its recommendations. To adopt right-sizing recommendations for your cluster(s), view this section of our Cluster Right-Sizing doc.
Last updated