You are on call. The Monster Market in wrecks-u585f1 is down, and five tickets are open at once. Triage before you touch anything:
sh
kubectl get deploy,pods,svc,pvc -n wrecks-u585f1
kubectl events -n wrecks-u585f1 --types=Warning
kubectl describe rs -n wrecks-u585f1 | grep -B2 FailedCreateThe tickets, in the order they arrived:
- Website:
market-webPods never start. - API:
market-apiPods never start either, for a different reason. - Database:
market-dbis Pending. - Checkout: even with Pods up,
market-api:8080refuses connections. - Worker:
market-workerhas no Pods at all and no errors.
Every fix is one change in the layer the symptom points at. When all five are done, prove it from the client Pod:
sh
kubectl exec client -n wrecks-u585f1 -- wget -qO- -T 2 market-api:8080/healthz