App template
OpenClaw
A personal AI assistant that connects to WhatsApp, Telegram, Slack, Discord and more.
- Memory when idle
- about 950 MiB
- CI measures it once the app is ready and before any traffic. Leave room for more.
- Tested on
- x86 servers
Introduction
OpenClaw is a personal AI assistant. A Gateway runs the assistant, and a web Control UI lets you chat with it and manage it. It can also connect to chat apps such as WhatsApp, Telegram, Slack and Discord.
This template runs one Gateway behind your domain. It uses the OpenAI-compatible provider that you entered in the install form.
Values you provide
Provider API key secretRequired
Pre-existing Secret in this namespace containing the model provider API key in key api-key.
API base URLRequired
OpenAI-compatible HTTPS API base URL; public network on TCP 443 only.
ModelRequired
Model identifier for the configured compatible provider.
Made for you
These values are generated at deploy and kept in a Kubernetes Secret, shown as Secret/key.
- openclaw-secrets/gateway-token
Getting started
-
In Zeabur OSS, open the
openclawservice. When Overview shows its replica as ready, the service is up. Its domain is on the Networking tab under Public domains. It is the domain you entered in the install form, for exampleopenclaw.example.com. -
The sign-in screen has a Gateway secret field. Paste the gateway token into it. Get the token from the
openclawservice: open Variables, clickopenclaw-secretsunder From config files and secrets, and click the eye icon next togateway-token. Without Zeabur OSS, read Secretopenclaw-secrets, keygateway-token, with kubectl:kubectl -n <namespace> get secret openclaw-secrets -o jsonpath='{.data.gateway-token}' | base64 -d -
A new browser shows
disconnected (1008): pairing requireduntil you approve it once. Keep the page open. Click Terminal at the top of theopenclawservice page, list the requests, and approve yours. The page connects by itself after you approve:node /app/openclaw.mjs devices list node /app/openclaw.mjs devices approve <requestId> -
The model provider is the base URL, the model and the API key from the install form. The API key is in the Secret that you named in the form, key
api-key. It is not inopenclaw-secrets. To see it, open Variables on theopenclawservice and click that Secret.
Configuration
Change the provider API key
On the openclaw service, open Variables and click the Secret you named in the install form. Enter a new value for api-key, review and apply, then click Restart at the top of the service page so the Gateway reads the new value.
The base URL and the model are written to the Gateway’s configuration file on the first start only. Changing the install form later does not change them.
Remove a paired browser
Click Terminal at the top of the openclaw service page. List the paired devices, then remove the one you no longer use:
node /app/openclaw.mjs devices list
node /app/openclaw.mjs devices remove <deviceId>
See Connect and pair in the OpenClaw docs.
Troubleshooting
The page shows 502 or does not load
In Zeabur OSS, open the openclaw service. Check that Overview shows its replica as ready, then read the Logs tab. If the replica keeps restarting, open Deployments, then Events. If the events show OOMKilled, raise Maximum memory in Settings → Compute. See Adjust replicas, resources, and health checks and View logs, events, and usage, and open a terminal.
If the service is slow or keeps reconnecting, check the same things.
If the domain or its certificate stays pending, see Add public domains and HTTPS.
Another browser asks for pairing
Each browser profile pairs on its own, and one profile cannot reuse the approval of another. Approve each profile once with devices approve in the Terminal, and remove old entries with devices remove. See Connect and pair in the OpenClaw docs.
All models failed or the provider returns an error
OpenClaw sends model requests to the base URL and model from the install form. Check these:
- The model name exists at your provider. A wrong name is a common cause.
- The API key in the Secret you named in the install form (key
api-key) is valid and has not hit a rate limit or a quota at the provider. - The base URL is the HTTPS address of an OpenAI-compatible API.
Open the Logs tab of the openclaw service to read the error that the provider returned. The base URL and the model are read from the install form on the first start only. To change them later, use the Config tab of the Control UI. The base URL is models.providers.custom.baseUrl. The model name is set in models.providers.custom.models and in agents.defaults.model.primary. See Model providers and Configuration in the OpenClaw docs.
Resources
Each service is guaranteed the first amount and can use up to the second.
openclaw
Ports
18789
CPU
0.5 cores to 2 cores
Memory
1 GiB to 4 GiB
Technical details
This release
- Version
- 2026.10.7
- Licence
- MIT
- Homepage
- github.com
- Source file
- templates/openclaw/template.yaml @ v0.6.3
Tested in CI
CI installs these exact files on a new cluster, waits until they are ready, then records the idle memory.
| Distribution | Platform | Kubernetes | Passed | Idle memory |
|---|---|---|---|---|
| kind | linux/amd64 | v1.37.0 | 946 MiB |
Security
OpenClaw runs without root rights, with a read-only root filesystem, the strictest Kubernetes pod security profile and no Kubernetes token. Traffic comes in over HTTPS. Outbound traffic is not limited.
Known risks
Risk
The AI assistant can run commands and read everything its pod can reach, including its state and model credentials. Pod security settings do not stop prompt injection, where a hostile message tricks the assistant into acting.
How it is handled
Use one trusted owner per namespace and gateway. The pod has no host mounts, no service-account token and no Docker socket, and its resources are limited. Do not share it with users you do not trust.
Risk
The agent's state and channel credentials are stored together on one PVC (one data volume).
How it is handled
Stop writes, then make encrypted backups outside the cluster of the whole PVC, the gateway Secret and the provider Secret. A node-local StorageClass has no high availability and no volume snapshots.
What the cluster needs
Zeabur OSS suggests the components a cluster is missing. Without it, install them first.