Skip to content

Commit

Permalink
Add docs for SERVICE_CHECK_DEREGISTER_AFTER
Browse files Browse the repository at this point in the history
  • Loading branch information
rifelpet committed Sep 19, 2017
1 parent 6d69ef2 commit 7de82be
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/user/backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ By default when a service is registered against Consul, the state is set to "cri
SERVICE_CHECK_INITIAL_STATUS=passing
```

### Consul Critical Service Deregistration

Consul can deregister a service if the check is in the critical state for more than a configurable amount of time.
If enabled this should be much longer than any expected recoverable outage.

```bash
SERVICE_CHECK_DEREGISTER_AFTER=10m
```

## Consul KV

consulkv://<address>:<port>/<prefix>
Expand Down

0 comments on commit 7de82be

Please sign in to comment.