github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/jobspec/test-fixtures/task-scaling-policy.hcl (about) 1 job "foo" { 2 task "bar" { 3 driver = "docker" 4 5 scaling "cpu" { 6 enabled = true 7 min = 50 8 max = 1000 9 10 policy { 11 test = "cpu" 12 } 13 } 14 15 scaling "mem" { 16 enabled = false 17 min = 128 18 max = 1024 19 20 policy { 21 test = "mem" 22 } 23 } 24 25 } 26 } 27