Commit f9871fb 1 parent b4e338c commit f9871fb Copy full SHA for f9871fb
File tree 3 files changed +36
-0
lines changed
3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : docs
3
+ page_title : source Stanza - Nomad Autoscaler Agent Configuration
4
+ description : >-
5
+ The "source" block is used to configure scaling target sources.
6
+ ---
7
+
8
+ # ` source ` Block
9
+
10
+ <Placement groups = { [' policy' , ' source' ]} />
11
+
12
+ The ` source ` block is used to configure scaling target sources.
13
+
14
+ ``` hcl
15
+ policy {
16
+ source "nomad" {
17
+ enabled = false
18
+ }
19
+ }
20
+ ```
21
+
22
+ Supported sources are ` file ` and ` nomad ` .
23
+
24
+ ### ` source ` Parameters
25
+
26
+ - ` enabled ` ` (bool: true) ` - Defines if the scaling policy source should be
27
+ enabled or disabled.
Original file line number Diff line number Diff line change @@ -91,6 +91,11 @@ passed in via CLI arguments. The `agent` command accepts the following arguments
91
91
` cluster ` and ` horizontal ` queues. Nomad Autoscaler Enterprise supports additional
92
92
` vertical_mem ` and ` vertical_cpu ` queues.
93
93
94
+ - ` -policy-source-disable-file ` : Disable the sourcing of policies from disk.
95
+
96
+ - ` -policy-source-disable-nomad ` : Disable the sourcing of policies from the
97
+ Nomad API.
98
+
94
99
- ` -telemetry-disable-hostname ` : Specifies whether gauge values should be prefixed
95
100
with the local hostname.
96
101
Original file line number Diff line number Diff line change 1531
1531
"title" : " policy_eval" ,
1532
1532
"path" : " autoscaling/agent/policy_eval"
1533
1533
},
1534
+ {
1535
+ "title" : " source" ,
1536
+ "path" : " autoscaling/agent/source"
1537
+ },
1534
1538
{
1535
1539
"title" : " strategy" ,
1536
1540
"path" : " autoscaling/agent/strategy"
You can’t perform that action at this time.
0 commit comments