The Kubernetes tab of an Agent
This page describes the Kubernetes tab of an Agent. It decides how the Agent runs in the cluster: how many servers answer its chats, how much CPU and memory each one gets, on which machines they run, and how large the helper pods of its tools are. The tab is shown only when AI Knowledge Fabric runs on Kubernetes. It works like the Kubernetes tab of a Topic; this page says what is different for an Agent.
1. What a new Agent gets
Creating an Agent is only about its pipelines. The dialog asks nothing about servers or sizes. Every new Agent on Kubernetes gets the settings of this installation: its number of servers and its CPU and memory, copied into the Agent. The tools get the Agent’s own built-in sizes.
Come to this tab later, for example when:
-
more people chat with the Agent at the same time and the answers get slow,
-
the Agent must keep answering while one of its servers is replaced,
-
its tools (MCP Docker modules, Python Script modules) need more memory,
-
a running chat or scheduled pipeline needs more than 20 minutes to finish when the Agent is restarted.
2. The servers of an Agent
Every server of an Agent is the same: each one answers chats, and the first server also runs the scheduled
pipelines (Scheduler modules). So a scheduled pipeline never runs twice. There is no primary server as for a
Topic, so an Agent’s settings have one size and one placement for all servers: resources.chat and
placement.chat.
| One server (default) | Two or more servers | |
|---|---|---|
Chats at the same time |
Few |
More — the chats are shared by all servers |
A restart of the Agent |
The Agent does not answer for about a minute |
The servers are replaced in groups; the Agent keeps answering |
Scheduled pipelines |
Run on this server |
Run on the first server only |
MCP clients over SSE ( |
Work |
Do not work reliably; use the streamable HTTP address ( |
With scaling.maxServers higher than scaling.minServers, the cluster starts more servers when the servers
are busy, and stops them again later. Unlike a Topic, an Agent can do this from one server on. This needs the
metrics server of the cluster.
3. Settings only Agents have
| Setting | What it does |
|---|---|
|
Seconds a server gets to finish its running chats and scheduled run when it is stopped or replaced, for example by a restart or a pipeline change. Longer: long answers can finish, but a stop or a pipeline change takes that long. Shorter: quicker restarts, but long answers are cut off. A run waiting for an approval always ends at once. Default: |
|
CPU and memory of each pod that runs the MCP server of an MCP Docker module. Each server of the Agent starts its own pod per module. Not set: |
|
How many chats one MCP Docker pod serves at the same time. Higher: more chats use the tool at once, but the pod needs more memory. Lower: chats wait for the tool. Not set: |
|
CPU and memory of each run of a Python Script module, which runs in a short-lived pod of its own. Not set: |
The limits of this installation (at most this much CPU or memory) apply to the tools' pods as well.
Settings an Agent does not use are refused when you check or save: everything about a primary server
(resources.primary, placement.primary, availability.primaryGraceSeconds), availability.maxSurge,
resources.tmp, the security settings and the proxy settings (egress.httpProxy, egress.httpsProxy,
egress.noProxy, egress.caBundleConfigMap). egress.hostAliases and egress.dnsConfig work for Agents too.
Log levels can be raised with SPRING_APPLICATION_JSON in env, but not to DEBUG or TRACE for the
model and tool libraries (com.google.adk, dev.langchain4j, io.modelcontextprotocol) or for everything
(root): at that level the Agent writes prompts, answers and tool arguments into its log.
Every setting is described in the Kubernetes settings reference.
4. Working with the tab
The tab has the same parts as a Topic’s: Profile and Load, the editor, Check, Reset to default, Save, Effective values and Not applied yet. The Profile list shows only profiles made for Agents (Admin → Kubernetes Profiles); a Topic’s profile describes a primary server an Agent does not have.
|
Settings take effect only with a restart, and a restart cuts off the chats running on the Agent. A stopped Agent uses them at its next start. On a running Agent, the tab asks after Save. If you change pipelines at the same time, both take effect in one restart. |
5. Who may change it
-
Seeing the tab needs View Agents.
-
Changing it needs Edit Agents and Manage Kubernetes Settings. Without both, the editor is read-only.
6. Agents from an older version
An Agent created before this tab existed has no settings of its own yet. The tab shows the default settings with the CPU and memory the Agent had on its Configuration tab. They are stored at the next start of the Agent, so nothing changes for it. The CPU and memory fields are no longer on the Configuration tab.