Cluster Right-Sizing Recommendation API
Last updated
Last updated
Kubecost's Cluster Right-Sizing Recommendation API can monitor the resource utilization of your clusters and offer cost-effective right-sizing solutions.
GET
http://<your-kubecost-address>/model/savings/clusterSizingETL
Name | Type | Description |
---|---|---|
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.
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.
window
string
Duration of time over which to query. Accepts multiple different formats of time (see this Using the window
parameter section for more info).
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.