github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/tools/autoscaling/plugins/strategy/app-sizing-max.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Autoscaling Plugins: Dynamic Application Sizing Max'
     4  description: The "app-sizing-max" strategy plugin uses the historical maximum usage to set resource recommendations.
     5  ---
     6  
     7  # Dynamic Application Sizing Max Strategy Plugin
     8  
     9  <EnterpriseAlert>
    10    This functionality only exists in Nomad Autoscaler Enterprise. This is not
    11    present in the open source version of Nomad Autoscaler.
    12  </EnterpriseAlert>
    13  
    14  The `app-sizing-max` plugin calculates the maximum value seen for the target
    15  resource within the available dataset. This plugin is ideally suited for memory
    16  resources since workloads don’t release their memory too often and
    17  underprovisioning could cause OOM errors.
    18  
    19  ## Agent Configuration Options
    20  
    21  The `app-sizing-max` plugin is automatically launched by Nomad Autoscaler
    22  Enterprise and so the following setup is optional.
    23  
    24  ```hcl
    25  strategy "app-sizing-max" {
    26    driver = "app-sizing-max"
    27  }
    28  ```
    29  
    30  ## Policy Configuration Options
    31  
    32  ```hcl
    33  check "max" {
    34    strategy "app-sizing-max" {}
    35  }
    36  ```
    37  
    38  The `app-sizing-max` plugin doesn't have any configuration.