Skip to content

Commit

Permalink
README: clusterf-docker graceful shutdown with backend weight=0, per …
Browse files Browse the repository at this point in the history
…issue #5
  • Loading branch information
Tero Marttila committed May 9, 2016
1 parent 44a132b commit 9a08b13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ Each backend can define its own weight, which can be updated at runtime. Backend

A backend weight of zero will prevent new connections being scheduled for the backend, allowing existing connections to continue.

This is used in `clusterf-docker` for graceful container shutdowns. Containers going through the *kill* -> *die* -> *stop* lifecycle will be marked as not running and have their weight set to zero while stopping, before being removed. See issue #5 for an example.

### Backend merging

Overlapping backends are merged. This will happen if multiple backends for a given service resolve to the same IPVS host:port, typically as a result of a route aggregating a set of backends to an intermediate frontend.
Expand Down

0 comments on commit 9a08b13

Please sign in to comment.