-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Autoscaling APIs not experimental #67202
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
Merged
henningandersen
merged 18 commits into
elastic:master
from
henningandersen:docs_autoscaling_not_experimental
Jan 12, 2021
Merged
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3fbf3b2
Autoscaling APIs not experimental
henningandersen 1d314b9
Update docs/reference/autoscaling/index.asciidoc
henningandersen 5e17d2a
Update docs/reference/autoscaling/index.asciidoc
henningandersen aa7412a
Update docs/reference/autoscaling/deciders/reactive-storage-decider.a…
henningandersen 8759aa4
Update docs/reference/autoscaling/deciders/reactive-storage-decider.a…
henningandersen 0448818
Update docs/reference/autoscaling/deciders/proactive-storage-decider.…
henningandersen e9a0f26
Update docs/reference/autoscaling/deciders/proactive-storage-decider.…
henningandersen 2d790c6
Update docs/reference/autoscaling/deciders/machine-learning-decider.a…
henningandersen 6fd7d52
Apply suggestions from code review
henningandersen 9bcf5bb
Add outer policies
henningandersen bf00912
Apply suggestions from code review
henningandersen 94a0a21
Max bytes of storage/memory of a node.
henningandersen 734fa7c
Merge branch 'docs_autoscaling_not_experimental' of github.com:hennin…
henningandersen b8c7350
Designed for note.
henningandersen 7ab0ebf
Add short intro to policy, roles and deciders.
henningandersen d0429bd
Add configuration settings sections.
henningandersen 4695138
Apply suggestions from code review
henningandersen f5628d0
Update docs/reference/autoscaling/autoscaling-designed-for-note.asciidoc
henningandersen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
docs/reference/autoscaling/apis/delete-autoscaling-policy.asciidoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
docs/reference/autoscaling/apis/get-autoscaling-policy.asciidoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[role="xpack"] | ||
[testenv="enterprise"] | ||
[[autoscaling-deciders]] | ||
== Autoscaling deciders | ||
|
||
<<autoscaling-reactive-storage-decider,Reactive storage decider>>:: | ||
Estimates required storage capacity of current data set. Available for policies | ||
governing data nodes. | ||
|
||
<<autoscaling-proactive-storage-decider,Proactive storage decider>>:: | ||
Estimates required storage capacity based on current ingestion into hot nodes. | ||
Available for policies governing hot data nodes. | ||
|
||
<<autoscaling-machine-learning-decider,Machine learning decider>>:: | ||
Estimates required memory capacity based on machine learning jobs. | ||
Available for policies governing machine learning nodes. | ||
|
||
<<autoscaling-fixed-decider,Fixed decider>>:: | ||
Responds with a fixed required capacity. This decider is intended for testing only. | ||
|
||
include::deciders/reactive-storage-decider.asciidoc[] | ||
include::deciders/proactive-storage-decider.asciidoc[] | ||
include::deciders/machine-learning-decider.asciidoc[] | ||
include::deciders/fixed-decider.asciidoc[] |
2 changes: 2 additions & 0 deletions
2
docs/reference/autoscaling/autoscaling-designed-for-note.asciidoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[NOTE] | ||
Autoscaling is designed for indirect use by {ess-trial}[{ess}], {ece-ref}[{ece}], and {eck-ref}[Elastic Cloud on Kubernetes]. Direct use is not supported. | ||
67 changes: 67 additions & 0 deletions
67
docs/reference/autoscaling/deciders/fixed-decider.asciidoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
[role="xpack"] | ||
[testenv="enterprise"] | ||
[[autoscaling-fixed-decider]] | ||
=== Fixed decider | ||
|
||
experimental[] | ||
[WARNING] | ||
The fixed decider is intended for testing only. Do not use this decider in production. | ||
|
||
The `fixed` decider responds with a fixed required capacity. It is not enabled | ||
by default but can be enabled for any policy by explicitly configuring it. | ||
|
||
==== Configuration settings | ||
|
||
`storage`:: | ||
(Optional, <<byte-units,byte value>>) | ||
Required amount of node-level storage. Defaults to `-1` (disabled). | ||
|
||
`memory`:: | ||
(Optional, <<byte-units,byte value>>) | ||
Required amount of node-level memory. Defaults to `-1` (disabled). | ||
|
||
`nodes`:: | ||
(Optional, integer) | ||
Number of nodes to use when calculating capacity. Defaults to `1`. | ||
|
||
[[autoscaling-fixed-decider-examples]] | ||
==== {api-examples-title} | ||
|
||
This example puts an autoscaling policy named `my_autoscaling_policy`, enabling | ||
and configuring the fixed decider. | ||
|
||
[source,console] | ||
-------------------------------------------------- | ||
PUT /_autoscaling/policy/my_autoscaling_policy | ||
{ | ||
"roles" : [ "data_hot" ], | ||
"deciders": { | ||
"fixed": { | ||
"storage": "1tb", | ||
"memory": "32gb", | ||
"nodes": 8 | ||
} | ||
} | ||
} | ||
-------------------------------------------------- | ||
// TEST | ||
|
||
The API returns the following result: | ||
|
||
[source,console-result] | ||
-------------------------------------------------- | ||
{ | ||
"acknowledged": true | ||
} | ||
-------------------------------------------------- | ||
|
||
////////////////////////// | ||
|
||
[source,console] | ||
-------------------------------------------------- | ||
DELETE /_autoscaling/policy/my_autoscaling_policy | ||
-------------------------------------------------- | ||
// TEST[continued] | ||
|
||
////////////////////////// | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.