App template
Uptime Kuma
Uptime monitoring, with its data on a volume.
- Memory when idle
- about 120 MiB
- CI measures it once the app is ready and before any traffic. Leave room for more.
- Tested on
- x86 servers
Introduction
Uptime Kuma watches your services and tells you when they go down. It also publishes status pages.
This template runs one Uptime Kuma instance behind your domain. Its data is on a volume. There is no generated password and no Secret.
Values you provide
You don’t fill in anything when you deploy.
Getting started
- In Zeabur OSS, open the
uptime-kumaservice. 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. - Open the domain right after the deploy. The first visitor sees the setup page and creates the owner account. Do this before anyone else does, because whoever visits first becomes the owner.
- Add your first monitor.
Configuration
Get notified when a monitor goes down
Add a notification in the settings and attach it to your monitors. Uptime Kuma supports many services, and Apprise adds more. See Notification Methods.
Publish a status page
A status page is meant for public users. It caches results for 5 minutes, so it updates more slowly than the dashboard. See Status Page.
Troubleshooting
The page shows 502 or does not load
In Zeabur OSS, open the uptime-kuma 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 domain or its certificate stays pending, see Add public domains and HTTPS.
Ping monitors fail
Ping monitors use unprivileged ICMP sockets, and the container has no NET_RAW capability. Whether ping works depends on how your cluster network handles ICMP. Use an HTTP, TCP or DNS monitor where ping fails.
You forgot the password
Click Terminal at the top of the service page and run the reset command, then follow the prompts:
npm run reset-password
Without Zeabur OSS, run it with kubectl:
kubectl -n <namespace> exec -it uptime-kuma-0 -- npm run reset-password
Resources
Each service is guaranteed the first amount and can use up to the second.
uptime-kuma
Ports
3001
CPU
0.1 cores to 2 cores
Memory
256 MiB to 1 GiB
Technical details
This release
- Version
- 2.5.11-rootless
- Licence
- MIT
- Homepage
- github.com
- Source file
- templates/uptime-kuma/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 | 118 MiB |
Security
The workloads live in their own namespace, run without root rights, use pinned image versions and have read-only root filesystems. They have no Kubernetes token and no extra Linux capabilities. Outbound traffic is not limited.
Known risks
Risk
The first visitor can claim an installation that is not set up yet.
How it is handled
Uptime Kuma has no environment variable or init step that creates the owner, so the template cannot do it at deploy time. Open the domain and create the owner account right after the deploy finishes. Until then, whoever visits first becomes the owner. The monitor page, the setup page and the status pages are open to anyone who can reach the domain, and only the application's own sign-in protects the rest. To limit who can reach it, add an IP limit in the service's network settings.
Risk
Someone could set a monitoring target that makes Uptime Kuma reach into your cluster or private network (an SSRF attack).
How it is handled
The template does not limit outbound traffic. Add an egress NetworkPolicy that allows only the destination range you approve. Never mount a Docker socket or turn on privileged monitoring.
Risk
Ping monitors use unprivileged ICMP sockets, set through the net.ipv4.ping_group_range sysctl. The container has no NET_RAW capability. Monitors that need raw sockets or the Docker socket do not work.
How it is handled
Check how your CNI handles ICMP. Use HTTP, TCP or DNS monitors where ping fails.
What the cluster needs
Zeabur OSS suggests the components a cluster is missing. Without it, install them first.