beszel
by QuenchWorks
Beszel: lightweight server monitoring, a hub (PocketBase plus a web UI) with the first admin created at install and an optional agent DaemonSet from the same image. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.
About this chart
Quenchworks Beszel
Hardened Beszel, lightweight server monitoring: a hub (PocketBase plus a web UI) that collects CPU, memory, disk, network and container stats from small agents, with history and alerts. One image carries both binaries; it is built from source, runs as uid 1001 and is CVE-gated at build, cosign-signed and pinned by digest.
Install
helm install mon oci://ghcr.io/quenchworks/charts/beszel --set [email protected]
kubectl get secret mon-beszel-admin -o jsonpath='{.data.password}' | base64 -d
kubectl port-forward svc/mon-beszel 8090
Beszel creates the PocketBase superuser and an admin user from admin.email and the generated
password on its first start, so the hub has no open first-run page.
Agents on the nodes
The agent runs from the same image (/usr/bin/beszel-agent) as an optional DaemonSet with the host
network and host PID. After the first sign-in, open "Add system", put the hub's public key and the
token in a Secret, then:
kubectl create secret generic beszel-agent --from-literal=key='ssh-ed25519 AAAA...' --from-literal=token='...'
helm upgrade mon oci://ghcr.io/quenchworks/charts/beszel --reuse-values \
--set agent.enabled=true --set agent.existingSecret=beszel-agent
Configuration
| Key | Default | What it does |
|---|---|---|
admin.email, admin.password | [email protected], generated | First superuser and admin, created on the first start |
agent.enabled, agent.existingSecret | false, "" | Agent DaemonSet and the Secret with its key and token |
settings | {} | More hub env (APP_URL, ...) |
persistence.size | 2Gi | PocketBase data volume |
Uploads and CVE-2023-36308
PocketBase thumbnails uploaded images with disintegration/imaging 1.6.2, which has no fixed
release for CVE-2023-36308. The image's golang.org/x/image rejects the crafted palettes that
trigger it and imaging's palette table is patched at build time; the image's VEX statement records
the evidence.
Verify the image
cosign verify ghcr.io/quenchworks/images/beszel \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Deploy beszel with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has beszel on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartbeszel is pinned at v0.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply