AI Agents on Kubernetes Clusters logopeterindia.net
Knowledge Hub

AI Agents on Kubernetes Clusters

How to run agents as ordinary cluster workloads with kagent, put agents to work on cluster operations, give them tools through MCP, and govern them with the controls Kubernetes already has.

53 topics•8 categories•Updated October 2026

Why Run Agents on Kubernetes

4 entries

Kubernetes already provides what agents need to run safely at scale: declarative resources kept in Git, role-based access control, namespaces, service identity and network policy, autoscaling and a mature observability stack. The kagent project treats agents as ordinary cluster workloads that teams deploy, observe and govern with kubectl, GitOps, RBAC and a service mesh. There are two related uses: running agents on a cluster, and using agents to operate the cluster itself.

kagent: Kubernetes-Native Agent Runtime

11 entries

kagent is an open-source runtime for AI agents on Kubernetes, created at Solo.io and now a CNCF Sandbox project under the Apache 2.0 licence. According to its site, a control plane manages Agent and Session custom resources, agents are declared and versioned in Git, tools are exposed through an MCP layer, and agents can delegate to each other over A2A. It offers Go and Python agent runtimes and works with frameworks such as LangGraph, CrewAI and Google ADK. It emits OpenTelemetry traces and Prometheus metrics, can use Istio or Ambient Mesh for mTLS and egress policy, stores state in Postgres, and supports model providers including OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock, Vertex AI, Ollama and Hugging Face. The quick install downloads a script from the repository and pipes it to bash, so read it first.

Agents That Operate the Cluster

8 entries

Agents and assistants that diagnose problems, explain errors and, with approval, change cluster state.

Kubernetes MCP Servers

6 entries

MCP servers let any MCP-capable agent query and manage clusters. Prefer read-only modes and scoped credentials.

Gateways, Protocols & Sandboxes

8 entries

Controlling how agents reach tools, models and each other, and isolating what they run.

Serving Models on the Cluster

4 entries

Running the models the agents call on your own GPUs.

Observability, Security & Governance

7 entries

Treat agents like any workload that can cause harm: trace what they did, limit what they can touch, and require approval for risky actions.

Related Pages

5 entries

Neighbouring pages on this site.

Frequently Asked Questions

What is kagent?

An open-source, Kubernetes-native runtime for AI agents, created at Solo.io and a CNCF Sandbox project. Agents are declared as custom resources, use tools through MCP, can call other agents over A2A, and run with the cluster's existing RBAC, GitOps and observability.

What is the difference between running agents on Kubernetes and using agents to manage Kubernetes?

The first treats agents as workloads you deploy and govern, which is what kagent targets. The second uses agents such as K8sGPT or HolmesGPT to diagnose and fix the cluster. Many teams do both.

How do I keep an agent from damaging a cluster?

Give its service account the least privilege needed, start with read-only tools, limit it to specific namespaces, require human approval for writes, restrict network egress, and keep an audit trail with traces and logs. Test in a non-production cluster first.

Do I need MCP?

Not strictly, but MCP is the common way to give agents tools. Several MCP servers expose Kubernetes operations, and kagent has a controller for building and deploying MCP servers.

Can I run my own models on the cluster?

Yes. KServe and llm-d serve models on Kubernetes, and kagent supports local providers such as Ollama as well as hosted ones.

How current is this page?

Links and project activity were checked in October 2026. Agent tooling on Kubernetes is young and moves fast, many projects are early, and descriptions summarize each project's own documentation rather than ranking them. Agents act on live clusters, so test in a non-production cluster first.