Выполнение 3 лабораторной работы

This commit is contained in:
2026-11-06 20:26:11 +03:00
parent 0ab3a341aa
commit 87f2a65448
105 changed files with 8359 additions and 25 deletions
+17
View File
@@ -0,0 +1,17 @@
## failover #2: контейнеры до
messenger-lab3-api-12 Up 52 seconds (healthy)
messenger-lab3-api-9 Up 3 seconds (healthy)
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 136, "failed_attempts": 0, "first_recovery_seconds": 3.687}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
## контейнеры после (остановленная реплика должна быть Exited)
messenger-lab3-api-12 Up About a minute (healthy)
messenger-lab3-api-9 Exited (0) 11 seconds ago
Container messenger-lab3-api-12 Running
Container messenger-lab3-api-9 Starting
Container messenger-lab3-api-9 Started
Container messenger-lab3-api-9 Waiting
Container messenger-lab3-api-12 Waiting
Container messenger-lab3-api-9 Healthy
Container messenger-lab3-api-12 Healthy
LB sees 2/2 api replicas UP