Kubernetes settings reference
Every setting of a Topic’s Kubernetes tab, of an Agent’s Kubernetes tab and of a Kubernetes profile. The same texts are shown in the editor when you point at a setting.
How to read this page
-
Default is what a new Topic gets. Values marked installation come from the installation’s settings (the
K8S_TOPIC_*andK8S_GRAPHRAG_*variables on the page Kubernetes installation) and are copied into the Topic when it is created. A later change of the installation’s value does not reach existing Topics — Reset to default on the tab takes the current values. -
Not set (
null, or the key left out) means: the installation’s value, else the built-in value. Empty ("",{},[]) is a value of its own, for example"cpuLimit": ""= no limit. -
A key the format does not know is refused with its place, for example "`resources.chat.cpuLimt` is not a known setting". So a typo never silently does nothing.
-
Every change takes effect with a restart of the Topic.
-
Values that the installation’s administrator limited (servers, CPU, memory, disk) are refused above the limit, with the limit in the message.
Primary and chat servers. Settings with a primary and a chat part can differ between the two kinds of
servers. The primary server answers chats and is the only one that takes uploads, so it may need more memory.
The chat servers exist only with two or more servers; with one server, the chat part is not used.
Agents use the same format with a few differences:
-
All servers of an Agent are the same, so only the
chatpart counts:resources.chatandplacement.chatset every server. Default number of servers, sizes and shutdown wait: theK8S_AGENT_*variables of the installation, copied into the Agent when it is created. -
Only Agents have
availability.shutdownSecondsand thetoolssettings (see below); a Topic refuses them. -
An Agent refuses
resources.primary,placement.primary,resources.tmp,availability.maxSurge,availability.primaryGraceSeconds,securityand the proxy settingsegress.httpProxy,egress.httpsProxy,egress.noProxyandegress.caBundleConfigMap. They are left out of an Agent’s editor. -
An Agent’s readiness check starts after
10seconds, and its checks use the address/actuator/health. -
An Agent may scale automatically from one server on (a Topic needs at least two).
scaling — how many servers
Kubernetes: the replicas of the Deployments and, when the maximum is above the minimum, a HorizontalPodAutoscaler for the chat servers.
| Setting | What it does | Default |
|---|---|---|
|
How many servers run at least. 1 is enough for testing and few users. More servers answer more users at the same time and keep the chat available while one restarts. Each server needs its own CPU and memory. |
|
|
How many servers may run at most. Equal to the minimum: always exactly that many. Higher: more servers start when the processors are busy, and stop again later. More than the minimum needs a minimum of at least 2 and the cluster’s metrics server. |
|
|
Only when the maximum is above the minimum: how busy the processors may be, in percent, before another server starts. Lower: servers start earlier and the chat stays fast, but the Topic uses more of the cluster. Higher: fewer servers, slower under load. |
|
|
Only when the maximum is above the minimum: how many seconds the load must stay low before a server is stopped again. Longer: fewer starts and stops when the load goes up and down. Shorter: the cluster gets its resources back sooner. |
|
resources — CPU, memory, disk
Kubernetes: resources.requests and resources.limits of the container, the emptyDir at /tmp, and
JAVA_TOOL_OPTIONS. Each of resources.primary and resources.chat has these keys:
| Setting | What it does | Default |
|---|---|---|
|
Processor time reserved for the server, for example |
|
|
The most processor time the server may use, for example |
|
|
Memory reserved for the server, for example |
|
|
The most memory the server may use, for example |
|
|
The most disk space the server may use on its machine, for example |
|
|
Share of the memory limit, in percent, that the program may use for its data (Java heap). Higher: more room for large uploads, but less for everything else, and the server can be stopped by the cluster for using too much memory. Not set: the program’s default. |
not set |
|
The largest size of the temporary folder, for example |
|
|
|
|
placement — where the servers run
Kubernetes: nodeSelector, tolerations, topologySpreadConstraints and priorityClassName of the pods.
Each of placement.primary and placement.chat has nodeSelector and tolerations.
| Setting | What it does | Default |
|---|---|---|
|
Labels a machine must have, for example |
|
|
Lets the servers run on machines that are reserved for special work (tainted machines). Empty ( |
|
|
How the servers are spread over machines and zones. |
|
|
Name of a priority class of the cluster. Servers with a higher priority are started first and stopped last when the cluster is full. Not set: the cluster’s default. |
not set |
availability — restarts and maintenance
Kubernetes: a PodDisruptionBudget, the rolling update of the chat servers, a preStop wait and the
terminationGracePeriodSeconds of the primary server.
| Setting | What it does | Default |
|---|---|---|
|
How many servers the cluster may stop at the same time for maintenance, for example |
not set |
|
How many extra servers may start during a restart, so the chat stays available. Higher: faster restarts, but more resources for a short time. |
|
|
Seconds a server waits before it shuts down, so the cluster stops sending it new chats first. 5 is usually enough. 0: no wait. |
|
|
Seconds the primary server gets to finish a running upload or community rebuild when it is stopped. Longer: fewer interrupted uploads, but a restart can take that long. |
|
|
Agents only. Seconds a server gets to finish its running chats and scheduled run when it is stopped or replaced, for example during a restart. 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. Kubernetes: |
|
metadata — labels and annotations
| Setting | What it does | Default |
|---|---|---|
|
Extra labels on every server, for example |
|
|
Extra annotations on every server, for tools of the cluster. |
|
|
Extra annotations on the Topic’s network addresses (Services), for example for a load balancer. |
|
observability — metrics and traces
| Setting | What it does | Default |
|---|---|---|
|
|
not set |
|
|
|
|
Address that receives traces (OpenTelemetry), for example |
not set |
image — the program version
| Setting | What it does | Default |
|---|---|---|
|
A different program version for this Topic only, for example for a test. Must be the same product and the same major version as the installation’s. Not set (recommended): the installation’s version. |
not set |
|
When the cluster loads the program again: |
|
|
Names of the cluster’s access secrets for a private registry, for example |
|
env — extra environment variables
| Setting | What it does | Default |
|---|---|---|
|
Extra environment variables for every server, as name and value. Names that this application sets itself are refused (for example everything starting with |
|
security — how the servers run
| Setting | What it does | Default |
|---|---|---|
|
Name of a service account the servers run under, for example for access to cloud services. Not set: none. The models are not called with it. |
not set |
|
|
|
|
|
|
|
Name of a runtime class of the cluster, for example for sandboxed containers. Not set: the cluster’s default. |
not set |
egress — the way out of the cluster
| Setting | What it does | Default |
|---|---|---|
|
Proxy for addresses reached with http, for example |
not set |
|
Proxy for addresses reached with https (most cloud model services), for example |
not set |
|
Addresses reached without the proxy, separated by commas, for example |
not set |
|
Name of a ConfigMap in this application’s namespace with extra certificates (PEM files) the servers trust, for example of a company proxy that inspects https, or of a model server with its own certificate authority. Every file in it must hold at least one certificate; otherwise the servers do not start. Not set: only the usual public authorities are trusted. |
not set |
|
Fixed addresses for host names that the cluster’s name service does not know. Each entry has |
|
|
Addresses of name servers to ask. |
not set |
|
Domains tried after a short host name. |
not set |
|
Options of the name service, for example |
not set |
The chat history database and graph databases are reached directly, never through the proxy. With TLS they are checked against the extra certificates too.
chatHistory — the chat history database
| Setting | What it does | Default |
|---|---|---|
|
Database connections each server keeps for the chat history. Higher: more chats at the same time without waiting. All servers of a Topic together (maximum servers × pool size) must stay within the database login’s limit ( |
not set installation |
probes — health checks
Kubernetes: the startupProbe, readinessProbe and livenessProbe of the container. Each of probes.startup,
probes.readiness and probes.liveness has these keys; a check that leaves a key out keeps its built-in value.
The readiness check decides whether a server gets chats, the liveness check whether it is restarted. The
startup check (not set: none) gives a slow-starting server time before the other two begin.
| Setting | What it does | Default |
|---|---|---|
|
Seconds after the start before the first check. |
readiness |
|
Seconds between two checks. |
readiness |
|
How many failed checks in a row count as failed. Higher: more patient, slower to react. |
readiness |
|
Seconds a single check may take. |
not set |
An Agent’s checks use the same keys; its readiness check starts after 10 seconds.
The startup check’s keys are probes.startup.initialDelaySeconds, probes.startup.periodSeconds,
probes.startup.failureThreshold and probes.startup.timeoutSeconds; the readiness check’s
probes.readiness.initialDelaySeconds, probes.readiness.periodSeconds, probes.readiness.failureThreshold,
probes.readiness.timeoutSeconds; the liveness check’s probes.liveness.initialDelaySeconds,
probes.liveness.periodSeconds, probes.liveness.failureThreshold and probes.liveness.timeoutSeconds.
tools — the helper pods of an Agent’s tools
Agents only. An MCP Docker module runs its MCP server in a pod of its own (one per module and server of the
Agent), a Python Script module each run in a short-lived pod (a Job). These settings size them; not set, the
Agent’s built-in sizes apply. The limits of this installation apply to these pods too. Kubernetes: the Agent’s
environment variables K8S_MCP_*, K8S_PYTHON_SCRIPT_* and CYROCK_MCPDOCKER_STREAMS.
| Setting | What it does | Default |
|---|---|---|
|
Processor time reserved for each pod, for example |
MCP Docker |
|
The most processor time each pod may use, for example |
MCP Docker |
|
Memory reserved for each pod, for example |
MCP Docker |
|
The most memory each pod may use, for example |
MCP Docker |
|
How many chats one MCP Docker pod serves at the same time, each with its own copy of the MCP server. Higher: more chats use the tool at once, but the pod needs more memory. Lower: chats wait for the tool. |
|