Three Deployments in wrecks-qs9wio keep restarting: market-api, market-db and market-web. Ask the three questions of each:
sh
kubectl get pods -n wrecks-qs9wio
kubectl describe pod -l app=market-api -n wrecks-qs9wio | grep -A3 "Last State"
kubectl logs deploy/market-api -n wrecks-qs9wio --previous --tail=5
kubectl describe pod -l app=market-db -n wrecks-qs9wio | grep -A3 "Last State"
kubectl describe pod -l app=market-web -n wrecks-qs9wio | tail -6Then fix each one with a single change: the variable the API asks for, a memory limit the database fits in, and a liveness path that exists.
sh
kubectl set env deploy/market-api MONSTER_DB_URL=postgres://market-db:5432/market -n wrecks-qs9wio
kubectl set resources deploy/market-db --limits=memory=256Mi -n wrecks-qs9wio
kubectl edit deploy market-web -n wrecks-qs9wio