Skip to content

Glossary

This page defines the core terminology used in Nantian Gateway documentation and the broader Kubernetes Gateway API ecosystem. Refer back here when you encounter an unfamiliar term.

TermDefinition
GatewayClassCluster-scoped resource defining a gateway controller implementation. Infrastructure providers configure GatewayClass to register their controller with the cluster.
GatewayRequest entry point that defines listeners (ports and protocols). Cluster operators create Gateway resources to specify where traffic enters the cluster.
HTTPRouteHTTP request routing rules that match requests by host, path, headers, or query parameters and forward them to backend services. Application developers manage HTTPRoute resources.
GRPCRoutegRPC request routing rules that match by service name and method name. Provides the same role separation as HTTPRoute but for gRPC workloads.
TCPRouteRoute resource for raw TCP traffic. Forwards TCP connections to backend Services without HTTP-level processing.
UDPRouteRoute resource for UDP datagrams. Forwards UDP packets to backend Services.
TLSRouteRoute resource for TLS-passthrough traffic. Forwards TLS connections to backend Services without terminating TLS at the gateway.
ReferenceGrantA policy resource that allows cross-namespace BackendRef references. Without a ReferenceGrant, a route can only reference Services in the same namespace.
TermDefinition
BackendTLSPolicyPolicy resource that configures TLS settings for connections between the gateway and backend Services. Controls certificate verification, trusted CAs, hostname validation, and TLS version constraints.
BackendLBPolicyPolicy resource that configures load balancing algorithm, circuit breaker thresholds, session persistence, and connection limits for backend connections.
ListenerSetExperimental Gateway API resource that allows independent teams to attach listeners to a shared Gateway without modifying the Gateway resource itself. Each ListenerSet specifies its own listeners, TLS configuration, and allowed routes.
TermDefinition
AIServiceCustom resource (gateway.nantian.dev/v1alpha1) that defines an AI model provider target — including endpoint URL, authentication credentials, model name, and provider type (OpenAI, Anthropic, Ollama, etc.).
TokenPolicyCustom resource (gateway.nantian.dev/v1alpha1) that attaches token-based rate limits or request quotas to a Gateway API target. Supports per-user, per-model, and global scopes.
WasmPluginCustom resource (gateway.nantian.dev/v1alpha1) that binds a WebAssembly module to a target resource (Gateway, Route, or Backend). Plugins can intercept and modify requests and responses without restarting the gateway.
TermDefinition
Control PlaneThe management component that watches Kubernetes resources, translates them into internal configuration, validates and reports status, and pushes configuration snapshots to data plane instances. Written in Go.
Data PlaneThe proxy component that handles live client traffic: TLS termination, routing, rate limiting, authentication, and request forwarding. Written in Rust using the Pingora framework.
Split-Plane ArchitectureArchitecture pattern where the control plane and data plane run as independent processes. They communicate over gRPC (not shared memory), allowing independent scaling, separate release cycles, and different technology stacks.
IR (Intermediate Representation)Nantian Gateway’s internal routing model. The control plane translates Kubernetes Gateway API resources into a normalized IR format. The data plane converts IR into actual proxy configuration. IR is the decoupling layer between what should happen and how it happens.
xDSgRPC streaming protocol used by Envoy and Nantian Gateway for dynamic configuration distribution. The control plane pushes configuration snapshots to data plane instances over bidirectional streams. Each push is a full-state snapshot; the data plane skips versions it already runs.
TermDefinition
BackendRefReference to a backend Service that receives traffic matched by a route rule. Specifies the Service name, namespace, port, and optional weight for traffic splitting.
ListenerPort and protocol configuration on a Gateway. Each listener defines what traffic the gateway accepts, including optional TLS settings, hostname restrictions, and allowed route kinds.
Hostname IntersectionGateway API rule: a route attaches to a listener only when their hostname sets intersect. A listener with *.example.com accepts routes with hostnames like api.example.com or www.example.com.
Traffic SplittingDistributing requests across multiple backend Services based on weight. Defined through multiple backendRefs entries in a route rule, each with a numeric weight.
Circuit BreakerProtection mechanism that ejects failing backends from the load balancing pool. Configured via BackendLBPolicy with thresholds for consecutive failures, error rate, and ejection duration.
Session PersistenceEnsures requests from the same client are routed to the same backend. Configured via BackendLBPolicy, supporting cookie-based and header-based affinity.
Rate LimitingRestricts the number of requests a client or route can make in a given time window. Implemented through TokenPolicy for AI workloads and HTTP admission control for general traffic.
Retry BudgetControls how many retry attempts are allowed relative to total requests. Prevents retry storms from overwhelming backend services.
TermDefinition
Admin APIHTTP API exposed by the control plane and data plane for operational queries. Provides runtime state inspection, configuration dumping, health checks, and diagnostic information.
Helm ChartKubernetes packaging format used to install Nantian Gateway. The chart deploys the control plane, data plane, dashboard, RBAC, Services, and a default GatewayClass.
Kustomize OverlayRepository-local deployment manifests that customize the base Kubernetes configuration for specific environments (production, Kind, hostNetwork).
Nightly PipelineAutomated CI workflow that runs Gateway API conformance tests and data plane load tests every night. Results are published to the platform-release repository.
TermDefinition
Model ProviderAn AI service endpoint that the gateway proxies requests to. Each provider has a type (OpenAI, Anthropic, Ollama), an API base URL, and authentication credentials.
Token CountingTracking the number of tokens consumed by AI requests and responses. Used for rate limiting and cost attribution.
PII RedactionAutomatic detection and masking of personally identifiable information in AI request payloads before they reach the model provider.
Prompt CachingStoring and reusing responses for identical prompts to reduce API costs and latency.