719077a26d
state store: call-out to generic update of job recommendations from job update method recommendations API work, and http endpoint errors for OSS support for scaling polices in task block of job spec add query filters for ScalingPolicy list endpoint command: nomad scaling policy list: added -job and -type
19 lines
221 B
HCL
19 lines
221 B
HCL
job "foo" {
|
|
task "bar" {
|
|
driver = "docker"
|
|
|
|
scaling "cpu" {
|
|
type = "vertical_mem"
|
|
enabled = true
|
|
min = 50
|
|
max = 1000
|
|
|
|
policy {
|
|
test = "cpu"
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|