recommend
Provides a recommended set of node pools on a given provider in a specific region.
Provides a recommended set of node pools on a given provider in a specific region.
post/recommender/provider/{provider}/service/{service}/region/{region}/cluster
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Path parameters
providerstring required
provider
servicestring required
service
regionstring required
region
Request body
Response
recommendation response
Example response
{
"provider": "provider",
"zone": "zone",
"service": "service",
"accuracy": {
"masterPrice": 6.027456183070403,
"memory": 1.4658129805029452,
"nodes": 5,
"spotPrice": 9.301444243932576,
"workerPrice": 2.027123023002322,
"totalPrice": 3.616076749251911,
"zone": "zone",
"regularPrice": 2.3021358869347655,
"cpu": 0.8008281904610115,
"regularNodes": 5,
"spotNodes": 7
},
"nodePools": [
{
"role": "role",
"vmClass": "vmClass",
"vm": {
"currentGen": true,
"memPerVm": 1.4894159098541704,
"gpusPerVm": 1.0246457001441578,
"networkPerf": "networkPerf",
"avgPrice": 7.386281948385884,
"burst": true,
"category": "category",
"networkPerfCategory": "networkPerfCategory",
"type": "type",
"zones": [
"zones",
"zones"
],
"onDemandPrice": 6.84685269835264,
"cpusPerVm": 1.2315135367772556
},
"sumNodes": 4
},
{
"role": "role",
"vmClass": "vmClass",
"vm": {
"currentGen": true,
"memPerVm": 1.4894159098541704,
"gpusPerVm": 1.0246457001441578,
"networkPerf": "networkPerf",
"avgPrice": 7.386281948385884,
"burst": true,
"category": "category",
"networkPerfCategory": "networkPerfCategory",
"type": "type",
"zones": [
"zones",
"zones"
],
"onDemandPrice": 6.84685269835264,
"cpusPerVm": 1.2315135367772556
},
"sumNodes": 4
}
],
"region": "region"
}Changes
No recorded changes to this operation across all 3 revisions of this API.