Skip to content
System types · Built-in All levels

kgateway control plane

The built-in kgateway-controller system type - the configuration a gateway rejected while every route still says Programmed, a control plane that stopped, and reconcile, translation and status failures.

SLSluicio team 5 min read Updated Nov 2026

kgateway’s control plane turns Gateway API resources (Gateway, HTTPRoute, policies) into Envoy configuration and serves it to every gateway proxy. It is not in the traffic path, so when it fails, traffic carries on. What fails is change: a route you apply does not take effect, and often nothing says so.

Key: kgateway-controller · applied automatically to services emitting kgateway_-prefixed metrics. The gateway proxies have their own type, kgateway.

When a proxy rejects the configuration it was sent, for example an HTTPRoute path regex that Envoy cannot compile, it keeps serving the last route table it accepted for that gateway. From then on:

  • every route you add or change on that gateway reports Accepted, ResolvedRefs and Programmed,
  • and none of them is served. A route added after the rejection answered 404 for as long as the rejected route existed.

The rejection shows in two places: one xds error line in the controller’s log, and kgateway_envoy_xds_rejects_active. The first check below watches the second.

The control plane is scraped like the proxies, from its annotated pod (/metrics on port 9092). The scrape job on the kgateway page covers both and names this service kgateway.

CheckConditionSeverity
Gateway rejected its configurationkgateway_envoy_xds_rejects_active > 0, split by gateway_nameCritical
Control plane not runningkgateway_build_info stops arrivingCritical
Reconcile errorskgateway_controller_reconciliations_total with result=error up by more than 3, split by controllerWarning
Translation failingkgateway_translator_translations_total with result other than success rising, split by nameWarning
Status writes failingkgateway_status_writes_total with result=error rising, split by kindWarning

“Gateway rejected its configuration” names the gateway, not the route. Find the route in the controller’s log ("msg":"xds error", with the resource type and Envoy’s reason), fix or delete it, and the gateway takes the whole backlog of changes at once. The metric only exists after the first rejection since the controller started.

“Control plane not running” fires on absence. kgateway_build_info is always 1 while the controller runs, so the check is a heartbeat: it only ever fires for a metric that has reported before.

  • A reconcile error at startup is normal. The controller counted one failed reconcile per controller while it started, then succeeded on retry. Three in the window is the starting point: lower it if your gateways rarely change.
  • Not included: kgateway_routing_replacements_total (routes replaced with a 500 because of invalid configuration) and the per-client snapshot counters. kgateway 2.5 did not emit them for any fault produced here, and a check on a metric that never appears cannot fire.