π Summary
In a DB-less Kong deployment with multiple replicas, one Kong instance intermittently serves 404 responses due to incomplete route configuration, while other instances function correctly.
This results in inconsistent routing behavior depending on which pod receives the request.
π¦ Environment
- Kong Version: 3.3
- Kong Ingress Controller Version: 2.11
- Kubernetes Distribution: k3s
- Deployment Mode: DB-less (
KONG_DATABASE=off)
- Replicas: Multiple (behind LoadBalancer)
Controller Resources:
requests:
cpu: 25m
memory: 100Mi
limits:
cpu: 100m
memory: 250Mi
π¨ Observed Behavior
π§ͺ Steps to Reproduce (approximate)
- Deploy Kong (DB-less) with KIC v2.11 and multiple replicas
- Apply multiple Ingress and TCPIngress resources
- Send traffic via LoadBalancer
- Observe intermittent 404 responses
- Compare
/routes across pods β one pod shows missing routes
π Expected Behavior
All Kong instances should independently converge to the same configuration derived from Kubernetes resources, resulting in consistent routing across all pods.
π Additional Observations
- No critical errors in logs (log level =
warn)
- Occasional network timeout logs (unclear if related)
- Only partial configuration present on affected pod (TCPIngress present, HTTP Ingress missing)
- https://artifacthub.io/packages/helm/kong/kong/2.27.0 (helm chart we are using to deploy)
π₯ Impact
- Intermittent production 404 errors
- Non-deterministic routing behavior
- Difficult to detect via health checks (pods remain Ready)
π§ Workarounds
- Restarting affected pod β resolves issue temporarily
π Any guidance or pointers would be appreciated.
π Summary
In a DB-less Kong deployment with multiple replicas, one Kong instance intermittently serves 404 responses due to incomplete route configuration, while other instances function correctly.
This results in inconsistent routing behavior depending on which pod receives the request.
π¦ Environment
KONG_DATABASE=off)Controller Resources:
π¨ Observed Behavior
Requests via LoadBalancer intermittently return:
200 OK(healthy pods)404 Not Found(faulty pod)Kong Admin API comparison across pods:
Faulty pod:
Readyfrom Kubernetes perspectiveπ§ͺ Steps to Reproduce (approximate)
/routesacross pods β one pod shows missing routesπ Expected Behavior
All Kong instances should independently converge to the same configuration derived from Kubernetes resources, resulting in consistent routing across all pods.
π Additional Observations
warn)π₯ Impact
π§ Workarounds
π Any guidance or pointers would be appreciated.