github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/tools/autoscaling/agent/policy_eval.mdx (about) 1 --- 2 layout: docs 3 page_title: policy_eval Stanza - Nomad Autoscaler Agent Configuration 4 description: >- 5 The "policy_eval" block holds the configuration related to the policy evaluation 6 process. 7 --- 8 9 # `policy_eval` Block 10 11 <Placement groups={['policy_eval']} /> 12 13 The `policy_eval` block holds the configuration related to the policy evaluation 14 process. 15 16 ```hcl 17 policy_eval { 18 ack_timeout = "10m" 19 delivery_limit = 4 20 21 workers = { 22 cluster = 2 23 horizontal = 2 24 } 25 } 26 ``` 27 28 ## `policy_eval` Parameters 29 30 - `ack_timeout` `(string: "5m")` - The time limit that an eval must be ACK'd 31 before being considered NACK'd. 32 33 - `delivery_limit` `(int: 1)` - The maximum number of times a policy evaluation 34 can be dequeued from the broker. 35 36 - `workers` `(map<string|int>: [cluster:10,horizontal:10])` - The number of workers 37 to initialize for each queue. Nomad Autoscaler supports `cluster` and `horizontal` 38 map keys. Nomad Autoscaler Enterprise supports additional `vertical_mem` and 39 `vertical_cpu` entries.