<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/your-gke-app-is-healthy-so-why-is-the-load-balancer-returning-504s--fkzxwnv2o" -->

---
title: Your GKE App Is Healthy. So Why Is the Load Balancer...
description: A discussion post asks how DevOps and platform teams debug 504 Gateway Timeout errors on GKE when pods appear healthy, pointing to an external walkthrough that...
canonical: https://daily.dev/posts/your-gke-app-is-healthy-so-why-is-the-load-balancer-returning-504s--fkzxwnv2o
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Your GKE App Is Healthy. So Why Is the Load Balancer Returning 504s? | daily.dev
og:description: A discussion post asks how DevOps and platform teams debug 504 Gateway Timeout errors on GKE when pods appear healthy, pointing to an external walkthrough that...
og:url: https://daily.dev/posts/your-gke-app-is-healthy-so-why-is-the-load-balancer-returning-504s--fkzxwnv2o
og:image: https://api.daily.dev/og/posts/FkZxWnV2o.png
og:image:alt: Your GKE App Is Healthy. So Why Is the Load Balancer Returning 504s?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Your GKE App Is Healthy. So Why Is the Load Balancer Returning 504s?

**[DevOps & Platform Engineering Hub](https://daily.dev/sources/sanjay)** · [@divyansh30](https://daily.dev/divyansh30) · 1 min read · 3 upvotes · 1 comments

## Summary

A discussion post asks how DevOps and platform teams debug 504 Gateway Timeout errors on GKE when pods appear healthy, pointing to an external walkthrough that traces a 30-second timeout issue resolved using BackendConfig for long-running requests. The author solicits community experience on distinguishing application, ingress, and load balancer issues and finding effective timeout values.

## Content

Ever had a service where the pods look healthy, the application is working, but users still get a `504 Gateway Timeout`?

That's a frustrating one because the problem may not be inside the application at all.

Sometimes the application is still processing the request, but the load balancer has already given up waiting.

That's where backend timeout configuration becomes important.

I'm curious how other DevOps and platform teams approach these issues:

- Have you dealt with GKE `504`s where the pods looked completely healthy?
- How do you figure out whether the problem is the application, ingress, or load balancer?
- Do you use `BackendConfig` for long-running requests?
- What timeout values have worked well for your workloads?

I came across a practical walkthrough that breaks down a 30-second GKE timeout problem and shows how `BackendConfig` was used to address it.

[Read the full walkthrough](https://www.kubeblogs.com/fixing-504-errors-in-gke-load-balancer-how-backendconfig-solved-our-30-second-timeout-problem/?utm_source=chatgpt.com)

**Have you ever had a “healthy infrastructure, failing requests” problem like this?**

#DevOps #PlatformEngineering #Kubernetes #GKE #GoogleCloud #SRE

## Community discussion

Top comments from developers on daily.dev.

**@trevorsuna** · 0 upvotes

> A timeout increase can stop the 504s, but it can also hide an endpoint that should be asynchronous. I’d compare load-balancer latency, application duration, and cancellation behavior first, then use BackendConfig only when the request genuinely needs to stay synchronous and clients can wait safely.

## Similar posts on daily.dev

- [CrashLoopBackOff in Kubernetes: The Real Causes and How We Fix It](https://daily.dev/posts/crashloopbackoff-in-kubernetes-the-real-causes-and-how-we-fix-it-odapgy48g) · Cast AI · 3 upvotes · 1 comments
- [Client-Side Load Balancing at a Million Requests Per Second](https://daily.dev/posts/client-side-load-balancing-at-a-million-requests-per-second-bvi2j48ww) · Zalando · 20 upvotes · 1 comments
- [How Kubernetes Health Checks Brought Down a Payment Service](https://daily.dev/posts/how-kubernetes-health-checks-brought-down-a-payment-service-jxkwnhtv6) · Medium · 12 upvotes · 0 comments
- [The hidden failure paths that affect Kubernetes control plane availability](https://daily.dev/posts/the-hidden-failure-paths-that-affect-kubernetes-control-plane-availability-qtcv11wbq) · The New Stack · 0 upvotes · 0 comments
- [Why Your Kubernetes Readiness Probes Are Lying During Rolling Updates](https://daily.dev/posts/why-your-kubernetes-readiness-probes-are-lying-during-rolling-updates-yc6emhkvi) · Cloud Native Now · 3 upvotes · 1 comments

---

Tags: [#kubernetes](https://daily.dev/tags/kubernetes), [#gcp](https://daily.dev/tags/gcp), [#gke](https://daily.dev/tags/gke)

[View this post on daily.dev](https://daily.dev/posts/your-gke-app-is-healthy-so-why-is-the-load-balancer-returning-504s--fkzxwnv2o)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/your-gke-app-is-healthy-so-why-is-the-load-balancer-returning-504s--fkzxwnv2o","headline":"Your GKE App Is Healthy. So Why Is the Load Balancer Returning 504s?","text":"A discussion post asks how DevOps and platform teams debug 504 Gateway Timeout errors on GKE when pods appear healthy, pointing to an external walkthrough that traces a 30-second timeout issue resolved using BackendConfig for long-running requests. The author solicits community experience on distinguishing application, ingress, and load balancer issues and finding effective timeout values.","url":"https://daily.dev/posts/your-gke-app-is-healthy-so-why-is-the-load-balancer-returning-504s--fkzxwnv2o","datePublished":"2026-09-04T04:37:09.105Z","dateModified":"2026-09-13T21:03:10.688Z","author":{"@type":"Person","name":"Divyansh","url":"https://daily.dev/divyansh30","image":"https://media.daily.dev/image/upload/s--f9lbkpFv--/f_auto/v1744873189/avatars/avatar_JMQ4qarKTe7zPurSPRrzM","description":"Aspiring engineer with an interest in AI, tech and DevOps :)","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1090}},"image":"https://media.daily.dev/image/upload/s--SL9PiTpV--/f_auto/v1788496629/posts/FkZxWnV2o?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"comment":[{"@type":"Comment","text":"A timeout increase can stop the 504s, but it can also hide an endpoint that should be asynchronous. I’d compare load-balancer latency, application duration, and cancellation behavior first, then use BackendConfig only when the request genuinely needs to stay synchronous and clients can wait safely.","datePublished":"2026-09-06T01:58:42.718Z","url":"https://daily.dev/posts/FkZxWnV2o#c-HHumvkwHw","author":{"@type":"Person","name":"Trevor Suna","url":"https://daily.dev/trevorsuna","image":"https://media.daily.dev/image/upload/s--dZ7gXxpp--/f_auto/v1784081551/avatars/avatar_EMoP47rpuw8DNjhp6R1b6?_a=BAMAMicg0"}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/sanjay","name":"DevOps \u0026 Platform Engineering Hub"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevOps \u0026 Platform Engineering Hub","item":"https://daily.dev/squads/sanjay"},{"@type":"ListItem","position":3,"name":"Your GKE App Is Healthy. So Why Is the Load Balancer Returning 504s?"}]}
```

