github.com/hernad/nomad@v1.6.112/command/agent/test-resources/client_with_template.hcl (about)

     1  # Copyright (c) HashiCorp, Inc.
     2  # SPDX-License-Identifier: MPL-2.0
     3  
     4  client {
     5    enabled = true
     6  
     7    template {
     8      max_stale        = "300s"
     9      block_query_wait = "90s"
    10  
    11      wait {
    12        min = "2s"
    13        max = "60s"
    14      }
    15  
    16      wait_bounds {
    17        min = "2s"
    18        max = "60s"
    19      }
    20  
    21      consul_retry {
    22        attempts    = 5
    23        backoff     = "5s"
    24        max_backoff = "10s"
    25      }
    26  
    27      vault_retry {
    28        attempts    = 10
    29        backoff     = "15s"
    30        max_backoff = "20s"
    31      }
    32  
    33      nomad_retry {
    34        attempts    = 15
    35        backoff     = "20s"
    36        max_backoff = "25s"
    37      }
    38    }
    39  
    40  }