kubectl get gateway,tcproute,udproute -A -o wideMonitor Gateway API TCPRoute and UDPRoute without cardinality sprawl
Practical golden signals for Kubernetes Gateway API v1.6 L4 traffic: connections, bytes, errors, backends, and active series without flooding Prometheus with useless labels.
A hands-on guide for Prometheus/Grafana dashboards and alerts on TCPRoute and UDPRoute: inventory, PromQL, metric relabeling, canary validation, and proof that L4 traffic is neither blind nor expensive.
Created: August 23, 2026
Published: August 23, 2026
Linux
Inventory L4 routes, normalize useful labels, add Prometheus rules, and validate cardinality before enabling alerts.
kubectlcurlpromtoolPrometheus accessread access to gateway/controller metrics
kubectl describe gateway edge-gw -n platform
kubectl describe tcproute tcp-payments -n shop
kubectl describe udproute dns-gateway -n platformcurl -s http://prometheus:9090/api/v1/status/tsdb | jq '.data.seriesCountByLabelName[:20]'promtool check rules gateway-l4.rules.yaml
promtool test rules gateway-l4.test.yamlContent locked
This guide requires both steps before full content is available.
- ○Click “Like” on this guide.
- ○Share on WhatsApp, X, LinkedIn, or copy the link.
Access is automatically unlocked as soon as both steps are completed.