Skip to content

Commit

Permalink
Merge a71632e into backport/docs-template-many-deps-warning/daily-pro…
Browse files Browse the repository at this point in the history
…ud-ibex
  • Loading branch information
hc-github-team-nomad-core authored Apr 4, 2024
2 parents 6ef9087 + a71632e commit fa0b5e1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions website/content/docs/job-specification/template.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,18 @@ task "task" {
}
```
### Dependencies
For templates that read from Vault, Consul, or Nomad, each item read is called a
"dependency". All the `template` blocks share the same internal runner which
de-duplicates dependencies requesting the same item. You should avoid having
large numbers of dependencies for a given task, as each dependency requires at
least one concurrent request (a possibly blocking query) to the upstream
server. If a task has more than 128 dependencies, a warn-level log will appear
in the Nomad client logs which reports "watching this many dependencies could
DDoS your servers", referring to the Vault, Consul, or Nomad cluster being
queried.
## Nomad Integration
### Nomad Services
Expand Down

0 comments on commit fa0b5e1

Please sign in to comment.