Merge pull request #5287 from hashicorp/docs-fix-affinity-examples

docs: fixed some affinity examples
This commit is contained in:
Preetha
2019-02-12 09:13:27 -06:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ job "docs" {
group "example" {
# Prefer the "r1" rack
affinity {
operator = "${meta.rack}"
attribute = "${meta.rack}"
value = "r1"
weight = 50
}

View File

@@ -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