lab3: complete lab with scaling track 1 and failover evidence

This commit is contained in:
2026-11-09 13:19:21 +03:00
parent 0ab3a341aa
commit 631a852746
13 changed files with 690 additions and 24 deletions
+18
View File
@@ -0,0 +1,18 @@
=== ТЕСТ ОТКАЗА РЕПЛИКИ (FAILOVER) ===
1. Контейнеры ДО остановки:
NAMES STATUS
mtusi2026lab3-api-3 Up 3 minutes (healthy)
mtusi2026lab3-api-2 Up 3 minutes (healthy)
mtusi2026lab3-api-4 Up 3 minutes (healthy)
mtusi2026lab3-api-1 Up 3 minutes (healthy)
2. Останавливаем одну реплику (stop-one.bat)...
Stopping API replica: c9a0e03e7a26
c9a0e03e7a26
3. Контейнеры ПОСЛЕ остановки:
NAMES STATUS
mtusi2026lab3-api-2 Up 3 minutes (healthy)
mtusi2026lab3-api-4 Up 3 minutes (healthy)
mtusi2026lab3-api-1 Up 3 minutes (healthy)
4. Проверяем доступность через LB:
HTTP Статус от LB: 200 (ожидается 200)
5. Восстанавливаем реплики обратно...