dozzle

by QuenchWorks

Helm chartv0.0.2App 11.4.3MITVerified publisher

Dozzle: a real-time log viewer for Kubernetes pods (reads logs through the API), with simple auth and a generated password on by default. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks Dozzle

Hardened Dozzle, a real-time log viewer. This chart runs it in Kubernetes mode: it streams pod logs through the API with a read-only ClusterRole, with search and a web UI. The image is one CGO-free Go binary built from source with its UI embedded; it runs as uid 1001 and is CVE-gated at build, cosign-signed and pinned by digest.

Install

helm install logs oci://ghcr.io/quenchworks/charts/dozzle
kubectl get secret logs-dozzle-auth -o jsonpath='{.data.password}' | base64 -d
kubectl port-forward svc/logs-dozzle 8080

Upstream's default is no login at all. This chart turns on simple auth with one user whose bcrypt hash Helm renders into users.yml; the generated password is kept across upgrades.

Configuration

KeyDefaultWhat it does
auth.enabled, auth.username, auth.passwordtrue, admin, generatedSimple auth with one user
namespaces[] (all)Namespaces to watch (DOZZLE_NAMESPACE)
enableActionsfalseRestart from the UI (deletes the pod; adds delete on pods to the role)
settings{}More DOZZLE_* env

The image also runs against a Docker socket outside Kubernetes. Its embedded agent key pair is generated per build, unlike upstream's shared pair, so remote Dozzle agents need matching certificates mounted.

Verify the image

cosign verify ghcr.io/quenchworks/images/dozzle \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Deploy dozzle with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dozzle 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdozzle is pinned at v0.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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