Commit Graph

19 Commits

Author SHA1 Message Date
István Zoltán Szabó d8de8f2d73
[DOCS] Fixes typo in decider docs. (#67743) 2021-01-20 10:51:17 +01:00
Henning Andersen 82726b3939
Autoscaling hide test setup in docs (#67570)
Two APIs showed the test setup in docs, now hidden.
2021-01-17 18:22:27 +01:00
Thibault Richard 59d5a91c5a
Fix typo in autoscaling policy doc (#67575) 2021-01-15 15:21:39 +01:00
Benjamin Trent 5ac364e4e7
[ML] [DOCS] expounding on ml autoscaling decider docs (#67463)
This commit adds more details and clarifications to the machine learning autoscaling decider documentation.
2021-01-15 08:15:43 -05:00
Henning Andersen cc30ae8c16
Autoscaling APIs not experimental (#67202)
We no longer regard the autoscaling APIs experimental though they are
only intended for use by ESS/ECE/ECK. This commit updates the docs
to reflect this and adds a minimal set of documentation for the
feature.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-01-12 22:03:18 +01:00
Henning Andersen c91a4d8d2b
Autoscaling remove feature flags (#65973)
Removed the autoscaling feature flags, autoscaling is now on by default
(though it requires an external system to handle the autoscaling
events). Added experimental notice to all autoscaling related
documentation pages.

Relates #51191
2020-12-14 19:06:09 +01:00
Henning Andersen be9725245d
Autoscaling delete policy by simple pattern (#64739)
Added the capability to delete autoscaling policies by pattern, allowing
to for instance do:
```
DELETE _autoscaling/policy/*
```
to delete all autoscaling policies. If a wildcard is involved, no
matches are required.
2020-11-09 15:44:33 +01:00
Henning Andersen 54911ace97
Autoscaling policy roles specification (#64222)
Add a roles specification to autoscaling policies. This is used to map
the policy to a set of nodes governed by the policy. The list of roles
is mandatory when adding a policy, optional on updates.

This commit also removes the outer level "policy" element from autoscaling
policy PUT and GET requests.
2020-11-02 07:30:31 +01:00
Henning Andersen d573fdefd3
Autoscaling capacity API and structure (#63905)
Renamed decision API to capacity. Responses now prefer objects/maps over
arrays. Removed mention of tier, using policies as the outer map and
total for the policy-wide total capacity.
2020-10-21 11:57:11 +02:00
Henning Andersen d8dd6e38a7
Autoscaling decision return absolute capacity (#61575)
The autoscaling decision API now returns an absolute capacity,
and leaves the actual decision of whether a scale up or down
is needed to the orchestration system.

The decision API now returns both a tier and node level required
and current capacity as wells as a decider level breakdown of the
same though with in particular current memory still not populated.
2020-09-18 20:44:20 +02:00
Henning Andersen 92d70534ef
Autoscaling decider and decision service (#59005)
Split the autoscaling decider into a service and configuration
in order to enable having additional context information available
in the service. Added AutoscalingDeciderContext holding generic
information all deciders are expected to need. Implemented GET
_autoscaling/decision
2020-08-10 12:02:25 +02:00
James Rodewig 2774cd6938
[DOCS] Swap `[float]` for `[discrete]` (#60124)
Changes instances of `[float]` in our docs for `[discrete]`.

Asciidoctor prefers the `[discrete]` tag for floating headings:
https://asciidoctor.org/docs/asciidoc-asciidoctor-diffs/#blocks
2020-07-23 11:48:22 -04:00
Jason Tedor 48b314a806
Add get autoscaling policy API (#54762)
This commit adds the get autoscaling policy API.
2020-04-04 17:52:54 -04:00
Jason Tedor 6d0bd25545
Add delete autoscaling policy API (#54601)
This commit adds an API for deleting autoscaling policies.
2020-04-02 08:57:40 -04:00
Jason Tedor b82618d4a6
Rename the policy in put autoscaling policy docs
The put autoscaling policy docs use a "hot" policy as an
example. Instead, this commit changes the name of this policy to
"my_autoscaling_policy".
2020-04-01 16:30:26 -04:00
Jason Tedor 6e35354f8e
Introduce autoscaling policies (#54473)
This commit is the first in a series of commits that introduces
autoscaling policies, and APIs for working with them. For now, we
introduce the basic infrastructure, and a single API for putting an
autoscaling policy. We will follow in rapid succession with APIs for
getting, and deleting autoscaling policies.
2020-04-01 07:35:45 -04:00
Jason Tedor 94e81b0aa0
Introduce autoscaling decisions (#53934)
This is the first in a series of commits that will introduce the
autoscaling deciders framework. This commit introduces the basic
framework for representing autoscaling decisions.
2020-03-23 22:53:51 -04:00
Jason Tedor 5a12e5856a
Add autoscaling API skelton (#51564)
The main purpose of this commit is to add a single autoscaling REST
endpoint skeleton, for the purpose of starting to build out the build
and testing infrastructure that will surround it. For example, rather
than commiting a fully-functioning autoscaling API, we introduce here
the skeleton so that we can start wiring up the build and testing
infrastructure, establish security roles/permissions, an so on. This
way, in a forthcoming PR that introduces actual functionality, that PR
will be smaller and have less distractions around that sort of
infrastructure.
2020-02-06 19:15:17 -05:00
Jason Tedor d96038eca8
Initial autoscaling commit (#51161)
This commit merely adds the skeleton for the autoscaling project, adding
the basics to include the autoscaling module in the default
distribution, opt-in to code formatting, and a placeholder for the docs.
2020-01-17 14:54:53 -05:00