77df9c133b
* add Nomad RetryConfig to agent template config
38 lines
518 B
HCL
38 lines
518 B
HCL
client {
|
|
enabled = true
|
|
|
|
template {
|
|
max_stale = "300s"
|
|
block_query_wait = "90s"
|
|
|
|
wait {
|
|
min = "2s"
|
|
max = "60s"
|
|
}
|
|
|
|
wait_bounds {
|
|
min = "2s"
|
|
max = "60s"
|
|
}
|
|
|
|
consul_retry {
|
|
attempts = 5
|
|
backoff = "5s"
|
|
max_backoff = "10s"
|
|
}
|
|
|
|
vault_retry {
|
|
attempts = 10
|
|
backoff = "15s"
|
|
max_backoff = "20s"
|
|
}
|
|
|
|
nomad_retry {
|
|
attempts = 15
|
|
backoff = "20s"
|
|
max_backoff = "25s"
|
|
}
|
|
}
|
|
|
|
}
|