forked from mtusi2026/mtusi2026lab3
level 5 track 1
This commit is contained in:
@@ -6,11 +6,12 @@ TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
|
||||
|
||||
APP_VERSION ?=
|
||||
|
||||
.PHONY: help check validate test load test-persistence test-failover test-idempotency failover-series rolling-update lb-status
|
||||
.PHONY: help check validate test load test-persistence test-failover test-idempotency failover-series rolling-update lb-status scale-cost
|
||||
|
||||
help:
|
||||
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
|
||||
@echo "failover-series, rolling-update APP_VERSION=..., lb-status: level 4 experiments (Docker required)"
|
||||
@echo "scale-cost: level 5 track 1 (1/2/4 replicas at a fixed CPU/RAM budget, then grow resources)"
|
||||
|
||||
check:
|
||||
$(PYTHON) scripts/check_contract.py
|
||||
@@ -46,3 +47,7 @@ rolling-update:
|
||||
|
||||
lb-status:
|
||||
sh scripts/lb-status.sh
|
||||
|
||||
# Level 5 track 1: 1/2/4 API replicas at a fixed total CPU/RAM budget, then a growing-resource series.
|
||||
scale-cost:
|
||||
$(PYTHON) scripts/scale_cost.py --base-url "$(BASE_URL)"
|
||||
|
||||
Reference in New Issue
Block a user