GKE Gateway API and Cloud Load Balancer 5xx Failures
Matches GKE Gateway API backend health check failures, NEG attachment errors, Cloud Armor blocks, and 502/503/504 backend timeout surges.
- Kind
- Signature
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:d089a7b7
Contract facts
- Sources
- 2
- kubernetes, 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/gke-gateway-backend-5xx \ --source oci://ghcr.io/faberops/catalog:v2How it works
Sources
kubernetes, prometheus
What it matches
Must match
- response_details=no_healthy_upstream status=503 backend=payments-neg
- Warning SyncError: HealthCheckPolicy payments/api-hc failed to sync backend service
- GCPBackendPolicy edge/api-policy Error attaching securityPolicy armor-prod
Must not match
- Gateway edge/external-gw Programmed=True address=34.110.1.10
- HTTP 200 OK upstream_service_time=12ms
Signature source
signature.yamlFailureSignature30 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
name: gke-gateway-backend-5xx
spec:
description: Matches GKE Gateway API backend health check failures, NEG attachment errors, Cloud Armor blocks, and 502/503/504
backend timeout surges.
sources:
- kubernetes
- prometheus
logPatterns:
- failed_to_pick_backend|no_healthy_upstream
- HealthCheckPolicy.*failed to sync backend service
- GCPBackendPolicy.*Error.*securityPolicy
samples:
match:
- response_details=no_healthy_upstream status=503 backend=payments-neg
- 'Warning SyncError: HealthCheckPolicy payments/api-hc failed to sync backend service'
- GCPBackendPolicy edge/api-policy Error attaching securityPolicy armor-prod
noMatch:
- Gateway edge/external-gw Programmed=True address=34.110.1.10
- HTTP 200 OK upstream_service_time=12ms
kubernetes:
- apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
match: has(object.status) && has(object.status.conditions) && object.status.conditions.exists(c, c.type == "Programmed"
&& c.status == "False")
queries:
promql: sum by (backend_target_name) (rate(loadbalancing_googleapis_com:https_request_count{response_code_class="500"}[5m]))
> 1
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/gke-gateway-backend-5xx. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: gke-gateway-backend-5xx
category: signatures
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:d089a7b7ff3e4cae94bcaea0868db2da180953e67de60bbabf7c64130e610d22
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 packsGKE Gateway API and Cloud Armor Hardener
playbooks/gke-gateway-hardeningAudits GKE Gateway API Gateways, GCPGatewayPolicy SSL profiles, and GCPBackendPolicy Cloud Armor security policies, opening small HITL GitOps pull requests to enforce TLS 1.3 SSL policies, Cloud Armor WAF attachment, and connection draining.Default HITLCeiling HITLIngress 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 HITLEnvoy Gateway Upstream Reset and 503 Overflow
signatures/envoy-gateway-upstream-resetMatches Envoy Gateway proxy access log response flags URX, UF, UO, and UH indicating upstream connection resets, circuit breaker overflows, or missing healthy endpoints.Log patterns 3Sources 3