Envoy Gateway Upstream Reset and 503 Overflow
Matches Envoy Gateway proxy access log response flags URX, UF, UO, and UH indicating upstream connection resets, circuit breaker overflows, or missing healthy endpoints.
- Kind
- Signature
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:d2257707
Contract facts
- Sources
- 3
- kubernetes, loki, prometheus
- Log patterns
- 3
- RE2, replayed in CI
- Kubernetes matchers
- 1
- CEL on live objects
- Samples
- 3 and 2
- must match and must not
Inspect it
Inspect the contract and RBAC delta
$ faberctl catalog inspect signatures/envoy-gateway-upstream-reset \ --source oci://ghcr.io/faberops/catalog:v2How it works
Sources
kubernetes, loki, prometheus
What it matches
Must match
- envoy access log status=503 response_flags=URX upstream=payments-api:8080
- 503 upstream_reset_before_response_started{connection_termination} on route /v1/pay
- envoy-gateway status HTTPRoute edge/api-route ResolvedRefs=False
Must not match
- envoy access log status=200 response_flags=- upstream_time=9ms
- HTTPRoute edge/api-route Accepted=True ResolvedRefs=True
Signature source
signature.yamlFailureSignature31 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
name: envoy-gateway-upstream-reset
spec:
description: Matches Envoy Gateway proxy access log response flags URX, UF, UO, and UH indicating upstream connection resets,
circuit breaker overflows, or missing healthy endpoints.
sources:
- kubernetes
- loki
- prometheus
logPatterns:
- response_flags=(URX|UF|UO|UH|UC)
- upstream_reset_before_response_started|no_healthy_upstream
- envoy-gateway.*HTTPRoute.*ResolvedRefs=False
samples:
match:
- envoy access log status=503 response_flags=URX upstream=payments-api:8080
- 503 upstream_reset_before_response_started{connection_termination} on route /v1/pay
- envoy-gateway status HTTPRoute edge/api-route ResolvedRefs=False
noMatch:
- envoy access log status=200 response_flags=- upstream_time=9ms
- HTTPRoute edge/api-route Accepted=True ResolvedRefs=True
kubernetes:
- apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
match: has(object.status) && has(object.status.parents) && object.status.parents.exists(p, has(p.conditions) && p.conditions.exists(c,
c.type == "ResolvedRefs" && c.status == "False"))
queries:
loki: '{gateway_envoyproxy_io_owning_gateway_name!=""} |= "upstream_reset_before_response_started" or |= "no_healthy_upstream"'
promql: sum by (envoy_cluster_name) (rate(envoy_cluster_upstream_rq_xx{envoy_response_code_class="5"}[5m])) > 1
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/envoy-gateway-upstream-reset. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: envoy-gateway-upstream-reset
category: signatures
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:d2257707c81c02807096ec37ad0e74fd7252908618d3a0f68d717415fb97e2e6
Signatures are catalog data. A Playbook references one by name in a connector trigger. It is never applied on its own.
Related packs
All 176 packsIngress to Kubernetes Gateway API Migrator
playbooks/ingress-to-gateway-migratorMigrates legacy networking.k8s.io/v1 Ingress manifests to standard Kubernetes Gateway API HTTPRoute manifests one service at a time in small HITL GitOps pull requests.Default HITLCeiling HITLGKE Gateway API and Cloud Load Balancer 5xx Failures
signatures/gke-gateway-backend-5xxMatches GKE Gateway API backend health check failures, NEG attachment errors, Cloud Armor blocks, and 502/503/504 backend timeout surges.Log patterns 3Sources 2Azure Application Gateway for Containers Hardener
playbooks/azure-aks-agfc-gateway-hardeningAudits Azure Application Gateway for Containers (AGFC) Gateway API Gateways, ApplicationLoadBalancer, and BackendTLSPolicy resources for missing end-to-end backend TLS, missing WAF policy references, or unready listeners, opening small HITL GitOps pull requests.Default HITLCeiling HITL