infra(gateway): enable Envoy HTTP access logs for the Cilium GatewayClass
Finding F7: cilium-envoy emitted no request-level record, so the netsec design's application-layer rules had no input stream. CiliumGatewayClassConfig kube-system/cilium binds spec.telemetry.accessLogs (JSON, HTTP target) to the cilium GatewayClass via spec.parametersRef, so Cilium renders an access log into every Gateway listener's HTTP connection manager and writes one JSON line per request to the cilium-envoy container stdout (/var/log/pods/kube-system_cilium-envoy-*/cilium-envoy/*.log). Fields are an explicit allowlist: method, path, response code/flags, duration, bytes, authority, CF-Connecting-IP (real client, since Envoy is hostNetwork behind cloudflared), X-Forwarded-For, peer, User-Agent, CF-Ray, upstream host. No bodies, no header dumps: Authorization/Cookie never reach disk. Application log level stays info (no debug/trace).
This commit is contained in:
parent
588c17a3e4
commit
1caaae9a63
3 changed files with 77 additions and 0 deletions
|
|
@ -3,3 +3,5 @@ kind: Kustomization
|
|||
resources:
|
||||
- namespace.yaml
|
||||
- gateway.yaml
|
||||
- gatewayclass.yaml
|
||||
- gatewayclass-config.yaml
|
||||
|
|
|
|||
Loading…
Reference in a new issue