Gets the current autoscaling capacity based on the configured autoscaling policy Added in 7.11.0

GET /_autoscaling/capacity

Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • policies object Required
      Hide policies attribute Show policies attribute object
      • * object Additional properties

        Additional properties are allowed.

        Hide * attributes Show * attributes object
        • required_capacity object Required

          Additional properties are allowed.

          Hide required_capacity attributes Show required_capacity attributes object
          • node object Required

            Additional properties are allowed.

            Hide node attributes Show node attributes object
          • total object Required

            Additional properties are allowed.

            Hide total attributes Show total attributes object
        • current_capacity object Required

          Additional properties are allowed.

          Hide current_capacity attributes Show current_capacity attributes object
          • node object Required

            Additional properties are allowed.

            Hide node attributes Show node attributes object
          • total object Required

            Additional properties are allowed.

            Hide total attributes Show total attributes object
        • current_nodes array[object] Required
          Hide current_nodes attribute Show current_nodes attribute object
        • deciders object Required
          Hide deciders attribute Show deciders attribute object
          • * object Additional properties

            Additional properties are allowed.

            Hide * attributes Show * attributes object
            • required_capacity object Required

              Additional properties are allowed.

              Hide required_capacity attributes Show required_capacity attributes object
              • node object Required

                Additional properties are allowed.

              • total object Required

                Additional properties are allowed.

            • Additional properties are allowed.

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": {}
        }
      }
    }
  }
}