Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Document autoscaling processors #88248

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/reference/autoscaling/apis/get-autoscaling-capacity.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ Bytes of storage required per node.
(integer)
Bytes of memory required per node.

`processors`::
(float)
Number of processors (vCPUs) required per node.

=======
`total`::
(object)
Expand All @@ -100,6 +104,11 @@ Total bytes of storage required for the policy.
`memory`::
(integer)
Total bytes of memory required for the policy.

`processors`::
(float)
Total number of processors (vCPUs) required for the policy.

=======
======
`current_capacity`::
Expand All @@ -125,6 +134,10 @@ Maximum bytes of storage of a node.
(integer)
Maximum bytes of memory of a node.

`processors`::
(float)
Maximum number of processors (vCPUs) of a node.

=======
`total`::
(object)
Expand All @@ -140,6 +153,10 @@ Current bytes of storage available for the policy.
`memory`::
(integer)
Current bytes of memory available for the policy.

`processors`::
Current number of processors (vCPUs) available for the policy.

=======
======
`current_nodes`::
Expand Down Expand Up @@ -191,6 +208,10 @@ Bytes of storage required per node.
(integer)
Bytes of memory required per node.

`processors`::
(float)
Number of processors (vCPUs) required per node.

==========
`total`::
(object)
Expand All @@ -206,6 +227,11 @@ Total bytes of storage required for the policy.
`memory`::
(integer)
Total bytes of memory required for the policy.

`processors`::
(float)
Total number of processors (vCPUs) required for the policy.

==========
=========
`reason_summary`::
Expand Down
5 changes: 5 additions & 0 deletions docs/reference/autoscaling/deciders/fixed-decider.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ Required amount of node-level storage. Defaults to `-1` (disabled).
(Optional, <<byte-units,byte value>>)
Required amount of node-level memory. Defaults to `-1` (disabled).

`processors`::
(Optional, float)
Required number of processors. Defaults to disabled.

`nodes`::
(Optional, integer)
Number of nodes to use when calculating capacity. Defaults to `1`.
Expand All @@ -38,6 +42,7 @@ PUT /_autoscaling/policy/my_autoscaling_policy
"fixed": {
"storage": "1tb",
"memory": "32gb",
"processors": 2.3,
"nodes": 8
}
}
Expand Down