forked from mtusi2026/mtusi2026lab3
Rerun the clean clone pass on the final commit in its own compose project: secrets, config, up with migrations on empty volumes, readiness, smoke, replica spread and same key races, failover, persistence, repeated migrations, down keeping volumes and reset-data removing them. Record the student tests by name and the limits policy on the final code. Check every figure of the report against evidence files and fix the ones that drifted: data set sizes, the share of the chat lock statement, the WAL waits, the aborted series, the disturbed steps, the restart timing and the image ID of the rolling update. State which commit each evidence file was taken on, answer the defense questions, index evidence/ and bring AGENTS.md and the openspec context up to date for lab 3. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
22 lines
1.7 KiB
Plaintext
22 lines
1.7 KiB
Plaintext
date: 2026-10-29T00:01:40Z commit: e88673d
|
|
$ docker compose --profile bench config --format json (declared)
|
|
service cpus/mem ports secrets volumes networks ro
|
|
-------- ---------- ------------------------------- ------------------------------------ ---------- ---------------------- -----
|
|
api 1/512MiB - cache_url,cursor_secret,database_url - backend(internal) true
|
|
k6 2/512MiB - - - edge false
|
|
lb 1/128MiB 127.0.0.1:18083,127.0.0.1:23083 - - backend(internal),edge true
|
|
migrate 0.5/256MiB - database_url - backend(internal) false
|
|
postgres 2/1024MiB - postgres_password pgdata backend(internal) false
|
|
valkey 0.5/128MiB - valkey.conf valkeydata backend(internal) false
|
|
|
|
$ docker inspect (running containers: hostname = X-Instance-Id, applied limits)
|
|
service hostname cpus memory published
|
|
-------- ------------ ---- ------- ---------------------------------------------------
|
|
api a843d54b43d6 1 512MiB
|
|
api e83eafdcbc8c 1 512MiB
|
|
lb 7158414e6b52 1 128MiB 127.0.0.1:18083->8080/tcp,127.0.0.1:23083->8404/tcp
|
|
postgres 2f2e8762d1a1 2 1024MiB
|
|
valkey fb760634494a 0.5 128MiB
|
|
|
|
PASS: limits, ports, secrets, volumes and networks match the policy
|