Исправить заголовок 413 и дополнить проверку отказов и масштабирования lab3
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"error":{"code":"payload_too_large","message":"request body is too large","request_id":"845b65a5-6688-4309-9619-71a317302ca5"}}
|
||||
@@ -0,0 +1,7 @@
|
||||
HTTP/2 413
|
||||
content-type: application/json
|
||||
date: Thu, 29 Oct 2026 10:57:54 GMT
|
||||
x-instance-id: api-6fc45595fc-lzz7z
|
||||
x-request-id: 845b65a5-6688-4309-9619-71a317302ca5
|
||||
content-length: 128
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
# Исправления 29.10.2026
|
||||
|
||||
Образ исправления: digest в image.json; исходная ревизия 7b7e23f плюс diff итогового коммита. Результаты сборки и развёртывания сохранены, Kubernetes release lab2 / highload-applications.
|
||||
|
||||
- body-limit.txt: настоящий TCP-запрос превышает BodyLimit и проверяет 413, X-Instance-Id и согласованный X-Request-Id.
|
||||
- 413-headers.txt и 413-body.json: тот же контракт подтверждён через публичный HTTPS.
|
||||
- coverage.txt, coverage-per-file.json: race, реальные PostgreSQL/Valkey, процесс и SIGTERM; 59 исполняемых файлов, минимум 90%.
|
||||
- lint.txt, vet.txt, contract.txt: статические проверки и неизменный контракт.
|
||||
- initial-api.json, targets.txt: две исходные реплики.
|
||||
- failover-1-20261029105415-*: остановлена api-54f7cc6f98-7c56z; 44 подтверждённых сообщения включая исходное, 42 чтения, 5 ошибок операций, восстановление 0.190 с.
|
||||
- failover-2-20261029105524-*: остановлена api-54f7cc6f98-txlh4; 21 подтверждённое сообщение включая исходное, 19 чтений, 7 ошибок операций, восстановление 2.547 с.
|
||||
- load-failover-*.txt: запросы через Traefik; перед каждым отказом наблюдались две реплики, после — подтверждена сохранность всех сообщений, отсутствие дублей и использование прежней сессии. Между отказами первая реплика восстановлена Deployment; второй setup повторно проверил две реплики.
|
||||
- smoke.txt: неуспешный прогон во время первого отказа (503), не используется как положительное доказательство.
|
||||
- smoke-after.txt: публичный smoke после восстановления PASS.
|
||||
|
||||
Первый сборщик summary использовал отсутствующий в Ruby 2.6 filter_map. Ошибка касалась обработки уже полученного успешного k6-результата; после замены на map/compact исходный лог обработан, проверка продолжена со второй сохранённой целью. Исходная ошибка сохранена в both-replicas.txt.
|
||||
|
||||
Время восстановления считается от момента перед kubectl get/delete до первой успешной записи через другую реплику. Ошибки включают записи и чтения. RPS в summary использует номинальное окно 25 секунд и не включает начальную запись; запрос, начатый в конце окна, может завершиться чуть позже. Потеря узла/БД в этих сценариях не моделируется.
|
||||
|
||||
После всех нагрузочных серий rollout завершился (final-rollout.txt). Финальные публичные smoke и повтор завершились connection/TLS failure: final-smoke.txt, final-smoke-retry.txt. Это отдельный текущий инфраструктурный сбой; прежний smoke-after PASS не доказывает стабильность доступа в конце исследования. final-deployment.json фиксирует состояние Deployment после восстановления.
|
||||
@@ -0,0 +1 @@
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/controller/http/fiber 1.084s
|
||||
@@ -0,0 +1,3 @@
|
||||
scripts/summarize-failover.rb:5:in `<main>': undefined method `filter_map' for #<Array:0x0000007927185bc8> (NoMethodError)
|
||||
Did you mean? filter
|
||||
{"target":"api-54f7cc6f98-txlh4","started_epoch_ms":1793271329571,"confirmed":21,"reads":19,"errors":7,"pass":true,"recovery_seconds":2.547,"confirmed_rps":0.8}
|
||||
@@ -0,0 +1,65 @@
|
||||
#0 building with "asisti-builder" instance using docker-container driver
|
||||
|
||||
#1 [internal] load build definition from Dockerfile
|
||||
#1 transferring dockerfile: 583B done
|
||||
#1 DONE 0.0s
|
||||
|
||||
#2 [internal] load metadata for docker.io/library/golang:1.26.1-alpine3.23
|
||||
#2 DONE 3.3s
|
||||
|
||||
#3 [internal] load .dockerignore
|
||||
#3 transferring context: 145B done
|
||||
#3 DONE 0.0s
|
||||
|
||||
#4 [build 1/7] FROM docker.io/library/golang:1.26.1-alpine3.23@sha256:2389ebfa5b7f43eeafbd6be0c3700cc46690ef842ad962f6c5bd6be49ed82039
|
||||
#4 resolve docker.io/library/golang:1.26.1-alpine3.23@sha256:2389ebfa5b7f43eeafbd6be0c3700cc46690ef842ad962f6c5bd6be49ed82039 done
|
||||
#4 DONE 0.0s
|
||||
|
||||
#5 [internal] load build context
|
||||
#5 transferring context: 329.68kB 0.0s done
|
||||
#5 DONE 0.0s
|
||||
|
||||
#6 [build 2/7] WORKDIR /src
|
||||
#6 CACHED
|
||||
|
||||
#7 [build 3/7] COPY go.mod go.sum ./
|
||||
#7 DONE 0.1s
|
||||
|
||||
#8 [build 4/7] RUN go mod download
|
||||
#8 DONE 56.6s
|
||||
|
||||
#9 [build 5/7] COPY cmd/ ./cmd/
|
||||
#9 DONE 0.1s
|
||||
|
||||
#10 [build 6/7] COPY internal/ ./internal/
|
||||
#10 DONE 0.0s
|
||||
|
||||
#11 [build 7/7] RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/server ./cmd/server
|
||||
#11 DONE 97.0s
|
||||
|
||||
#12 [runtime 1/1] COPY --from=build /out/server /server
|
||||
#12 DONE 0.1s
|
||||
|
||||
#13 exporting to image
|
||||
#13 exporting layers
|
||||
#13 exporting layers 0.8s done
|
||||
#13 exporting manifest sha256:ce262dcd1c98aff40067305e210037ae421e1da62f825a9066cdb13776f848d4 done
|
||||
#13 exporting config sha256:9be8ec92531a22d2cef260b08669df6e8169d846aa47aaa709d50f1e602285cb done
|
||||
#13 exporting attestation manifest sha256:e9483b1d5c76897b691143a16c09250fe5d0849edc41a42345792f8d1ea6cb3c 0.0s done
|
||||
#13 exporting manifest list sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3 0.0s done
|
||||
#13 pushing layers
|
||||
#13 ...
|
||||
|
||||
#14 [auth] mtusi2026lab3:pull,push token for asisti.registry.twcstorage.ru
|
||||
#14 DONE 0.0s
|
||||
|
||||
#13 exporting to image
|
||||
#13 pushing layers 19.7s done
|
||||
#13 pushing manifest for asisti.registry.twcstorage.ru/mtusi2026lab3:review-20261029@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3
|
||||
#13 pushing manifest for asisti.registry.twcstorage.ru/mtusi2026lab3:review-20261029@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3 1.2s done
|
||||
#13 DONE 21.7s
|
||||
|
||||
#15 resolving provenance for metadata file
|
||||
#15 DONE 0.0s
|
||||
|
||||
View build details: docker-desktop://dashboard/build/asisti-builder/asisti-builder0/ccwfu2v84bvpitu67b53xiunu
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
@@ -0,0 +1,75 @@
|
||||
{"threshold_per_file":90,"files":[
|
||||
{"file":"internal/service/cursor.go","statements":0,"covered":0,"percent":null,"sha256":"cba6026849467d3662994d59983dd0d6a5ffbe9d934ff539115fd2669b89013f"},
|
||||
{"file":"cmd/server/app.go","statements":9,"covered":9,"percent":100.00000000,"sha256":"447460bce6ad010ecc4f191873cad6980f6d7c2a7665eed756d85d40aa0fad70"},
|
||||
{"file":"internal/service/production/members.go","statements":19,"covered":19,"percent":100.00000000,"sha256":"578da47ba2567a4fc44de3e087b2e60a6da17e0585ca6215187d5aa5783bfdc7"},
|
||||
{"file":"internal/service/production/errors.go","statements":5,"covered":5,"percent":100.00000000,"sha256":"723b0824177b313746dd02fcc9809403b75be128d98520dd69b8fc7cb0244b72"},
|
||||
{"file":"internal/controller/interface.go","statements":0,"covered":0,"percent":null,"sha256":"24b6b06d6fab919cd2130697b44fd0d358265184dca0ca8362e0b4fcc2ae5a68"},
|
||||
{"file":"internal/service/interface.go","statements":0,"covered":0,"percent":null,"sha256":"1012793cc519112340ee14dac945597da411d5b9f78ce5da6a25dd73ea72d8f6"},
|
||||
{"file":"internal/admission/limiter.go","statements":16,"covered":16,"percent":100.00000000,"sha256":"a373c9539167a4b7c35d45334d35ffd4e9d124c1740c88c12094fededd9643b4"},
|
||||
{"file":"internal/service/production/service.go","statements":10,"covered":10,"percent":100.00000000,"sha256":"7b24930b8fd7342b0373d687bb775163c332e6620ccc893516f865c433b59056"},
|
||||
{"file":"internal/hashring/ring.go","statements":21,"covered":20,"percent":95.23809524,"sha256":"e205901cec2e66011ec764b70879b0eb0d28a78c4dea8913a9fb30c2d778fa8c"},
|
||||
{"file":"internal/cursor/codec.go","statements":39,"covered":37,"percent":94.87179487,"sha256":"678e197744fb2fc4b51715f51593b98761125bbaddbe4cb1b7032bd6b173ef04"},
|
||||
{"file":"internal/controller/http/fiber/headers.go","statements":0,"covered":0,"percent":null,"sha256":"d32a9a01a8b391f4d986e14947a25a0504f4363335ea1524df05e0dd8e9e61bd"},
|
||||
{"file":"internal/store/memory/capacity.go","statements":7,"covered":7,"percent":100.00000000,"sha256":"4dbced908f9d1e802ece79d2a436cbbaa2bff807a19a5fc4bc658eb3f361a5e7"},
|
||||
{"file":"cmd/server/persistence.go","statements":18,"covered":18,"percent":100.00000000,"sha256":"a9bfa3bcc68d1b045ec21c193118bb209dfd7bdcbee3cbd28efc5573dc6db3c8"},
|
||||
{"file":"internal/service/errors.go","statements":0,"covered":0,"percent":null,"sha256":"f7fd9ca5335f9119d5ed1714c39c3d19e840528a0248fda5d08f60a10d2060ac"},
|
||||
{"file":"cmd/server/main.go","statements":3,"covered":3,"percent":100.00000000,"sha256":"c22d8cdf4ce31fde29945e967d3f025e280a7dc4d2022329d51be972d2a0f495"},
|
||||
{"file":"internal/controller/http/fiber/routes.go","statements":60,"covered":60,"percent":100.00000000,"sha256":"455d0b2a3fe2f7de947d499e99e660360395338a87d9225b5f8ac525862434fe"},
|
||||
{"file":"internal/controller/http/fiber/health.go","statements":7,"covered":7,"percent":100.00000000,"sha256":"813db79a23f6b093ccc510444c883b53f7f98e7d26c927441089f57c73fea12d"},
|
||||
{"file":"internal/config/controller.go","statements":25,"covered":24,"percent":96.00000000,"sha256":"c2736f1438746ff293197e002e4352a316987fee9c1307c3cc4190120971098c"},
|
||||
{"file":"internal/controller/http/fiber/metrics.go","statements":20,"covered":18,"percent":90.00000000,"sha256":"54db82201697bdfcc65712afe61b650f8f0885fc65222dc4cc6d1c3bb07d82dd"},
|
||||
{"file":"internal/config/memory.go","statements":11,"covered":11,"percent":100.00000000,"sha256":"86cdf9e90b576f4484946bfd9605333fc52077f38d3a39c5d71ddca4cdeecda0"},
|
||||
{"file":"internal/service/production/creation.go","statements":19,"covered":19,"percent":100.00000000,"sha256":"766f920addddaccdec25fae78728af56a825ab8c57eae29cc8839d85ab5a648f"},
|
||||
{"file":"internal/controller/http/fiber/configure.go","statements":7,"covered":7,"percent":100.00000000,"sha256":"be356cf26c228958d51f5bafa4305d7325e81ab01065575acbc9b2d7a6ddd4bd"},
|
||||
{"file":"internal/service/production/pages.go","statements":17,"covered":16,"percent":94.11764706,"sha256":"d4db6f0ad1caabc66f8bbb365e56cc84930047b640619bbe5f4e58fce0644877"},
|
||||
{"file":"internal/service/authentication/service.go","statements":48,"covered":47,"percent":97.91666667,"sha256":"8300ff37fbce6ce2985375e8c42c6d1793017b36cec8f27b0c0dc80ef2671b85"},
|
||||
{"file":"internal/password/password.go","statements":18,"covered":17,"percent":94.44444444,"sha256":"fe2df6990331573bbf0202ebc81c58263a7c16a29b713eefa0f0e852e4ee4a76"},
|
||||
{"file":"internal/controller/http/fiber/lifecycle.go","statements":24,"covered":22,"percent":91.66666667,"sha256":"f39cf7a0049a2ed39d6cc1fcc66b44656d9d6120914d0e973b032e12f3d0de08"},
|
||||
{"file":"cmd/server/logger.go","statements":10,"covered":9,"percent":90.00000000,"sha256":"93cd37b8e2ec1e6088b82f348a59e6862951f8462df4cd5448562489b05dce1f"},
|
||||
{"file":"internal/valkey/client.go","statements":35,"covered":34,"percent":97.14285714,"sha256":"67f32fa5bda94388c0a5fef87e93680a77a513de3a3b7522a38659acde088357"},
|
||||
{"file":"internal/strictjson/decode.go","statements":37,"covered":36,"percent":97.29729730,"sha256":"ef9bfaf3bd684fded87c92a15b3e5c706a794caf04cc4ef711c4185e9c7fb12a"},
|
||||
{"file":"internal/store/memory/messages.go","statements":19,"covered":18,"percent":94.73684211,"sha256":"36328ae3809af4fd0d10f4ab892e32c4643ad0c6b062aa9924ffd9e51c767500"},
|
||||
{"file":"internal/service/production/messages.go","statements":18,"covered":18,"percent":100.00000000,"sha256":"f25725720d7035a688ae4c5aaad34c6e78f3336fd927469570dc8a9a262608cd"},
|
||||
{"file":"internal/service/production/pagination.go","statements":21,"covered":21,"percent":100.00000000,"sha256":"eac2861f1743b692f7a6910949dad933d52db9b0211f3422dce09b3c7de49a49"},
|
||||
{"file":"internal/store/postgres/idempotency.go","statements":21,"covered":19,"percent":90.47619048,"sha256":"24d463067d1b51eaad5f7b21013be2ab836dea78f7314469779e2336cf57cb9c"},
|
||||
{"file":"internal/store/postgres/chats.go","statements":26,"covered":24,"percent":92.30769231,"sha256":"f191cc4d00d13a1e9c46323d545f3310ac2e7d23bb93d76060e282d1fbd220f3"},
|
||||
{"file":"internal/service/production/validation.go","statements":13,"covered":13,"percent":100.00000000,"sha256":"33970978507498dbba8e599ac20f7139a10f82705f86a7e058e668742ebefba2"},
|
||||
{"file":"internal/service/production/chats.go","statements":22,"covered":22,"percent":100.00000000,"sha256":"a6fce9188c52032fbc035bb08fc06c23b59fabf1534dc0a26205de72609ffbb6"},
|
||||
{"file":"internal/config/config.go","statements":17,"covered":17,"percent":100.00000000,"sha256":"8cb675a0bef8b1645071e4cb85b79a467620e99b375db5d8d3e16a54b4c5b5fa"},
|
||||
{"file":"cmd/server/commands.go","statements":16,"covered":16,"percent":100.00000000,"sha256":"2631df45b82c7cf99626ae6fe6c5b05ef18254b487d034ad98af26792e569bc8"},
|
||||
{"file":"internal/config/environment.go","statements":14,"covered":14,"percent":100.00000000,"sha256":"027761b059b76898a84318ec1a8b43158d8bafd6e0b15b52efbe902b4d8c5ea3"},
|
||||
{"file":"internal/valkey/cache.go","statements":19,"covered":18,"percent":94.73684211,"sha256":"25d3a4a4b47fbfedb5c9b31541f8818c7cee46407ba58d1068bdcd4590e72f12"},
|
||||
{"file":"internal/service/auth.go","statements":0,"covered":0,"percent":null,"sha256":"a6b0eb6d5759bf87bb2737ae07c9c916c749a107e6acb3542b63461363eb892f"},
|
||||
{"file":"internal/valkey/admission.go","statements":45,"covered":45,"percent":100.00000000,"sha256":"d2a4a93a0cffaadb18e94292f67a20e1d5113654e2f5ad55dae5d0009d74f4bb"},
|
||||
{"file":"internal/controller/http/fiber/auth.go","statements":29,"covered":29,"percent":100.00000000,"sha256":"8a7687d7ee133290f2bbead47796830caad1439990b60e940b625fede74a6837"},
|
||||
{"file":"cmd/server/healthcheck.go","statements":19,"covered":18,"percent":94.73684211,"sha256":"c62b7a6897b300e25fdcfd6650cd256f008207146f1a45c00d77f0db1ab01575"},
|
||||
{"file":"internal/store/memory/ordering.go","statements":6,"covered":6,"percent":100.00000000,"sha256":"93ce30f07bb6f056c9a355831b0e0ae7ec5a2cb0fa817bddeb17727c96edb491"},
|
||||
{"file":"internal/service/cache.go","statements":0,"covered":0,"percent":null,"sha256":"70bcf36246dc5cff0e3a726f20859dbab85d346dc35664c9f4ae125c23d8bfc9"},
|
||||
{"file":"internal/store/memory/chats.go","statements":31,"covered":31,"percent":100.00000000,"sha256":"9404b9576e041ad1d6fa4d297245c5224b7cc6f70272b7c99e9d531e7450519a"},
|
||||
{"file":"internal/controller/http/fiber/decode.go","statements":6,"covered":6,"percent":100.00000000,"sha256":"b02e9a9118e9ad0458ae98e79d6bc4d9a65f885bc4f6734a5a84d0cd9fa954f1"},
|
||||
{"file":"internal/controller/http/fiber/controller.go","statements":13,"covered":13,"percent":100.00000000,"sha256":"e6cba36cd5cb84e0f9b5dd2f1607704d3556f12c6a9cc92caa515e6d146338a3"},
|
||||
{"file":"internal/controller/http/fiber/public_errors.go","statements":13,"covered":13,"percent":100.00000000,"sha256":"18e1bbaa5ac64311e208c23ca3eca3fc543b48f5187b22313735b7df83603ce3"},
|
||||
{"file":"internal/controller/http/fiber/handlers.go","statements":37,"covered":36,"percent":97.29729730,"sha256":"0bdd0cfe8578e0e163cfe8945c57615b91d1990770a4d46a03c88c94996a0083"},
|
||||
{"file":"internal/store/postgres/sessions.go","statements":13,"covered":13,"percent":100.00000000,"sha256":"889a63b51b29012f4ae5499d1c0577fe29f2f2959b05629f8e123715cfc1f75f"},
|
||||
{"file":"internal/admission/distributed.go","statements":0,"covered":0,"percent":null,"sha256":"41ef40897886c0878cbfe52f6716bdcb8433fb7eaddcfff298e1d54c55db423d"},
|
||||
{"file":"internal/store/interface.go","statements":0,"covered":0,"percent":null,"sha256":"15ada2fcbbb06ce210e1978b0c2aa4316e9786c6b0252ceec80e169ae08c0fe9"},
|
||||
{"file":"internal/controller/http/fiber/middleware.go","statements":39,"covered":38,"percent":97.43589744,"sha256":"af6796f95b1e89cb053d2440b803d66d1a722280b8c46dc1a99a99fa92ac824a"},
|
||||
{"file":"internal/config/logger.go","statements":7,"covered":7,"percent":100.00000000,"sha256":"3a69e20a00fa2ed816f344a990e9e0ef0077e1607d4207858b4b00e4ff5d1988"},
|
||||
{"file":"internal/controller/http/fiber/errors.go","statements":29,"covered":29,"percent":100.00000000,"sha256":"60e09dd38fd1d413b744f21b57f64ba83e49a5ae1b4251aa5bf20be033f90cfb"},
|
||||
{"file":"internal/controller/http/fiber/error_codes.go","statements":0,"covered":0,"percent":null,"sha256":"3351a019c43d0360ee0fd68afabb5200422d065ae7bd908b1c0a5c02a0c1ad41"},
|
||||
{"file":"internal/store/postgres/store.go","statements":61,"covered":56,"percent":91.80327869,"sha256":"f50dbf2409c511f3b4b3cc72555a80e621e1ca1e4e314112ead35e1a34623de1"},
|
||||
{"file":"internal/store/postgres/users.go","statements":21,"covered":20,"percent":95.23809524,"sha256":"8c77a2ebc8e7cdf4bcaad173feb413fcfe2691e50bc61b0e70a5e8748f167ce6"},
|
||||
{"file":"internal/service/production/users.go","statements":19,"covered":19,"percent":100.00000000,"sha256":"b61747c3e5d7bee523ba82817a6a450e7f978fda4df10b8870d53a01bc4742d9"},
|
||||
{"file":"internal/model/http/models.go","statements":0,"covered":0,"percent":null,"sha256":"8c183b065bc3ab4cad20570eab79f334ca75a3309186fdf832fb1aa598894465"},
|
||||
{"file":"internal/model/dto/models.go","statements":0,"covered":0,"percent":null,"sha256":"23c3b9cf3de49c015a0eac85e19fb287ffdd3133de16035f74db34ec9a6df220"},
|
||||
{"file":"internal/config/persistence.go","statements":15,"covered":15,"percent":100.00000000,"sha256":"28c61d23db4ca2ef7ed952451f465318865076d2393eaa94ff5d7bb339c4c06b"},
|
||||
{"file":"internal/store/postgres/messages.go","statements":29,"covered":27,"percent":93.10344828,"sha256":"114f7f6dd12feb80e709e704a83f59d8c7f33fbd62e3a137f53219fa5f03d046"},
|
||||
{"file":"internal/model/dto/session.go","statements":0,"covered":0,"percent":null,"sha256":"896a694b0c217240343077d4287f4a6e447338c38571abbebcb3d16a519137fb"},
|
||||
{"file":"internal/controller/http/fiber/dependencies.go","statements":0,"covered":0,"percent":null,"sha256":"6ee07f110bdb29d8d2191ab8889ba60474b33a5b225739875c8a57d8434be15d"},
|
||||
{"file":"internal/store/memory/store.go","statements":3,"covered":3,"percent":100.00000000,"sha256":"973e451d35a79af4614a8727439bfdf5c72b55e03d904b59cb3f39ce0edcb83b"},
|
||||
{"file":"internal/service/production/access.go","statements":27,"covered":27,"percent":100.00000000,"sha256":"260f7c77bdbcb1913ebd487e531aa6bb1621d10cd1c4cad91ab34d11cd4fec16"},
|
||||
{"file":"internal/controller/fx.go","statements":1,"covered":1,"percent":100.00000000,"sha256":"af72da25fea9811c13a50c8133e9e8b35e070c5295069c40c0ae89cdc0aff19a"},
|
||||
{"file":"internal/store/memory/users.go","statements":22,"covered":21,"percent":95.45454545,"sha256":"494a5c8dda4d6a158bc3629f735c12cef36abfb19353d65380e0e4696de9284a"},
|
||||
{"file":"internal/controller/http/fiber/mapping.go","statements":19,"covered":19,"percent":100.00000000,"sha256":"cd79419f940868066dffbcc3cd8a024d4e0c9113785f89d7a3f2d6ff57223597"},
|
||||
{"file":"internal/controller/http/fiber/error_registry.go","statements":2,"covered":2,"percent":100.00000000,"sha256":"9d5da8d98ece2706e324cb2deca915e0811b6ad98f7aaac5805ca0f3cc0a1f9a"}
|
||||
],"passed":true}
|
||||
@@ -0,0 +1,95 @@
|
||||
GO="go" scripts/coverage.sh
|
||||
warning: GOCOVERDIR not set, no coverage data emitted
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/cmd/server 3.093s coverage: 32.4% of statements in ./...
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/admission 2.051s coverage: 1.3% of statements in ./...
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/config 2.048s coverage: 7.0% of statements in ./...
|
||||
gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/controller coverage: 0.0% of statements
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/controller/http/fiber 2.423s coverage: 54.0% of statements in ./...
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/cursor 2.568s coverage: 3.1% of statements in ./...
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/hashring 3.197s coverage: 1.7% of statements in ./...
|
||||
? gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/model/dto [no test files]
|
||||
? gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/model/http [no test files]
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/password 3.196s coverage: 1.4% of statements in ./...
|
||||
? gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/service [no test files]
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/service/authentication 2.226s coverage: 4.5% of statements in ./...
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/service/production 2.572s coverage: 18.0% of statements in ./...
|
||||
? gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/store [no test files]
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/store/memory 2.220s coverage: 7.7% of statements in ./...
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/store/postgres 3.680s coverage: 13.3% of statements in ./...
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/strictjson 2.539s coverage: 3.0% of statements in ./...
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/internal/valkey 2.635s coverage: 9.7% of statements in ./...
|
||||
ok gitea.privcloud.tech/vlad_marlo/mtusi2026lab3/student-tests 2.434s coverage: 0.0% of statements in ./...
|
||||
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
||||
N/A internal/service/cursor.go
|
||||
100.00% cmd/server/app.go
|
||||
100.00% internal/service/production/members.go
|
||||
100.00% internal/service/production/errors.go
|
||||
N/A internal/controller/interface.go
|
||||
N/A internal/service/interface.go
|
||||
100.00% internal/admission/limiter.go
|
||||
100.00% internal/service/production/service.go
|
||||
95.24% internal/hashring/ring.go
|
||||
94.87% internal/cursor/codec.go
|
||||
N/A internal/controller/http/fiber/headers.go
|
||||
100.00% internal/store/memory/capacity.go
|
||||
100.00% cmd/server/persistence.go
|
||||
N/A internal/service/errors.go
|
||||
100.00% cmd/server/main.go
|
||||
100.00% internal/controller/http/fiber/routes.go
|
||||
100.00% internal/controller/http/fiber/health.go
|
||||
96.00% internal/config/controller.go
|
||||
90.00% internal/controller/http/fiber/metrics.go
|
||||
100.00% internal/config/memory.go
|
||||
100.00% internal/service/production/creation.go
|
||||
100.00% internal/controller/http/fiber/configure.go
|
||||
94.12% internal/service/production/pages.go
|
||||
97.92% internal/service/authentication/service.go
|
||||
94.44% internal/password/password.go
|
||||
91.67% internal/controller/http/fiber/lifecycle.go
|
||||
90.00% cmd/server/logger.go
|
||||
97.14% internal/valkey/client.go
|
||||
97.30% internal/strictjson/decode.go
|
||||
94.74% internal/store/memory/messages.go
|
||||
100.00% internal/service/production/messages.go
|
||||
100.00% internal/service/production/pagination.go
|
||||
90.48% internal/store/postgres/idempotency.go
|
||||
92.31% internal/store/postgres/chats.go
|
||||
100.00% internal/service/production/validation.go
|
||||
100.00% internal/service/production/chats.go
|
||||
100.00% internal/config/config.go
|
||||
100.00% cmd/server/commands.go
|
||||
100.00% internal/config/environment.go
|
||||
94.74% internal/valkey/cache.go
|
||||
N/A internal/service/auth.go
|
||||
100.00% internal/valkey/admission.go
|
||||
100.00% internal/controller/http/fiber/auth.go
|
||||
94.74% cmd/server/healthcheck.go
|
||||
100.00% internal/store/memory/ordering.go
|
||||
N/A internal/service/cache.go
|
||||
100.00% internal/store/memory/chats.go
|
||||
100.00% internal/controller/http/fiber/decode.go
|
||||
100.00% internal/controller/http/fiber/controller.go
|
||||
100.00% internal/controller/http/fiber/public_errors.go
|
||||
97.30% internal/controller/http/fiber/handlers.go
|
||||
100.00% internal/store/postgres/sessions.go
|
||||
N/A internal/admission/distributed.go
|
||||
N/A internal/store/interface.go
|
||||
97.44% internal/controller/http/fiber/middleware.go
|
||||
100.00% internal/config/logger.go
|
||||
100.00% internal/controller/http/fiber/errors.go
|
||||
N/A internal/controller/http/fiber/error_codes.go
|
||||
91.80% internal/store/postgres/store.go
|
||||
95.24% internal/store/postgres/users.go
|
||||
100.00% internal/service/production/users.go
|
||||
N/A internal/model/http/models.go
|
||||
N/A internal/model/dto/models.go
|
||||
100.00% internal/config/persistence.go
|
||||
93.10% internal/store/postgres/messages.go
|
||||
N/A internal/model/dto/session.go
|
||||
N/A internal/controller/http/fiber/dependencies.go
|
||||
100.00% internal/store/memory/store.go
|
||||
100.00% internal/service/production/access.go
|
||||
100.00% internal/controller/fx.go
|
||||
95.45% internal/store/memory/users.go
|
||||
100.00% internal/controller/http/fiber/mapping.go
|
||||
100.00% internal/controller/http/fiber/error_registry.go
|
||||
@@ -0,0 +1,8 @@
|
||||
Release "lab2" has been upgraded. Happy Helming!
|
||||
NAME: lab2
|
||||
LAST DEPLOYED: Thu Oct 29 13:53:12 2026
|
||||
NAMESPACE: highload-applications
|
||||
STATUS: deployed
|
||||
REVISION: 3
|
||||
DESCRIPTION: Upgrade complete
|
||||
TEST SUITE: None
|
||||
@@ -0,0 +1 @@
|
||||
pod "api-54f7cc6f98-7c56z" deleted from highload-applications namespace
|
||||
@@ -0,0 +1,2 @@
|
||||
configmap/load-scripts configured
|
||||
job.batch/load-failover-1-20261029105415 created
|
||||
@@ -0,0 +1 @@
|
||||
1793271261.339473
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"target": "api-54f7cc6f98-7c56z",
|
||||
"started_epoch_ms": 1793271259858,
|
||||
"confirmed": 44,
|
||||
"reads": 42,
|
||||
"errors": 5,
|
||||
"pass": true,
|
||||
"recovery_seconds": 0.19,
|
||||
"confirmed_rps": 1.72
|
||||
}
|
||||
@@ -0,0 +1,329 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"kind": "Pod",
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"checksum/config": "25be752194917b470e363f8148d7f90539ac1e677c53d10066d788634e0933dc",
|
||||
"cni.projectcalico.org/containerID": "c9f317c330be89a87aabd36ab90ea573f7472d51084b1e685eb5b11362a91557",
|
||||
"cni.projectcalico.org/podIP": "10.1.25.114/32",
|
||||
"cni.projectcalico.org/podIPs": "10.1.25.114/32",
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-10-16T11:50:37+03:00"
|
||||
},
|
||||
"creationTimestamp": "2026-10-29T10:53:14Z",
|
||||
"generateName": "api-54f7cc6f98-",
|
||||
"generation": 1,
|
||||
"labels": {
|
||||
"app": "api",
|
||||
"pod-template-hash": "54f7cc6f98"
|
||||
},
|
||||
"name": "api-54f7cc6f98-7c56z",
|
||||
"namespace": "highload-applications",
|
||||
"ownerReferences": [
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"blockOwnerDeletion": true,
|
||||
"controller": true,
|
||||
"kind": "ReplicaSet",
|
||||
"name": "api-54f7cc6f98",
|
||||
"uid": "9a9710e1-f5e8-456c-a8d9-6a6a06fe4839"
|
||||
}
|
||||
],
|
||||
"resourceVersion": "60154912",
|
||||
"uid": "9ba114d8-8300-4035-8f6e-4a488ef1b88e"
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "INSTANCE_ID",
|
||||
"valueFrom": {
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.name"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CURSOR_SIGNING_KEY",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "cursor-key",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DATABASE_URL",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "database-url",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"envFrom": [
|
||||
{
|
||||
"configMapRef": {
|
||||
"name": "messenger-config"
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"imagePullPolicy": "IfNotPresent",
|
||||
"lifecycle": {
|
||||
"preStop": {
|
||||
"sleep": {
|
||||
"seconds": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/health/live",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 5,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"name": "api",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8080,
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 2,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 2
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "256Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"securityContext": {
|
||||
"allowPrivilegeEscalation": false,
|
||||
"capabilities": {
|
||||
"drop": [
|
||||
"ALL"
|
||||
]
|
||||
},
|
||||
"readOnlyRootFilesystem": true
|
||||
},
|
||||
"startupProbe": {
|
||||
"failureThreshold": 30,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
||||
"name": "kube-api-access-ddq2s",
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"enableServiceLinks": true,
|
||||
"imagePullSecrets": [
|
||||
{
|
||||
"name": "registry-pull"
|
||||
}
|
||||
],
|
||||
"nodeName": "dev.asisti.tech",
|
||||
"preemptionPolicy": "PreemptLowerPriority",
|
||||
"priority": 0,
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {
|
||||
"runAsNonRoot": true,
|
||||
"runAsUser": 65532,
|
||||
"seccompProfile": {
|
||||
"type": "RuntimeDefault"
|
||||
}
|
||||
},
|
||||
"serviceAccount": "default",
|
||||
"serviceAccountName": "default",
|
||||
"terminationGracePeriodSeconds": 20,
|
||||
"tolerations": [
|
||||
{
|
||||
"effect": "NoExecute",
|
||||
"key": "node.kubernetes.io/not-ready",
|
||||
"operator": "Exists",
|
||||
"tolerationSeconds": 300
|
||||
},
|
||||
{
|
||||
"effect": "NoExecute",
|
||||
"key": "node.kubernetes.io/unreachable",
|
||||
"operator": "Exists",
|
||||
"tolerationSeconds": 300
|
||||
}
|
||||
],
|
||||
"topologySpreadConstraints": [
|
||||
{
|
||||
"labelSelector": {
|
||||
"matchLabels": {
|
||||
"app": "api"
|
||||
}
|
||||
},
|
||||
"maxSkew": 1,
|
||||
"topologyKey": "kubernetes.io/hostname",
|
||||
"whenUnsatisfiable": "ScheduleAnyway"
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "kube-api-access-ddq2s",
|
||||
"projected": {
|
||||
"defaultMode": 420,
|
||||
"sources": [
|
||||
{
|
||||
"serviceAccountToken": {
|
||||
"expirationSeconds": 3607,
|
||||
"path": "token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"configMap": {
|
||||
"items": [
|
||||
{
|
||||
"key": "ca.crt",
|
||||
"path": "ca.crt"
|
||||
}
|
||||
],
|
||||
"name": "kube-root-ca.crt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"downwardAPI": {
|
||||
"items": [
|
||||
{
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.namespace"
|
||||
},
|
||||
"path": "namespace"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:19Z",
|
||||
"status": "True",
|
||||
"type": "PodReadyToStartContainers"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:14Z",
|
||||
"status": "True",
|
||||
"type": "Initialized"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
||||
"status": "True",
|
||||
"type": "Ready"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
||||
"status": "True",
|
||||
"type": "ContainersReady"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:14Z",
|
||||
"status": "True",
|
||||
"type": "PodScheduled"
|
||||
}
|
||||
],
|
||||
"containerStatuses": [
|
||||
{
|
||||
"allocatedResources": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
},
|
||||
"containerID": "containerd://4631cb93f41b3636e0662a05dae721ef528e603889d8bfb964d9988d33b4cd82",
|
||||
"image": "sha256:9be8ec92531a22d2cef260b08669df6e8169d846aa47aaa709d50f1e602285cb",
|
||||
"imageID": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"lastState": {},
|
||||
"name": "api",
|
||||
"ready": true,
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "256Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"restartCount": 0,
|
||||
"started": true,
|
||||
"state": {
|
||||
"running": {
|
||||
"startedAt": "2026-10-29T10:53:33Z"
|
||||
}
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
||||
"name": "kube-api-access-ddq2s",
|
||||
"readOnly": true,
|
||||
"recursiveReadOnly": "Disabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"hostIP": "100.99.166.40",
|
||||
"hostIPs": [
|
||||
{
|
||||
"ip": "100.99.166.40"
|
||||
}
|
||||
],
|
||||
"phase": "Running",
|
||||
"podIP": "10.1.25.114",
|
||||
"podIPs": [
|
||||
{
|
||||
"ip": "10.1.25.114"
|
||||
}
|
||||
],
|
||||
"qosClass": "Burstable",
|
||||
"startTime": "2026-10-29T10:53:14Z"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
pod "api-54f7cc6f98-txlh4" deleted from highload-applications namespace
|
||||
@@ -0,0 +1 @@
|
||||
deployment "api" successfully rolled out
|
||||
@@ -0,0 +1,2 @@
|
||||
configmap/load-scripts configured
|
||||
job.batch/load-failover-2-20261029105524 created
|
||||
@@ -0,0 +1 @@
|
||||
1793271332.256543
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"target": "api-54f7cc6f98-txlh4",
|
||||
"started_epoch_ms": 1793271329571,
|
||||
"confirmed": 21,
|
||||
"reads": 19,
|
||||
"errors": 7,
|
||||
"pass": true,
|
||||
"recovery_seconds": 2.547,
|
||||
"confirmed_rps": 0.8
|
||||
}
|
||||
@@ -0,0 +1,329 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"kind": "Pod",
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"checksum/config": "25be752194917b470e363f8148d7f90539ac1e677c53d10066d788634e0933dc",
|
||||
"cni.projectcalico.org/containerID": "64c7decc0fbadc6eb0b82c66ce1b69fc6e2ef13c27607b8b0cc621c1464300b0",
|
||||
"cni.projectcalico.org/podIP": "10.1.112.79/32",
|
||||
"cni.projectcalico.org/podIPs": "10.1.112.79/32",
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-10-16T11:50:37+03:00"
|
||||
},
|
||||
"creationTimestamp": "2026-10-29T10:53:35Z",
|
||||
"generateName": "api-54f7cc6f98-",
|
||||
"generation": 1,
|
||||
"labels": {
|
||||
"app": "api",
|
||||
"pod-template-hash": "54f7cc6f98"
|
||||
},
|
||||
"name": "api-54f7cc6f98-txlh4",
|
||||
"namespace": "highload-applications",
|
||||
"ownerReferences": [
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"blockOwnerDeletion": true,
|
||||
"controller": true,
|
||||
"kind": "ReplicaSet",
|
||||
"name": "api-54f7cc6f98",
|
||||
"uid": "9a9710e1-f5e8-456c-a8d9-6a6a06fe4839"
|
||||
}
|
||||
],
|
||||
"resourceVersion": "60155416",
|
||||
"uid": "e9c4add7-fd67-4650-a4a2-29ca5b9fd550"
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "INSTANCE_ID",
|
||||
"valueFrom": {
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.name"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CURSOR_SIGNING_KEY",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "cursor-key",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DATABASE_URL",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "database-url",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"envFrom": [
|
||||
{
|
||||
"configMapRef": {
|
||||
"name": "messenger-config"
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"imagePullPolicy": "IfNotPresent",
|
||||
"lifecycle": {
|
||||
"preStop": {
|
||||
"sleep": {
|
||||
"seconds": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/health/live",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 5,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"name": "api",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8080,
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 2,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 2
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "256Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"securityContext": {
|
||||
"allowPrivilegeEscalation": false,
|
||||
"capabilities": {
|
||||
"drop": [
|
||||
"ALL"
|
||||
]
|
||||
},
|
||||
"readOnlyRootFilesystem": true
|
||||
},
|
||||
"startupProbe": {
|
||||
"failureThreshold": 30,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
||||
"name": "kube-api-access-mnrp5",
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"enableServiceLinks": true,
|
||||
"imagePullSecrets": [
|
||||
{
|
||||
"name": "registry-pull"
|
||||
}
|
||||
],
|
||||
"nodeName": "marlosrv0",
|
||||
"preemptionPolicy": "PreemptLowerPriority",
|
||||
"priority": 0,
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {
|
||||
"runAsNonRoot": true,
|
||||
"runAsUser": 65532,
|
||||
"seccompProfile": {
|
||||
"type": "RuntimeDefault"
|
||||
}
|
||||
},
|
||||
"serviceAccount": "default",
|
||||
"serviceAccountName": "default",
|
||||
"terminationGracePeriodSeconds": 20,
|
||||
"tolerations": [
|
||||
{
|
||||
"effect": "NoExecute",
|
||||
"key": "node.kubernetes.io/not-ready",
|
||||
"operator": "Exists",
|
||||
"tolerationSeconds": 300
|
||||
},
|
||||
{
|
||||
"effect": "NoExecute",
|
||||
"key": "node.kubernetes.io/unreachable",
|
||||
"operator": "Exists",
|
||||
"tolerationSeconds": 300
|
||||
}
|
||||
],
|
||||
"topologySpreadConstraints": [
|
||||
{
|
||||
"labelSelector": {
|
||||
"matchLabels": {
|
||||
"app": "api"
|
||||
}
|
||||
},
|
||||
"maxSkew": 1,
|
||||
"topologyKey": "kubernetes.io/hostname",
|
||||
"whenUnsatisfiable": "ScheduleAnyway"
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "kube-api-access-mnrp5",
|
||||
"projected": {
|
||||
"defaultMode": 420,
|
||||
"sources": [
|
||||
{
|
||||
"serviceAccountToken": {
|
||||
"expirationSeconds": 3607,
|
||||
"path": "token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"configMap": {
|
||||
"items": [
|
||||
{
|
||||
"key": "ca.crt",
|
||||
"path": "ca.crt"
|
||||
}
|
||||
],
|
||||
"name": "kube-root-ca.crt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"downwardAPI": {
|
||||
"items": [
|
||||
{
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.namespace"
|
||||
},
|
||||
"path": "namespace"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:39Z",
|
||||
"status": "True",
|
||||
"type": "PodReadyToStartContainers"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
||||
"status": "True",
|
||||
"type": "Initialized"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:55:30Z",
|
||||
"status": "True",
|
||||
"type": "Ready"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:55:30Z",
|
||||
"status": "True",
|
||||
"type": "ContainersReady"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
||||
"status": "True",
|
||||
"type": "PodScheduled"
|
||||
}
|
||||
],
|
||||
"containerStatuses": [
|
||||
{
|
||||
"allocatedResources": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
},
|
||||
"containerID": "containerd://dd8482e1e67dc153f5787894d4974b39d5e7fead678a7e6695974297d0b75591",
|
||||
"image": "sha256:9be8ec92531a22d2cef260b08669df6e8169d846aa47aaa709d50f1e602285cb",
|
||||
"imageID": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"lastState": {},
|
||||
"name": "api",
|
||||
"ready": true,
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "256Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"restartCount": 0,
|
||||
"started": true,
|
||||
"state": {
|
||||
"running": {
|
||||
"startedAt": "2026-10-29T10:53:39Z"
|
||||
}
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
||||
"name": "kube-api-access-mnrp5",
|
||||
"readOnly": true,
|
||||
"recursiveReadOnly": "Disabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"hostIP": "192.168.1.37",
|
||||
"hostIPs": [
|
||||
{
|
||||
"ip": "192.168.1.37"
|
||||
}
|
||||
],
|
||||
"phase": "Running",
|
||||
"podIP": "10.1.112.79",
|
||||
"podIPs": [
|
||||
{
|
||||
"ip": "10.1.112.79"
|
||||
}
|
||||
],
|
||||
"qosClass": "Burstable",
|
||||
"startTime": "2026-10-29T10:53:35Z"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,214 @@
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"deployment.kubernetes.io/revision": "34",
|
||||
"meta.helm.sh/release-name": "lab2",
|
||||
"meta.helm.sh/release-namespace": "highload-applications"
|
||||
},
|
||||
"creationTimestamp": "2026-10-16T07:38:22Z",
|
||||
"generation": 52,
|
||||
"labels": {
|
||||
"app.kubernetes.io/managed-by": "Helm"
|
||||
},
|
||||
"name": "api",
|
||||
"namespace": "highload-applications",
|
||||
"resourceVersion": "60177495",
|
||||
"uid": "5e9bf549-45c6-40b4-b86e-d5d14a1cb5bc"
|
||||
},
|
||||
"spec": {
|
||||
"progressDeadlineSeconds": 600,
|
||||
"replicas": 2,
|
||||
"revisionHistoryLimit": 10,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app": "api"
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
"rollingUpdate": {
|
||||
"maxSurge": 1,
|
||||
"maxUnavailable": 0
|
||||
},
|
||||
"type": "RollingUpdate"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"checksum/config": "25be752194917b470e363f8148d7f90539ac1e677c53d10066d788634e0933dc",
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-10-16T11:50:37+03:00"
|
||||
},
|
||||
"creationTimestamp": null,
|
||||
"labels": {
|
||||
"app": "api"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "INSTANCE_ID",
|
||||
"valueFrom": {
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.name"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CURSOR_SIGNING_KEY",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "cursor-key",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DATABASE_URL",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "database-url",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"envFrom": [
|
||||
{
|
||||
"configMapRef": {
|
||||
"name": "messenger-config"
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"imagePullPolicy": "IfNotPresent",
|
||||
"lifecycle": {
|
||||
"preStop": {
|
||||
"sleep": {
|
||||
"seconds": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/health/live",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 5,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"name": "api",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8080,
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 2,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 2
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "256Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"securityContext": {
|
||||
"allowPrivilegeEscalation": false,
|
||||
"capabilities": {
|
||||
"drop": [
|
||||
"ALL"
|
||||
]
|
||||
},
|
||||
"readOnlyRootFilesystem": true
|
||||
},
|
||||
"startupProbe": {
|
||||
"failureThreshold": 30,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File"
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"imagePullSecrets": [
|
||||
{
|
||||
"name": "registry-pull"
|
||||
}
|
||||
],
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {
|
||||
"runAsNonRoot": true,
|
||||
"runAsUser": 65532,
|
||||
"seccompProfile": {
|
||||
"type": "RuntimeDefault"
|
||||
}
|
||||
},
|
||||
"terminationGracePeriodSeconds": 20,
|
||||
"topologySpreadConstraints": [
|
||||
{
|
||||
"labelSelector": {
|
||||
"matchLabels": {
|
||||
"app": "api"
|
||||
}
|
||||
},
|
||||
"maxSkew": 1,
|
||||
"topologyKey": "kubernetes.io/hostname",
|
||||
"whenUnsatisfiable": "ScheduleAnyway"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"availableReplicas": 2,
|
||||
"conditions": [
|
||||
{
|
||||
"lastTransitionTime": "2026-10-16T07:38:22Z",
|
||||
"lastUpdateTime": "2026-10-29T12:21:54Z",
|
||||
"message": "ReplicaSet \"api-54f7cc6f98\" has successfully progressed.",
|
||||
"reason": "NewReplicaSetAvailable",
|
||||
"status": "True",
|
||||
"type": "Progressing"
|
||||
},
|
||||
{
|
||||
"lastTransitionTime": "2026-10-29T12:24:53Z",
|
||||
"lastUpdateTime": "2026-10-29T12:24:53Z",
|
||||
"message": "Deployment has minimum availability.",
|
||||
"reason": "MinimumReplicasAvailable",
|
||||
"status": "True",
|
||||
"type": "Available"
|
||||
}
|
||||
],
|
||||
"observedGeneration": 52,
|
||||
"readyReplicas": 2,
|
||||
"replicas": 2,
|
||||
"updatedReplicas": 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
deployment "api" successfully rolled out
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/smoke.py --base-url "https://hl.agapov.space"
|
||||
FAIL: POST /api/v1/auth/sessions: connection/TLS failure (URLError)
|
||||
make: *** [test] Error 1
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/smoke.py --base-url "https://hl.agapov.space"
|
||||
FAIL: POST /api/v1/users: connection/TLS failure (URLError)
|
||||
make: *** [test] Error 1
|
||||
@@ -0,0 +1 @@
|
||||
go version go1.27.1 darwin/arm64
|
||||
@@ -0,0 +1,4 @@
|
||||
==> Linting charts/messenger
|
||||
[INFO] Chart.yaml: icon is recommended
|
||||
|
||||
1 chart(s) linted, 0 chart(s) failed
|
||||
@@ -0,0 +1 @@
|
||||
v4.3.1+gc0d08d0
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"buildx.build.provenance": {
|
||||
"buildType": "",
|
||||
"invocation": {
|
||||
"configSource": {},
|
||||
"parameters": {},
|
||||
"environment": {
|
||||
"platform": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"buildx.build.ref": "asisti-builder/asisti-builder0/ccwfu2v84bvpitu67b53xiunu",
|
||||
"containerimage.descriptor": {
|
||||
"mediaType": "application/vnd.oci.image.index.v1+json",
|
||||
"digest": "sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"size": 855
|
||||
},
|
||||
"containerimage.digest": "sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"image.name": "asisti.registry.twcstorage.ru/mtusi2026lab3:review-20261029"
|
||||
}
|
||||
@@ -0,0 +1,667 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"items": [
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"kind": "Pod",
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"checksum/config": "25be752194917b470e363f8148d7f90539ac1e677c53d10066d788634e0933dc",
|
||||
"cni.projectcalico.org/containerID": "c9f317c330be89a87aabd36ab90ea573f7472d51084b1e685eb5b11362a91557",
|
||||
"cni.projectcalico.org/podIP": "10.1.25.114/32",
|
||||
"cni.projectcalico.org/podIPs": "10.1.25.114/32",
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-10-16T11:50:37+03:00"
|
||||
},
|
||||
"creationTimestamp": "2026-10-29T10:53:14Z",
|
||||
"generateName": "api-54f7cc6f98-",
|
||||
"generation": 1,
|
||||
"labels": {
|
||||
"app": "api",
|
||||
"pod-template-hash": "54f7cc6f98"
|
||||
},
|
||||
"name": "api-54f7cc6f98-7c56z",
|
||||
"namespace": "highload-applications",
|
||||
"ownerReferences": [
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"blockOwnerDeletion": true,
|
||||
"controller": true,
|
||||
"kind": "ReplicaSet",
|
||||
"name": "api-54f7cc6f98",
|
||||
"uid": "9a9710e1-f5e8-456c-a8d9-6a6a06fe4839"
|
||||
}
|
||||
],
|
||||
"resourceVersion": "60154912",
|
||||
"uid": "9ba114d8-8300-4035-8f6e-4a488ef1b88e"
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "INSTANCE_ID",
|
||||
"valueFrom": {
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.name"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CURSOR_SIGNING_KEY",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "cursor-key",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DATABASE_URL",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "database-url",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"envFrom": [
|
||||
{
|
||||
"configMapRef": {
|
||||
"name": "messenger-config"
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"imagePullPolicy": "IfNotPresent",
|
||||
"lifecycle": {
|
||||
"preStop": {
|
||||
"sleep": {
|
||||
"seconds": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/health/live",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 5,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"name": "api",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8080,
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 2,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 2
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "256Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"securityContext": {
|
||||
"allowPrivilegeEscalation": false,
|
||||
"capabilities": {
|
||||
"drop": [
|
||||
"ALL"
|
||||
]
|
||||
},
|
||||
"readOnlyRootFilesystem": true
|
||||
},
|
||||
"startupProbe": {
|
||||
"failureThreshold": 30,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
||||
"name": "kube-api-access-ddq2s",
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"enableServiceLinks": true,
|
||||
"imagePullSecrets": [
|
||||
{
|
||||
"name": "registry-pull"
|
||||
}
|
||||
],
|
||||
"nodeName": "dev.asisti.tech",
|
||||
"preemptionPolicy": "PreemptLowerPriority",
|
||||
"priority": 0,
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {
|
||||
"runAsNonRoot": true,
|
||||
"runAsUser": 65532,
|
||||
"seccompProfile": {
|
||||
"type": "RuntimeDefault"
|
||||
}
|
||||
},
|
||||
"serviceAccount": "default",
|
||||
"serviceAccountName": "default",
|
||||
"terminationGracePeriodSeconds": 20,
|
||||
"tolerations": [
|
||||
{
|
||||
"effect": "NoExecute",
|
||||
"key": "node.kubernetes.io/not-ready",
|
||||
"operator": "Exists",
|
||||
"tolerationSeconds": 300
|
||||
},
|
||||
{
|
||||
"effect": "NoExecute",
|
||||
"key": "node.kubernetes.io/unreachable",
|
||||
"operator": "Exists",
|
||||
"tolerationSeconds": 300
|
||||
}
|
||||
],
|
||||
"topologySpreadConstraints": [
|
||||
{
|
||||
"labelSelector": {
|
||||
"matchLabels": {
|
||||
"app": "api"
|
||||
}
|
||||
},
|
||||
"maxSkew": 1,
|
||||
"topologyKey": "kubernetes.io/hostname",
|
||||
"whenUnsatisfiable": "ScheduleAnyway"
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "kube-api-access-ddq2s",
|
||||
"projected": {
|
||||
"defaultMode": 420,
|
||||
"sources": [
|
||||
{
|
||||
"serviceAccountToken": {
|
||||
"expirationSeconds": 3607,
|
||||
"path": "token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"configMap": {
|
||||
"items": [
|
||||
{
|
||||
"key": "ca.crt",
|
||||
"path": "ca.crt"
|
||||
}
|
||||
],
|
||||
"name": "kube-root-ca.crt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"downwardAPI": {
|
||||
"items": [
|
||||
{
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.namespace"
|
||||
},
|
||||
"path": "namespace"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:19Z",
|
||||
"status": "True",
|
||||
"type": "PodReadyToStartContainers"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:14Z",
|
||||
"status": "True",
|
||||
"type": "Initialized"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
||||
"status": "True",
|
||||
"type": "Ready"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
||||
"status": "True",
|
||||
"type": "ContainersReady"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:14Z",
|
||||
"status": "True",
|
||||
"type": "PodScheduled"
|
||||
}
|
||||
],
|
||||
"containerStatuses": [
|
||||
{
|
||||
"allocatedResources": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
},
|
||||
"containerID": "containerd://4631cb93f41b3636e0662a05dae721ef528e603889d8bfb964d9988d33b4cd82",
|
||||
"image": "sha256:9be8ec92531a22d2cef260b08669df6e8169d846aa47aaa709d50f1e602285cb",
|
||||
"imageID": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"lastState": {},
|
||||
"name": "api",
|
||||
"ready": true,
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "256Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"restartCount": 0,
|
||||
"started": true,
|
||||
"state": {
|
||||
"running": {
|
||||
"startedAt": "2026-10-29T10:53:33Z"
|
||||
}
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
||||
"name": "kube-api-access-ddq2s",
|
||||
"readOnly": true,
|
||||
"recursiveReadOnly": "Disabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"hostIP": "100.99.166.40",
|
||||
"hostIPs": [
|
||||
{
|
||||
"ip": "100.99.166.40"
|
||||
}
|
||||
],
|
||||
"phase": "Running",
|
||||
"podIP": "10.1.25.114",
|
||||
"podIPs": [
|
||||
{
|
||||
"ip": "10.1.25.114"
|
||||
}
|
||||
],
|
||||
"qosClass": "Burstable",
|
||||
"startTime": "2026-10-29T10:53:14Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"kind": "Pod",
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"checksum/config": "25be752194917b470e363f8148d7f90539ac1e677c53d10066d788634e0933dc",
|
||||
"cni.projectcalico.org/containerID": "64c7decc0fbadc6eb0b82c66ce1b69fc6e2ef13c27607b8b0cc621c1464300b0",
|
||||
"cni.projectcalico.org/podIP": "10.1.112.79/32",
|
||||
"cni.projectcalico.org/podIPs": "10.1.112.79/32",
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-10-16T11:50:37+03:00"
|
||||
},
|
||||
"creationTimestamp": "2026-10-29T10:53:35Z",
|
||||
"generateName": "api-54f7cc6f98-",
|
||||
"generation": 1,
|
||||
"labels": {
|
||||
"app": "api",
|
||||
"pod-template-hash": "54f7cc6f98"
|
||||
},
|
||||
"name": "api-54f7cc6f98-txlh4",
|
||||
"namespace": "highload-applications",
|
||||
"ownerReferences": [
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"blockOwnerDeletion": true,
|
||||
"controller": true,
|
||||
"kind": "ReplicaSet",
|
||||
"name": "api-54f7cc6f98",
|
||||
"uid": "9a9710e1-f5e8-456c-a8d9-6a6a06fe4839"
|
||||
}
|
||||
],
|
||||
"resourceVersion": "60154970",
|
||||
"uid": "e9c4add7-fd67-4650-a4a2-29ca5b9fd550"
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "INSTANCE_ID",
|
||||
"valueFrom": {
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.name"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CURSOR_SIGNING_KEY",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "cursor-key",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DATABASE_URL",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "database-url",
|
||||
"name": "messenger-secrets"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"envFrom": [
|
||||
{
|
||||
"configMapRef": {
|
||||
"name": "messenger-config"
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"imagePullPolicy": "IfNotPresent",
|
||||
"lifecycle": {
|
||||
"preStop": {
|
||||
"sleep": {
|
||||
"seconds": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/health/live",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 5,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"name": "api",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8080,
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 2,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 2
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "256Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"securityContext": {
|
||||
"allowPrivilegeEscalation": false,
|
||||
"capabilities": {
|
||||
"drop": [
|
||||
"ALL"
|
||||
]
|
||||
},
|
||||
"readOnlyRootFilesystem": true
|
||||
},
|
||||
"startupProbe": {
|
||||
"failureThreshold": 30,
|
||||
"httpGet": {
|
||||
"path": "/health/ready",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 2,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
||||
"name": "kube-api-access-mnrp5",
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"enableServiceLinks": true,
|
||||
"imagePullSecrets": [
|
||||
{
|
||||
"name": "registry-pull"
|
||||
}
|
||||
],
|
||||
"nodeName": "marlosrv0",
|
||||
"preemptionPolicy": "PreemptLowerPriority",
|
||||
"priority": 0,
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {
|
||||
"runAsNonRoot": true,
|
||||
"runAsUser": 65532,
|
||||
"seccompProfile": {
|
||||
"type": "RuntimeDefault"
|
||||
}
|
||||
},
|
||||
"serviceAccount": "default",
|
||||
"serviceAccountName": "default",
|
||||
"terminationGracePeriodSeconds": 20,
|
||||
"tolerations": [
|
||||
{
|
||||
"effect": "NoExecute",
|
||||
"key": "node.kubernetes.io/not-ready",
|
||||
"operator": "Exists",
|
||||
"tolerationSeconds": 300
|
||||
},
|
||||
{
|
||||
"effect": "NoExecute",
|
||||
"key": "node.kubernetes.io/unreachable",
|
||||
"operator": "Exists",
|
||||
"tolerationSeconds": 300
|
||||
}
|
||||
],
|
||||
"topologySpreadConstraints": [
|
||||
{
|
||||
"labelSelector": {
|
||||
"matchLabels": {
|
||||
"app": "api"
|
||||
}
|
||||
},
|
||||
"maxSkew": 1,
|
||||
"topologyKey": "kubernetes.io/hostname",
|
||||
"whenUnsatisfiable": "ScheduleAnyway"
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "kube-api-access-mnrp5",
|
||||
"projected": {
|
||||
"defaultMode": 420,
|
||||
"sources": [
|
||||
{
|
||||
"serviceAccountToken": {
|
||||
"expirationSeconds": 3607,
|
||||
"path": "token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"configMap": {
|
||||
"items": [
|
||||
{
|
||||
"key": "ca.crt",
|
||||
"path": "ca.crt"
|
||||
}
|
||||
],
|
||||
"name": "kube-root-ca.crt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"downwardAPI": {
|
||||
"items": [
|
||||
{
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.namespace"
|
||||
},
|
||||
"path": "namespace"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:39Z",
|
||||
"status": "True",
|
||||
"type": "PodReadyToStartContainers"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
||||
"status": "True",
|
||||
"type": "Initialized"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:40Z",
|
||||
"status": "True",
|
||||
"type": "Ready"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:40Z",
|
||||
"status": "True",
|
||||
"type": "ContainersReady"
|
||||
},
|
||||
{
|
||||
"lastProbeTime": null,
|
||||
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
||||
"status": "True",
|
||||
"type": "PodScheduled"
|
||||
}
|
||||
],
|
||||
"containerStatuses": [
|
||||
{
|
||||
"allocatedResources": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
},
|
||||
"containerID": "containerd://dd8482e1e67dc153f5787894d4974b39d5e7fead678a7e6695974297d0b75591",
|
||||
"image": "sha256:9be8ec92531a22d2cef260b08669df6e8169d846aa47aaa709d50f1e602285cb",
|
||||
"imageID": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
||||
"lastState": {},
|
||||
"name": "api",
|
||||
"ready": true,
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "256Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"restartCount": 0,
|
||||
"started": true,
|
||||
"state": {
|
||||
"running": {
|
||||
"startedAt": "2026-10-29T10:53:39Z"
|
||||
}
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
||||
"name": "kube-api-access-mnrp5",
|
||||
"readOnly": true,
|
||||
"recursiveReadOnly": "Disabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"hostIP": "192.168.1.37",
|
||||
"hostIPs": [
|
||||
{
|
||||
"ip": "192.168.1.37"
|
||||
}
|
||||
],
|
||||
"phase": "Running",
|
||||
"podIP": "10.1.112.79",
|
||||
"podIPs": [
|
||||
{
|
||||
"ip": "10.1.112.79"
|
||||
}
|
||||
],
|
||||
"qosClass": "Burstable",
|
||||
"startTime": "2026-10-29T10:53:35Z"
|
||||
}
|
||||
}
|
||||
],
|
||||
"kind": "List",
|
||||
"metadata": {
|
||||
"resourceVersion": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"clientVersion": {
|
||||
"major": "1",
|
||||
"minor": "37",
|
||||
"gitVersion": "v1.37.1",
|
||||
"gitCommit": "f78e722310e50bcaca9276be22276d9e91d91308",
|
||||
"gitTreeState": "clean",
|
||||
"buildDate": "2026-09-23T17:06:22Z",
|
||||
"goVersion": "go1.26.8",
|
||||
"compiler": "gc",
|
||||
"platform": "darwin/arm64"
|
||||
},
|
||||
"kustomizeVersion": "v5.8.1",
|
||||
"serverVersion": {
|
||||
"major": "1",
|
||||
"minor": "33",
|
||||
"emulationMajor": "1",
|
||||
"emulationMinor": "33",
|
||||
"minCompatibilityMajor": "1",
|
||||
"minCompatibilityMinor": "32",
|
||||
"gitVersion": "v1.33.13",
|
||||
"gitCommit": "c029d48d28322ad0369aabdcf8b656fd3195cd30",
|
||||
"gitTreeState": "clean",
|
||||
"buildDate": "2026-06-22T07:16:30Z",
|
||||
"goVersion": "go1.25.11",
|
||||
"compiler": "gc",
|
||||
"platform": "linux/amd64"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
0 issues.
|
||||
@@ -0,0 +1,29 @@
|
||||
time="2026-10-29T10:54:19Z" level=info msg="READY_TO_STOP api-54f7cc6f98-7c56z" source=console
|
||||
time="2026-10-29T10:54:29Z" level=warning msg="Request Failed" error="Post \"https://hl.agapov.space/api/v1/chats/180f9552-ab33-4ee2-917c-47b3a9c17ed8/messages\": request timeout"
|
||||
time="2026-10-29T10:54:31Z" level=warning msg="Request Failed" error="Get \"https://hl.agapov.space/api/v1/chats/180f9552-ab33-4ee2-917c-47b3a9c17ed8/messages?limit=100\": request timeout"
|
||||
time="2026-10-29T10:54:33Z" level=warning msg="Request Failed" error="Post \"https://hl.agapov.space/api/v1/chats/180f9552-ab33-4ee2-917c-47b3a9c17ed8/messages\": request timeout"
|
||||
time="2026-10-29T10:54:35Z" level=warning msg="Request Failed" error="Get \"https://hl.agapov.space/api/v1/chats/180f9552-ab33-4ee2-917c-47b3a9c17ed8/messages?limit=100\": request timeout"
|
||||
time="2026-10-29T10:54:37Z" level=warning msg="Request Failed" error="Get \"https://hl.agapov.space/api/v1/chats/180f9552-ab33-4ee2-917c-47b3a9c17ed8/messages?limit=100\": request timeout"
|
||||
time="2026-10-29T10:54:44Z" level=info msg="{\"target\":\"api-54f7cc6f98-7c56z\",\"started_epoch_ms\":1793271259858,\"confirmed\":44,\"reads\":42,\"errors\":5,\"events\":[{\"seconds\":0.602,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":1.191,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":1.671,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":1.969,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":2.61,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":3.313,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":4.104,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":4.584,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":4.835,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":5.156,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":5.41,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":5.64,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":5.866,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":6.084,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":6.294,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":6.477,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":6.709,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":6.906,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":7.081,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":15.6,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":17.893,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":18.63,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":19.066,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":19.505,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":20.093,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":20.642,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":21.21,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":21.538,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":21.937,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":22.234,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":22.503,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":22.801,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":23.015,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":23.197,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":23.365,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":23.542,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":23.723,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":23.914,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":24.095,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":24.293,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":24.517,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":24.71,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":24.897,\"instance\":\"api-54f7cc6f98-4xgnf\"}],\"pass\":true}" source=console
|
||||
|
||||
|
||||
█ TOTAL RESULTS
|
||||
|
||||
HTTP
|
||||
http_req_duration..............: avg=193.89ms min=24.17ms med=78.6ms max=2s p(90)=317.93ms p(95)=506.05ms
|
||||
{ expected_response:true }...: avg=111.7ms min=24.17ms med=76.47ms max=591.34ms p(90)=246.96ms p(95)=351.41ms
|
||||
http_req_failed................: 4.34% 5 out of 115
|
||||
http_reqs......................: 115 4.163984/s
|
||||
|
||||
EXECUTION
|
||||
iteration_duration.............: avg=25.11s min=25.11s med=25.11s max=25.11s p(90)=25.11s p(95)=25.11s
|
||||
iterations.....................: 1 0.036209/s
|
||||
vus............................: 1 min=0 max=1
|
||||
vus_max........................: 1 min=1 max=1
|
||||
|
||||
NETWORK
|
||||
data_received..................: 246 kB 8.9 kB/s
|
||||
data_sent......................: 11 kB 387 B/s
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
time="2026-10-29T10:55:29Z" level=info msg="READY_TO_STOP api-54f7cc6f98-txlh4" source=console
|
||||
time="2026-10-29T10:55:38Z" level=warning msg="Request Failed" error="Get \"https://hl.agapov.space/api/v1/chats/c92c898b-5596-47dd-90a8-8b54b127762a/messages?limit=100\": request timeout"
|
||||
time="2026-10-29T10:55:40Z" level=warning msg="Request Failed" error="Post \"https://hl.agapov.space/api/v1/chats/c92c898b-5596-47dd-90a8-8b54b127762a/messages\": request timeout"
|
||||
time="2026-10-29T10:55:42Z" level=warning msg="Request Failed" error="Get \"https://hl.agapov.space/api/v1/chats/c92c898b-5596-47dd-90a8-8b54b127762a/messages?limit=100\": request timeout"
|
||||
time="2026-10-29T10:55:44Z" level=warning msg="Request Failed" error="Post \"https://hl.agapov.space/api/v1/chats/c92c898b-5596-47dd-90a8-8b54b127762a/messages\": request timeout"
|
||||
time="2026-10-29T10:55:46Z" level=warning msg="Request Failed" error="Get \"https://hl.agapov.space/api/v1/chats/c92c898b-5596-47dd-90a8-8b54b127762a/messages?limit=100\": request timeout"
|
||||
time="2026-10-29T10:55:48Z" level=warning msg="Request Failed" error="Post \"https://hl.agapov.space/api/v1/chats/c92c898b-5596-47dd-90a8-8b54b127762a/messages\": request timeout"
|
||||
time="2026-10-29T10:55:50Z" level=warning msg="Request Failed" error="Get \"https://hl.agapov.space/api/v1/chats/c92c898b-5596-47dd-90a8-8b54b127762a/messages?limit=100\": request timeout"
|
||||
time="2026-10-29T10:55:54Z" level=info msg="{\"target\":\"api-54f7cc6f98-txlh4\",\"started_epoch_ms\":1793271329571,\"confirmed\":21,\"reads\":19,\"errors\":7,\"events\":[{\"seconds\":0.319,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":0.62,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":0.97,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":1.344,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":1.72,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":2.045,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":2.375,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":2.935,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":3.505,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":4.182,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":4.823,\"instance\":\"api-54f7cc6f98-txlh4\"},{\"seconds\":5.233,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":5.61,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":6.016,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":6.439,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":21.401,\"instance\":\"api-54f7cc6f98-crhmd\"},{\"seconds\":23.434,\"instance\":\"api-54f7cc6f98-crhmd\"},{\"seconds\":23.911,\"instance\":\"api-54f7cc6f98-crhmd\"},{\"seconds\":24.409,\"instance\":\"api-54f7cc6f98-4xgnf\"},{\"seconds\":24.827,\"instance\":\"api-54f7cc6f98-4xgnf\"}],\"pass\":true}" source=console
|
||||
|
||||
|
||||
█ TOTAL RESULTS
|
||||
|
||||
HTTP
|
||||
http_req_duration..............: avg=357.73ms min=67.9ms med=126.26ms max=2s p(90)=1.7s p(95)=2s
|
||||
{ expected_response:true }...: avg=178.02ms min=67.9ms med=121.99ms max=1.7s p(90)=274.92ms p(95)=380.46ms
|
||||
http_req_failed................: 9.85% 7 out of 71
|
||||
http_reqs......................: 71 2.545285/s
|
||||
|
||||
EXECUTION
|
||||
iteration_duration.............: avg=25.26s min=25.26s med=25.26s max=25.26s p(90)=25.26s p(95)=25.26s
|
||||
iterations.....................: 1 0.035849/s
|
||||
vus............................: 1 min=0 max=1
|
||||
vus_max........................: 1 min=1 max=1
|
||||
|
||||
NETWORK
|
||||
data_received..................: 74 kB 2.6 kB/s
|
||||
data_sent......................: 6.5 kB 231 B/s
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
UTC 2026-10-29T10:54:17Z
|
||||
NAME CPU(cores) MEMORY(bytes)
|
||||
api-54f7cc6f98-7c56z 3m 22Mi
|
||||
api-54f7cc6f98-txlh4 2m 22Mi
|
||||
postgres-0 5m 26Mi
|
||||
valkey-0 8m 8Mi
|
||||
valkey-1 5m 13Mi
|
||||
valkey-2 6m 3Mi
|
||||
active|||1
|
||||
idle|Client|ClientRead|2
|
||||
UTC 2026-10-29T10:54:23Z
|
||||
NAME CPU(cores) MEMORY(bytes)
|
||||
api-54f7cc6f98-7c56z 3m 22Mi
|
||||
api-54f7cc6f98-txlh4 2m 22Mi
|
||||
postgres-0 5m 26Mi
|
||||
valkey-0 8m 8Mi
|
||||
valkey-1 5m 13Mi
|
||||
valkey-2 6m 3Mi
|
||||
active|||1
|
||||
idle|Client|ClientRead|3
|
||||
UTC 2026-10-29T10:54:30Z
|
||||
NAME CPU(cores) MEMORY(bytes)
|
||||
api-54f7cc6f98-txlh4 2m 22Mi
|
||||
postgres-0 5m 26Mi
|
||||
valkey-0 8m 8Mi
|
||||
valkey-1 5m 13Mi
|
||||
valkey-2 6m 3Mi
|
||||
active|||1
|
||||
idle|Client|ClientRead|2
|
||||
UTC 2026-10-29T10:54:41Z
|
||||
NAME CPU(cores) MEMORY(bytes)
|
||||
api-54f7cc6f98-txlh4 20m 42Mi
|
||||
load-failover-1-20261029105415-hng87 36m 51Mi
|
||||
postgres-0 34m 30Mi
|
||||
valkey-0 18m 8Mi
|
||||
valkey-1 8m 13Mi
|
||||
valkey-2 7m 3Mi
|
||||
active|||1
|
||||
idle|Client|ClientRead|3
|
||||
UTC 2026-10-29T10:54:48Z
|
||||
NAME CPU(cores) MEMORY(bytes)
|
||||
api-54f7cc6f98-4xgnf 4m 43Mi
|
||||
api-54f7cc6f98-txlh4 20m 42Mi
|
||||
load-failover-1-20261029105415-hng87 11m 51Mi
|
||||
postgres-0 34m 30Mi
|
||||
valkey-0 9m 8Mi
|
||||
valkey-1 8m 13Mi
|
||||
valkey-2 10m 3Mi
|
||||
active|||1
|
||||
idle|Client|ClientRead|3
|
||||
@@ -0,0 +1,39 @@
|
||||
UTC 2026-10-29T10:55:26Z
|
||||
NAME CPU(cores) MEMORY(bytes)
|
||||
api-54f7cc6f98-4xgnf 6m 43Mi
|
||||
api-54f7cc6f98-txlh4 12m 7Mi
|
||||
postgres-0 6m 30Mi
|
||||
valkey-0 13m 8Mi
|
||||
valkey-1 5m 13Mi
|
||||
valkey-2 8m 3Mi
|
||||
active|||1
|
||||
idle|Client|ClientRead|3
|
||||
UTC 2026-10-29T10:55:33Z
|
||||
NAME CPU(cores) MEMORY(bytes)
|
||||
api-54f7cc6f98-4xgnf 3m 43Mi
|
||||
api-54f7cc6f98-txlh4 3m 7Mi
|
||||
postgres-0 4m 30Mi
|
||||
valkey-0 8m 8Mi
|
||||
valkey-1 6m 13Mi
|
||||
valkey-2 7m 3Mi
|
||||
active|||1
|
||||
idle|Client|ClientRead|4
|
||||
UTC 2026-10-29T10:55:39Z
|
||||
NAME CPU(cores) MEMORY(bytes)
|
||||
api-54f7cc6f98-4xgnf 3m 43Mi
|
||||
postgres-0 4m 30Mi
|
||||
valkey-0 8m 8Mi
|
||||
valkey-1 6m 13Mi
|
||||
valkey-2 7m 3Mi
|
||||
active|||1
|
||||
idle|Client|ClientRead|2
|
||||
UTC 2026-10-29T10:55:56Z
|
||||
NAME CPU(cores) MEMORY(bytes)
|
||||
api-54f7cc6f98-4xgnf 21m 44Mi
|
||||
load-failover-2-20261029105524-bq2wx 30m 11Mi
|
||||
postgres-0 16m 27Mi
|
||||
valkey-0 10m 8Mi
|
||||
valkey-1 10m 13Mi
|
||||
valkey-2 7m 3Mi
|
||||
active|||1
|
||||
idle|Client|ClientRead|3
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "https://hl.agapov.space"
|
||||
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/smoke.py --base-url "https://hl.agapov.space"
|
||||
FAIL: GET /api/v1/users/me: expected [200], received 503
|
||||
make: *** [test] Error 1
|
||||
@@ -0,0 +1,2 @@
|
||||
api-54f7cc6f98-7c56z
|
||||
api-54f7cc6f98-txlh4
|
||||
Reference in New Issue
Block a user