Skip to content

Add Agentgateway Emitter and Port Kgateway Emitter Features #59

@danehans

Description

@danehans

AgentgatewayPolicy Mapping

Traffic (spec.traffic)

  • CORS → traffic.cors (similar structure to Gateway API HTTPCORSFilter)
  • Rate limiting → traffic.rateLimit.local (LocalRateLimit with requests/tokens per unit)
  • Timeouts → traffic.timeouts.request (proxy-send-timeout) and traffic.timeouts for stream idle
  • Basic auth → traffic.basicAuthentication (with users or secretRef)
  • External auth → traffic.extAuth (direct backendRef, no GatewayExtension needed)
  • Rewrite target → traffic.transformation.request (path rewrite)

Backend (spec.backend)

  • Backend TLS → backend.tls (mtlsCertificateRef, caCertificateRefs, insecureSkipVerify, sni, verifySubjectAltNames)
  • Backend connect timeout → backend.tcp.connectTimeout
  • Backend protocol → backend.http.version (HTTP1/HTTP2) or handled via AgentgatewayBackend

Frontend (spec.frontend)

  • Access logging → frontend.accessLog (with filter and attributes)
  • TLS settings → frontend.tls (handshakeTimeout, alpnProtocols)
  • HTTP settings → frontend.http (http1/http2 settings)
  • Buffer/body size → frontend.http (maxBufferSize)

AgentgatewayBackend Mapping

  • Service upstream → AgentgatewayBackend with spec.static (host, port)
  • Backend protocol → AgentgatewayBackend.spec.static doesn't have appProtocol, but can use backend.http.version in policy

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions