28 lines
323 B
HCL
28 lines
323 B
HCL
|
job "foo" {
|
||
|
task "bar" {
|
||
|
driver = "docker"
|
||
|
|
||
|
scaling "cpu" {
|
||
|
enabled = true
|
||
|
min = 50
|
||
|
max = 1000
|
||
|
|
||
|
policy {
|
||
|
test = "cpu"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
scaling "cpu" {
|
||
|
enabled = true
|
||
|
min = 50
|
||
|
max = 1000
|
||
|
|
||
|
policy {
|
||
|
test = "cpu"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|