Gets the current autoscaling capacity based on the configured autoscaling policy Added in 7.11.0
Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
GET /_autoscaling/capacity
curl \
-X GET http://api.example.com/_autoscaling/capacity
Response examples (200)
{
"policies": {
"additionalProperty1": {
"required_capacity": {
"node": {
"storage": 42.0,
"memory": 42.0
},
"total": {
"storage": 42.0,
"memory": 42.0
}
},
"current_capacity": {
"node": {
"storage": 42.0,
"memory": 42.0
},
"total": {
"storage": 42.0,
"memory": 42.0
}
},
"current_nodes": [
{
"name": "string"
}
],
"deciders": {
"additionalProperty1": {
"required_capacity": {
"node": {},
"total": {}
},
"reason_summary": "string",
"reason_details": {}
},
"additionalProperty2": {
"required_capacity": {
"node": {},
"total": {}
},
"reason_summary": "string",
"reason_details": {}
}
}
},
"additionalProperty2": {
"required_capacity": {
"node": {
"storage": 42.0,
"memory": 42.0
},
"total": {
"storage": 42.0,
"memory": 42.0
}
},
"current_capacity": {
"node": {
"storage": 42.0,
"memory": 42.0
},
"total": {
"storage": 42.0,
"memory": 42.0
}
},
"current_nodes": [
{
"name": "string"
}
],
"deciders": {
"additionalProperty1": {
"required_capacity": {
"node": {},
"total": {}
},
"reason_summary": "string",
"reason_details": {}
},
"additionalProperty2": {
"required_capacity": {
"node": {},
"total": {}
},
"reason_summary": "string",
"reason_details": {}
}
}
}
}
}