API Gateways, Traffic Management & the Edge›Running it · Cheat sheet & self-check

Running it · wrap-up

Cheat sheet & self-check

Every command from this section on one page.

12 · Operating gateways

Envoy response flags

NRNo route matched (404): host or path not configured
RLRate limited (429)
UTUpstream request timeout (504)
URXRetry limit exceeded (the last attempt's error is returned)
UHNo healthy upstream (503): no ready endpoints
UFUpstream connection failure (503)
-No flag: the response came from the backend, or a local reply such as a JWT 401 (see response_code_details)

Where to look

kubectl get gateway,httproute -AStatus: Accepted, ResolvedRefs, Programmed
kubectl logs -n envoy-gateway-system deploy/<envoy> -c envoyAccess logs (JSON) with flags and details
kubectl logs -n envoy-gateway-system deploy/envoy-gatewayController: translation errors

13 · Capstone: design the edge for a multi-region API

Design outline

1. ContextUsers, regions, plans, traffic, SLOs, compliance
2. PathEvery hop from client to service, with owner and latency budget
3. ProtectionDDoS, WAF rollout, bots, origin protection
4. GatewayImplementation, Gateway and route ownership, TLS
5. IdentityTokens, keys, claims, what services still check
6. LimitsPer plan and tenant, local and global, quotas, 429 behaviour
7. ResilienceTimeouts, retries, circuit breaking, failover
8. LifecycleVersioning, deprecation, portal
9. OperationsLogs, metrics, traces, alerts, config rollout, upgrades