Two Services in straits-1cy8mxm. One works, one refuses every connection:
sh
kubectl get endpoints -n straits-1cy8mxm
kubectl exec client -n straits-1cy8mxm -- wget -qO- market-api:8080/healthzCount market-web's endpoints, scale the Deployment to 5 and count again. Then compare market-api's selector with the Pod labels, and apply a corrected Service:
sh
kubectl apply -n straits-1cy8mxm -f - <<EOF
apiVersion: v1
kind: Service
metadata:
name: market-api
spec:
selector:
app: market-api
ports:
- port: 8080
targetPort: 8080
EOF