After the catalog service was renamed, the storefront answers 503 and nginx fails to reload. Work outside-in on a single k3s node: fix the nginx config, the Service that selects nothing, the wrong ports, the Redis address and the readiness probe until the health probes pass.
This is the practice version. Assessments always use a variant you have never seen.
The on-call phone went off at 02:10: the storefront answers 503 to every request. Yesterday the catalog service was renamed from catalog to catalog-api across the
manifests. Since the deploy, http://store.local/ returns 503 and nginx -t fails.
You are on the k3s node with kubectl, nginx, curl and dig. The app listens on the port in its PORT
environment variable and serves /healthz and /api/*. It needs Redis at REDIS_HOST.
Restore the storefront: GET http://store.local/ must return 200 through nginx, the catalog-api pods
must be Ready, and nginx -t must pass. Fix the root causes in k8s/ and nginx/ — do not bypass
Kubernetes Services. RUNBOOK.md has the usual commands.