ЛР 3 уровень 4: drain при SIGTERM, лимиты ресурсов, нагрузка с отказами, rolling update

This commit is contained in:
2026-11-10 04:17:24 +03:00
parent de55dd1d8a
commit 32442d06db
24 changed files with 1429 additions and 13 deletions
+4
View File
@@ -8,6 +8,8 @@ defaults
timeout connect 1s
timeout client 30s
timeout server 10s
timeout check 2s
timeout queue 5s
retries 3
option redispatch
@@ -28,6 +30,8 @@ frontend public
backend api
balance roundrobin
# Проверка /health/ready раз в 1 с; backend исключается после 2 неудач подряд,
# возвращается после 2 успехов. Худшее время обнаружения: 2 x 1 с + timeout check 2 с = 4 с.
option httpchk
http-check send meth GET uri /health/ready
http-check expect status 200