agentgateway, llm-d and vLLM: Kubernetes inference setup

Learn to route Kubernetes inference through agentgateway, llm-d and vLLM, then test a kagent request. The demo uses an AKS cluster.

Player not loading? Watch on YouTube

This tutorial builds a self-hosted inference stack on Kubernetes with agentgateway, llm-d and vLLM, then sends a request through kagent. The speaker explains the intended traffic path: the agent calls the gateway, which routes to an inference pool backed by model-serving pods. He describes llm-d's endpoint picker as the component that selects a backend according to load.

The walkthrough starts with the Kubernetes Gateway API CRDs, inference extension, agentgateway and kagent already installed. It then applies a namespace and deploys vLLM model servers. The speaker says the chosen container image supports AMD and Intel architectures. His demo runs on an AKS cluster, and he warns that its resources can be expensive and should be shut down after the lab.

A Helm chart installs the inference pool together with the endpoint picker deployment and service. Labels connect the pool to the model pods. The next steps configure an inference objective, a Gateway and an HTTPRoute, followed by kagent's model and agent configurations. The OpenAI-compatible model configuration must use the same model name as the vLLM server.

The final check sends a prompt through the kagent UI and inspects pod logs. The speaker uses the response and logs to confirm that the request passed through the gateway; the demo does not benchmark routing performance under load.