I’m experiencing a persistent 503 Service Unavailable error when accessing through the LB
curl http://<domain> -v
< HTTP/1.1 503 Service Unavailable
< Content-Length: 13
< content-type: text/plain
< via: 1.1 <provider>
< date: <timestamp>
drop overload
My current configuration:
# HTTPRoute
kind: HTTPRoute
apiVersion: gateway.networking.k8s.io/v1beta1
metadata:
name: <route-name>
namespace: <namespace>
spec:
parentRefs:
- name: <gateway-name>
hostnames:
- "<domain>"
rules:
- backendRefs:
- name: <service-name>
port: <port>
# Gateway
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
name: <gateway-name>
spec:
gatewayClassName: <gateway-class>
listeners:
- name: https
protocol: HTTPS
port: 443
allowedRoutes:
namespaces:
from: All
tls:
mode: Terminate
certificateRefs:
- name: <cert-name>
- name: http
protocol: HTTP
port: 80
allowedRoutes:
namespaces:
from: All
Questions:
- Why am I receiving a 503 Service Unavailable error?
- What could be causing the “drop overload” message?
- Are there any misconfigurations in my Gateway or HTTPRoute setup?
I’ve already tried:
- Verifying the service is running
- Checking network connectivity
- Confirming port configurations
Environment:
- Kubernetes: 1.31
- Gateway API: v1beta1
- Trying to access via HTTP and HTTPS
Any guidance would be greatly appreciated!