1
0
Fork 0

Fine tune adjusts

This commit is contained in:
Joao M 2022-08-17 14:04:13 +00:00
parent 3006690aad
commit 15e87db9c0
2 changed files with 7 additions and 1 deletions

View file

@ -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)

View file

@ -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