github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/jobspec/test-fixtures/task-scaling-policy-missing-name.hcl (about)

     1  job "foo" {
     2    task "bar" {
     3      driver = "docker"
     4  
     5      scaling {
     6        enabled = true
     7        min     = 50
     8        max     = 1000
     9  
    10        policy {
    11          test = "cpu"
    12        }
    13      }
    14  
    15    }
    16  }
    17