Nantian Gateway — Kubernetes Gateway API

Kubernetes Gateway API control plane with a Rust data plane

Standard Gateway API routing · Go control plane · gRPC/xDS · Experimental AI and Wasm extensions

GitHub

Why Nantian Gateway

Next-generation API gateway for the cloud-native era, combining Go ecosystem with Rust performance

Split-Plane Architecture

The Go control plane watches Kubernetes cluster state, translating Gateway, HTTPRoute, and Service resources into an internal routing model. The Rust data plane receives runtime snapshots via gRPC/xDS and handles every request with zero GC pauses. Both planes scale independently.

Native Gateway API Support

Full implementation of Kubernetes Gateway API v1.5.1 with 55 declared conformance features. Supports GatewayClass, Gateway, HTTPRoute, GRPCRoute, TLSRoute, and more. API-compatible with Envoy Gateway, Istio, and other major implementations for minimal migration cost.

Extreme Performance & Efficiency

The Rust data plane delivers tens of thousands of QPS per core with no GC and zero-cost abstractions. Memory usage is 60-80% lower than traditional Go/Java gateways, with millisecond startup times. Built-in connection pooling, zero-copy forwarding, and async I/O are battle-tested in production.

Experimental AI Gateway

Built-in AIService and TokenPolicy resources unify API endpoints and credentials across multiple model providers (OpenAI, HuggingFace, etc.). Token-based rate limiting and quota management provide a single traffic entry point for AI applications, reducing multi-model integration complexity.

Extensible Wasm Plugin System

WasmPlugin resources support URL, ConfigMap, or inline module sources. Plugins bind to specific Gateways or Routes for custom authentication, traffic coloring, request rewriting, and more — hot-loadable without restarting the gateway process.

Production-Grade Operations

Admin API for runtime configuration queries and debugging. Built-in Prometheus metrics endpoints and Grafana dashboard templates. Health and readiness probes. One-click Helm Chart deployment with flexible Kustomize overlays for environments from bare metal to Kubernetes.

Performance Benchmarks

  • 30,000+ QPS per core with P99 latency under 5ms
  • Memory footprint starts at 15MB — 80% lower than comparable Go gateways
  • Startup time under 50ms with hot-reload for config and plugins
  • 10,000+ concurrent connections with zero-copy forwarding

Community & Ecosystem

  • Apache 2.0 licensed — fully free for commercial use
  • Active GitHub community — contributions welcome
  • API-compatible with Envoy Gateway, Istio, and other major implementations
  • Comprehensive documentation in English and Chinese, from getting started to production

Get Started with Nantian Gateway

Deploy in your Kubernetes cluster with a single Helm command. Gateway API standard, compatible with existing toolchains, up and running in 5 minutes.

View Quick Start →

Quick Start in 5 Minutes

One Helm command to install, one HTTPRoute resource to route traffic

① Install the Gateway

Terminal

              
              helm repo add nantian-gw https://chart.nantian.dev
            
              
              helm repo update
            
              
              helm install nantian-gw nantian-gw/nantian-gw --namespace nantian-gw --create-namespace
            

② Create Your First Route

httproute.yaml

              apiVersion: gateway.networking.k8s.io/v1
            
              kind: HTTPRoute
            
              metadata:
            
                name: my-app
            
              spec:
            
                parentRefs:
            
                - name: nantian-gw
            
                rules:
            
                - matches:
            
                  - path:
            
                      type: PathPrefix
            
                      value: /api
            
                  backendRefs:
            
                  - name: my-service
            
                    port: 8080
            

Architecture

Split-plane control plane and data plane communicating over gRPC xDS

Nantian Gateway Architecture Diagram

Why Nantian Gateway?

How Nantian compares to other Gateway API implementations

FeatureNantian GatewayEnvoy GatewayTraefikNGINX Gateway
Gateway API ✅ v1.5.1
Control Plane Go Go Go Go
Data Plane Rust 🦀 C++ Go NGINX C
AI Gateway ✅ Experimental ✅ (AI Gateway)
Wasm Plugins ✅ Experimental
Helm Chart
License Apache 2.0 Apache 2.0 MIT Apache 2.0

Nantian's key differentiator: Rust data plane for memory safety and high concurrency, plus native AI Gateway capabilities to manage LLM provider traffic without extra components.

Use Cases

From Kubernetes Ingress to AI Gateway — one platform for every scenario

Kubernetes Ingress

Standard Gateway API compatible, replacing NGINX Ingress. Supports HTTP, gRPC, TCP, UDP, and TLS routing — no custom CRDs required.

AI API Gateway

Built-in AIService and TokenPolicy resources unify authentication, rate limiting, and routing across OpenAI, Anthropic, Hunyuan, and other model providers.

Wasm Edge Extensions

Inject custom logic into the data plane via WasmPlugin — request rewriting, authentication, observability — hot-loadable without restarting the gateway.

Multi-Cluster Traffic

gRPC/xDS protocol distributes routing snapshots. Decoupled control and data planes enable multi-cluster federation with independent scaling.

Quick Start

Add the Helm repository, install the gateway, then follow the full quick start

Terminal

        
            
            helm repo add nantian-gw https://chart.nantian.dev
            
          
            
            helm repo update
            
          
            
            helm install nantian-gw nantian-gw/nantian-gw --namespace nantian-gw --create-namespace