Files
mtusi2026lab2/evidence/stack.txt
T
ArtyomandClaude Opus 5.5 7f2deec511 Record levels 3 and 4 again after the second review fixes
Every level 3 and 4 record is taken anew on e049c26 from a reset stand:
checks with the upstream diff of the contract, the public tests and the
task (empty) and of .github (only the own CI job), student tests with
the 503 answer to a request cancelled at shutdown, smoke, stack,
storage on the filled database, both failover runs with the
service.draining event, persistence, hooks, faults, limits, lb-check,
the new retry-check, three detection runs, failover-each and both
rolling updates with the database size, a docker stats snapshot and the
tag and id of every replaced image. The clean clone run executes the
launch block of the report verbatim and marks the observations made
between its steps.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-30 05:59:38 +03:00

32 lines
1.7 KiB
Plaintext

date: 2026-10-30T02:45:01Z commit: e049c26
$ docker compose --env-file .env config --quiet && echo valid
valid
$ docker compose ps --format '{{.Service}} {{.Name}} {{.Status}} {{.Ports}}'
api mtusi2026lab3-api-1 Up 4 seconds (healthy)
api mtusi2026lab3-api-2 Up 4 seconds (healthy)
lb mtusi2026lab3-lb-1 Up 7 seconds (healthy) 127.0.0.1:18083->8080/tcp, 127.0.0.1:23083->8404/tcp
postgres mtusi2026lab3-postgres-1 Up 7 seconds (healthy)
valkey mtusi2026lab3-valkey-1 Up 7 seconds (healthy)
$ docker compose config | grep -c container_name
0
$ docker port <каждая реплика api> # реплики не публикуют порт
ff81f93e8b0d: []
fe75c6c37e5a: []
$ docker inspect: hostname = X-Instance-Id, сети, лимиты CPU (nano) и памяти
api fe75c6c37e5a /mtusi2026lab3-api-2 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
api ff81f93e8b0d /mtusi2026lab3-api-1 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
lb 35712870f3c4 /mtusi2026lab3-lb-1 nets=mtusi2026lab3_backend,mtusi2026lab3_edge, cpus=1000000000 mem=134217728 user=haproxy ro=true
postgres cd7b0d78bc19 /mtusi2026lab3-postgres-1 nets=mtusi2026lab3_backend, cpus=2000000000 mem=1073741824 user=70:70 ro=false
valkey c9501d6e445a /mtusi2026lab3-valkey-1 nets=mtusi2026lab3_backend, cpus=500000000 mem=134217728 user=999:1000 ro=false
$ curl LB stats: backend api, server status check
api1 UP L7OK 200
api2 UP L7OK 200
BACKEND UP
$ for i in 1..6: curl -D - http://127.0.0.1:18083/health/live | X-Instance-Id
x-instance-id: fe75c6c37e5a
x-instance-id: ff81f93e8b0d
x-instance-id: fe75c6c37e5a
x-instance-id: ff81f93e8b0d
x-instance-id: fe75c6c37e5a
x-instance-id: ff81f93e8b0d