-
Notifications
You must be signed in to change notification settings - Fork 886
Closed
Description
When allocating an IP for a container, libnetwork always chooses the lowest IP. This can be a big problem when a container exits and a different container running the same type of service starts on the same IP. Ex:
- MySQL client configured to retry on connection error
- A MySQL container for one cluster exits, and another MySQL container for a different cluster starts up with the same IP
- The client reconnects to the new IP, but it's a totally different database so now the errors are query errors for tables not existing, etc, so the connection is not retried.
This is just one example, but this can happen for just about any service, especially HTTP services in a microservice environment due to their quantity.
Metadata
Metadata
Assignees
Labels
No labels