The carry over of the lab 2 fixes changed the request pipeline, logout,
the worker shutdown budget and the stop hooks, so every level 3 and 4
record is taken again on b1c80ee: checks, own tests, smoke, stack,
storage, failover of both replicas, persistence, hooks, the lab 2 stack
tests, limits and the injected violations, lb-check, three detection
runs, failover-each and both rolling updates under k6.
All of them pass: 243 own tests, 12 stack tests, no failed request under
k6 in failover-each and in both rolling updates.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
32 lines
1.7 KiB
Plaintext
32 lines
1.7 KiB
Plaintext
date: 2026-10-29T23:43:43Z commit: b1c80ee
|
|
$ 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 6 seconds (healthy) 127.0.0.1:18083->8080/tcp, 127.0.0.1:23083->8404/tcp
|
|
postgres mtusi2026lab3-postgres-1 Up 6 seconds (healthy)
|
|
valkey mtusi2026lab3-valkey-1 Up 6 seconds (healthy)
|
|
$ docker compose config | grep -c container_name
|
|
0
|
|
$ docker port <каждая реплика api> # реплики не публикуют порт
|
|
286766bf2b32: []
|
|
fa81adafcb69: []
|
|
$ docker inspect: hostname = X-Instance-Id, сети, лимиты CPU (nano) и памяти
|
|
api 286766bf2b32 /mtusi2026lab3-api-1 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
|
api fa81adafcb69 /mtusi2026lab3-api-2 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
|
lb 55229893641c /mtusi2026lab3-lb-1 nets=mtusi2026lab3_backend,mtusi2026lab3_edge, cpus=1000000000 mem=134217728 user=haproxy ro=true
|
|
postgres 308851b9dd07 /mtusi2026lab3-postgres-1 nets=mtusi2026lab3_backend, cpus=2000000000 mem=1073741824 user=70:70 ro=false
|
|
valkey 70f5ef5be346 /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: fa81adafcb69
|
|
x-instance-id: 286766bf2b32
|
|
x-instance-id: fa81adafcb69
|
|
x-instance-id: 286766bf2b32
|
|
x-instance-id: fa81adafcb69
|
|
x-instance-id: 286766bf2b32
|