The Kubernetes tab
This page describes the Kubernetes tab of a Topic and of a GraphRAG Topic. It decides how the Topic runs in the cluster: how many servers, how much CPU and memory each one gets, and on which machines they run. The tab is the same for both kinds of Topics. It is shown only when AI Knowledge Fabric runs on Kubernetes.
1. Why this is a tab of its own
Creating a Topic is only about RAG. The wizard asks nothing about servers, sizes or replication. Every new Topic on Kubernetes runs as one server with the sizes of this installation. That is enough for testing and for a few users.
Come to this tab later, when you know what the Topic needs, for example:
-
more people chat with the Topic at the same time and the answers get slow,
-
the chat must keep answering while a server restarts or a machine of the cluster fails,
-
the Topic must run on certain machines, for example on machines with more memory,
-
the Topic reaches the internet only through a company proxy.
2. One server or several
A Topic always has one primary server. It answers chats and is the only one that takes uploads and
changes the data. With more than one server, the others are chat servers: they only answer chats.
You decide only how many servers run (scaling.minServers and scaling.maxServers); which server
does what is handled for you.
| One server (default) | Two or more servers | |
|---|---|---|
Users at the same time |
Few |
More — the chats are shared by all servers |
A restart of the Topic |
The chat does not answer for about a minute |
The servers are replaced one after the other; the chat keeps answering |
A failing machine |
The chat stops until the server runs again elsewhere |
The other servers keep answering |
Uploads during a restart |
Not possible until the server runs again |
Not possible while the primary server restarts; chats go on |
Cluster resources |
One server’s CPU and memory |
Each server needs its own CPU and memory |
With scaling.maxServers higher than scaling.minServers, the cluster starts more chat servers when the
servers are busy and stops them again later (automatic scaling). This needs at least 2 servers as minimum and
the metrics server of the cluster.
3. Working with the tab
| Part | What it does |
|---|---|
Profile and Load |
Copies the settings of a profile (Admin → Kubernetes Profiles) into the editor. If the editor holds other settings, you are asked first. Load only fills the editor — the Topic changes when you click Save. The Topic keeps its own copy: a later change to the profile does not reach it. |
Editor |
The Topic’s settings as JSON. Point at a setting to read what it does. Ctrl+Space lists the settings you can add at the cursor. Syntax errors are underlined while you type. Every setting is described in the Kubernetes settings reference. |
Check |
Checks the settings with the same rules as Save and underlines every problem at its place. A list of the problems is shown below the editor. |
Reset to default |
Fills the editor with the default settings of this installation (one server). You are asked first. Nothing is saved until you click Save. |
Save |
Saves the settings. On a running Topic, you are then asked Restart now or Later. |
Loaded from profile |
Which profile was loaded last, and when. Changes you made afterwards are kept. |
Effective values |
Every value the servers run with, and where it comes from: This topic (the editor), Installation default or Built-in default. A setting you leave out of the editor takes the installation’s value. |
Not applied yet |
Shown while the Topic is running with other settings than the saved ones. Restart now applies them. |
|
Settings take effect only with a restart. A stopped Topic uses them at its next start. On a running Topic, the tab asks after Save. With one server the chat does not answer for about a minute; with several servers it keeps answering. |
4. Who may change it
-
Seeing the tab needs the permission to see the Topic (View Topics / View GraphRAG Topics).
-
Changing it needs the permission to edit the Topic (Edit Topics / Edit GraphRAG Topics) and Manage Kubernetes Settings. Without both, the editor is read-only.
Manage Kubernetes Settings is given to the ADMIN role only. An administrator can give it to other roles under Roles & permissions. More servers use more of the cluster, so give it only to people who may decide that.
5. Limits of this installation
The administrator of the installation can limit what a Topic may ask for, for example at most 4 servers or
at most 8Gi memory per server. Check and Save name the limit when a setting is above it. The limits
are described on the page Kubernetes installation.