21 lines
252 B
HCL
21 lines
252 B
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
job "foo" {
|
|
task "bar" {
|
|
driver = "docker"
|
|
|
|
scaling {
|
|
enabled = true
|
|
min = 50
|
|
max = 1000
|
|
|
|
policy {
|
|
test = "cpu"
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|