Skip to main content
Static configuration lives under the top-level config key in your YAML or JSON file. These fields are read exactly once when the process starts. Changing them requires a restart — they are not dynamically reloaded.

Top-level fields

string
Address for the admin UI server in ip:port format. The admin interface exposes runtime diagnostics and configuration inspection.Example: "0.0.0.0:15000"
string
Address for the stats and metrics server in ip:port format. Exposes Prometheus-compatible metrics.Example: "0.0.0.0:15020"
string
Address for the readiness probe server in ip:port format. Returns HTTP 200 when the gateway is ready to serve traffic.Example: "0.0.0.0:15021"
number
Number of worker threads for handling requests. Defaults to the number of logical CPUs when not set.
boolean
Enable IPv6 support. When true, the DNS resolver defaults to querying both IPv4 and IPv6 address families. See also config.dns.lookupFamily.
string
Override the path used for local XDS configuration. When not set, the current configuration file is used as the local XDS source.
string
Maximum time to wait for in-flight connections to finish draining on shutdown.
string
Minimum time to wait before forcing connection termination during shutdown.

DNS settings

object
DNS resolver configuration.

Session management

object
Configuration for stateful session management.

Logging

object
Controls log output format, verbosity, and field customization.
Example:

Tracing

Agentgateway supports distributed tracing via OpenTelemetry. Configure the OTLP exporter and sampling behavior under config.tracing.
object
OpenTelemetry tracing configuration.
Example:

Metrics

object
Prometheus metrics configuration.

Backend connection pooling

These settings control how the gateway manages TCP connections to upstream backends.
object
Global backend connection settings.
Example:

HBONE settings

HBONE (HTTP-Based Overlay Network Encapsulation) is used for encrypted tunneling between proxies.
object
HBONE HTTP/2 tunnel settings.

XDS control plane connection

Connect Agentgateway to a remote XDS control plane for centralized dynamic configuration.
string
Address of the XDS control plane server.Example: "grpc://xds-server:15010"
string
Authentication token sent to the XDS server.
string
Address of the certificate authority (CA) server for mTLS certificate issuance.
string
Authentication token for the CA server.
string
Kubernetes namespace the gateway is running in. Used by the XDS and CA integrations.
string
Kubernetes service account name. Used for identity in XDS and CA requests.
string
SPIFFE trust domain for workload identity.
string
Cluster identifier reported to the XDS control plane.
string
Network identifier reported to the XDS control plane.
string
Gateway name reported to the XDS control plane.
Example — connecting to an XDS control plane: