Files
nomad/website/content/docs/autoscaling/plugins/strategy/app-sizing-max.mdx
Luiz Aoqui 334de88582 docs: restructure autoscaling plugins menu (#10534)
* docs: restructure autoscaling plugins menu

* docs: add autoscaling threshold strategy (#10535)
2021-05-07 14:21:50 -04:00

39 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
layout: docs
page_title: 'Autoscaling Plugins: Dynamic Application Sizing Max'
description: The "app-sizing-max" strategy plugin uses the historical maximum usage to set resource recommendations.
---
# Dynamic Application Sizing Max Strategy Plugin
<EnterpriseAlert>
This functionality only exists in Nomad Autoscaler Enterprise. This is not
present in the open source version of Nomad Autoscaler.
</EnterpriseAlert>
The `app-sizing-max` plugin calculates the maximum value seen for the target
resource within the available dataset. This plugin is ideally suited for memory
resources since workloads dont release their memory too often and
underprovisioning could cause OOM errors.
## Agent Configuration Options
The `app-sizing-max` plugin is automatically launched by Nomad Autoscaler
Enterprise and so the following setup is optional.
```hcl
strategy "app-sizing-max" {
driver = "app-sizing-max"
}
```
## Policy Configuration Options
```hcl
check "max" {
strategy "app-sizing-max" {}
}
```
The `app-sizing-max` plugin doesn't have any configuration.