market-api in wastes-f7rj0x restarts. Its current logs are not much help:
sh
kubectl get pods -n wastes-f7rj0x
kubectl logs deploy/market-api -n wastes-f7rj0x --tail=5Look at the container that died, then at all three replicas together:
sh
kubectl logs -l app=market-api -n wastes-f7rj0x --previous --prefixThe logs name the missing variable. Set it on the Deployment and watch the replicas settle:
sh
kubectl set env deploy/market-api MONSTER_DB_URL=postgres://market-db:5432/market -n wastes-f7rj0x
kubectl logs -l app=market-api -n wastes-f7rj0x --prefix --tail=2