github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/tools/autoscaling/agent/strategy.mdx (about) 1 --- 2 layout: docs 3 page_title: strategy Stanza - Nomad Autoscaler Agent Configuration 4 description: >- 5 The "strategy" block is used to configure scaling strategy plugins. 6 --- 7 8 # `strategy` Block 9 10 <Placement groups={['strategy']} /> 11 12 The `strategy` block is used to configure scaling strategy plugins. 13 14 ```hcl 15 strategy "example-strategy-plugin" { 16 driver = "example-strategy-plugin" 17 args = ["-my-flag"] 18 19 config = { 20 algorithm = "complex" 21 } 22 } 23 ``` 24 25 ## `strategy` Parameters 26 27 - `args` `(array<string>: [])` - Specifies a set of arguments to pass to the 28 plugin binary when it is executed. 29 30 - `driver` `(string: "")` - The plugin's executable name relative to the 31 [`plugin_dir`][plugin_dir]. If the plugin has a suffix, such as .exe, this should be omitted. 32 33 - `config` `(map<string><string>: nil)` - Specifies configuration values for 34 the plugin either as HCL or JSON. The accepted values are plugin specific. 35 Please refer to the individual plugin's documentation. 36 37 [plugin_dir]: /tools/autoscaling/agent#plugin_dir