Fine tune adjusts
This commit is contained in:
parent
3006690aad
commit
15e87db9c0
2 changed files with 7 additions and 1 deletions
|
|
@ -323,5 +323,11 @@ where ERROR_NUMBER is the http error code (e.g. 503.http)
|
|||
docker build -t byjg/easy-haproxy .
|
||||
```
|
||||
|
||||
## Limitations
|
||||
|
||||
EasyHAProxy has some limitations when there is more than one easy-haproxy container running:
|
||||
- Replicas can be out-of-sync for a few seconds, because each replica will discover the pods separatedly.
|
||||
- Each replica will request a Letsencrypt certificate and it can fail because the letsencrypt challenge can be directed to the other replica.
|
||||
|
||||
----
|
||||
[Open source ByJG](http://opensource.byjg.com)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ else
|
|||
touch ${CONTROL_FILE}
|
||||
|
||||
if [[ "$EASYHAPROXY_DISCOVER" == "docker" ]]; then
|
||||
CONTAINERS=$(docker ps -q)
|
||||
CONTAINERS=$(docker ps -q | sort | uniq)
|
||||
LABEL_PATH=".Config.Labels"
|
||||
|
||||
for container in ${CONTAINERS}; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue