mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
Merge pull request #5287 from hashicorp/docs-fix-affinity-examples
docs: fixed some affinity examples
This commit is contained in:
@@ -40,7 +40,7 @@ job "docs" {
|
||||
group "example" {
|
||||
# Prefer the "r1" rack
|
||||
affinity {
|
||||
operator = "${meta.rack}"
|
||||
attribute = "${meta.rack}"
|
||||
value = "r1"
|
||||
weight = 50
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ job "docs" {
|
||||
```
|
||||
|
||||
The Nomad client will make the Vault token available to the task by writing it
|
||||
to the secret directory at `secret/vault_token` and by injecting a VAULT_TOKEN
|
||||
to the secret directory at `secrets/vault_token` and by injecting a VAULT_TOKEN
|
||||
environment variable.
|
||||
|
||||
If Nomad is unable to renew the Vault token (perhaps due to a Vault outage or
|
||||
|
||||
Reference in New Issue
Block a user