Skip to content

Commit

Permalink
Merge pull request #677 from jrasell/patch-1
Browse files Browse the repository at this point in the history
Add Vault example to the traffic shaping section.
  • Loading branch information
pschultz committed Jul 24, 2019
2 parents 8494d3f + 5ba8c8b commit 5081d66
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/content/feature/traffic-shaping.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,12 @@ publishing the same prefix.
route weight service-b www.kjca.dev/auth/ weight 0.05 tags "version-15,dc-fra"
```

### Vault Example

[Vault](https://www.vaultproject.io) is a tool by [HashiCorp](https://www.hashicorp.com/) for managing secrets and protecting sensitive data. When running in HA mode, Vault will have a single active node which is responsible for responding the API requests. Fabio can be used to ensure traffic is routed to the correct server via traffic shaping.

The following command will allocate 100% of traffic to `vault.company.com` to the instance of `vault` which is registered with the tag `active`.

```
route weight vault vault.company.com weight 1.00 tags "active"
```

0 comments on commit 5081d66

Please sign in to comment.