A report endpoint returns `504 Gateway Time-out` from the Ingress after exactly 60 seconds.
IntermediateTroubleshootingServices, DNS, Ingress and NetworkPolicy
Answer
Likely causes → ingress-nginx proxy-read-timeout defaults to 60s; the backend takes longer. A cloud LB in front (ALB idle timeout 60s) gives the same symptom.
Diagnose →
kubectl logs -n ingress-nginx deploy/ingress-nginx-controller | grep 'upstream timed out'
Fix → Raise timeouts only for that route:
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
and the ALB idle timeout if present. Better: make long reports asynchronous (job + polling).
Prevent → Keep synchronous requests short and budget timeouts end to end: each inner hop should time out before the outer one (app < ingress < load balancer < client), so the caller gets a clean error instead of a cut connection.
More on Services, DNS, Ingress and NetworkPolicy
`curl http://orders.shop.svc.cluster.local` hangs, and `kubectl get endpointslices -l kubernetes.io/service-name=orders` shows `ENDPOINTS <unset>`.BeginnerEndpoints exist, but `curl orders:80` returns `Connection refused`.BeginnerA Service works when you curl the Pod IP but times out on the ClusterIP from every node.IntermediateInside a Pod, `nslookup orders` returns `;; connection timed out; no servers could be reached`.BeginnerCoreDNS Pods are in CrashLoopBackOff with `[FATAL] plugin/loop: Loop (127.0.0.1:41823 -> :53) detected for zone "."`.IntermediateCalls to `api.stripe.com` from Pods are slow, and CoreDNS logs show `api.stripe.com.payments.svc.cluster.local`, `api.stripe.com.svc.cluster.local` … all `NXDOMAIN`.Intermediate