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

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