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

     1  job "elastic" {
     2    group "group" {
     3      scaling {
     4        enabled = false
     5        min     = 5
     6        max     = 100
     7  
     8        policy {
     9          foo = "bar"
    10          b   = true
    11          val = 5
    12          f   = 0.1
    13  
    14          check "foo" {
    15            query = "some_query"
    16          }
    17        }
    18      }
    19    }
    20  }