Menu
The New Stack·October 16, 2026

Kubernetes Evolution for AI Agents: Addressing Scalability and Compliance

This article discusses the evolving role of Kubernetes as the operating system for AI, particularly in handling the traffic demands of AI agents. It highlights challenges like increased request volume and latency requirements, and explores emerging projects and architectural shifts to address these. The piece also touches on critical operational aspects like Kubernetes compliance ownership and the strategic decision of when *not* to use Kubernetes.

Read original on The New Stack

Kubernetes as the Operating System for AI Agents

The article emphasizes that Kubernetes is increasingly serving as the foundational layer for AI workloads, acting as an "operating system for AI." However, the nature of AI agents introduces new architectural challenges. A single human request can now trigger approximately 20 agent requests, which demand sub-200-millisecond responses. This contrasts sharply with the typical one-second pod spin-up guarantee in Kubernetes, creating a significant performance gap that requires new solutions and optimizations.

Emerging Solutions for AI Agent Workloads

  • llm-d: A project designed for distributed LLM inference, aiming to optimize the execution of large language models across a cluster.
  • Agent Substrate: A runtime specifically built for managing and deploying large-scale AI agent workloads, addressing the unique orchestration and performance needs.
  • kagent: A CNCF sandbox project that allows running AI agents as Kubernetes custom resources, simplifying their deployment and management within the Kubernetes ecosystem. It supports various models and providers, enabling agents to build other agents while enforcing security through RBAC and human approval.

Architectural Shifts: Infrastructure as Data and Compliance

The rise of AI agents is driving an architectural shift from "infrastructure as code" to "infrastructure as data." This involves representing infrastructure as a queryable graph of resources, dependencies, ownership, environments, and policies. This approach helps AI agents consume infrastructure information more efficiently and introduces stronger "guardrails" for security and control, which become crucial as more automation and agents are introduced. Additionally, the article highlights the often-unclear ownership of Kubernetes compliance, advocating for "traceability chains" to define responsibilities across risk, legal, security, platform, and application teams for regulatory frameworks like NIS2 and DORA.

💡

When Not to Use Kubernetes

An important takeaway is the concept of "infrastructure theater" — building for the *appearance* of scale rather than the *reality*. The article provides a case study where an ingestion system processing nearly a million events daily with bursty traffic scaled effectively by addressing fundamental system design issues (connection pool exhaustion, cache stampedes, slow queries) using Docker, but without Kubernetes. This underscores the principle of solving actual problems rather than assuming the need for complex orchestration for every scaling challenge.

KubernetesAI AgentsScalabilityCloud-NativePlatform EngineeringComplianceDistributed SystemsInfrastructure as Code

Comments

Loading comments...