Kubernetes health for self-hosters

Your cluster's nanny.

A small agent in your cluster, an app on your phone. One light per cluster, and below it only what is broken: the cause, and the one action that usually fixes it.

  • 79 components recognised
  • iPhone, Android and web
  • End-to-end encrypted
  • No account, no telemetry
  • Open source, Apache-2.0
Kubernanny on a phone: the eye glowing red, "3 outages and 19 warnings", and the first problem with its logs, restart and silence buttons

Install

Running in a minute.

One Helm release in the cluster you want to watch. No account to create, no cloud in between, nothing to configure for the defaults.

Other ways:kubectl apply -f deploy/install.yaml, or an Argo CD Application.

No ingress? Port-forward the service: the agent serves the full web UI itself. Configuration

  1. Install the chart

    helm install kubernanny \oci://ghcr.io/kubernanny/charts/kubernanny \-n kubernanny --create-namespace
  2. Read its log

    kubectl -n kubernanny logs deploy/kubernanny

    It prints a QR code, a one-time pairing code (valid for an hour) and the agent's public key.

  3. Scan the QR code

    With your phone's camera, or open the link in a browser. Your device creates its own key pair, which never leaves it. That's the whole setup.

Just looking? Run the agent with a demo cluster on your laptop:

docker run --rm -p 8080:8080 -e DEMO=broken ghcr.io/kubernanny/agent

What it does

Knows your stack. Says only what matters.

Not another cluster browser: k9s and Lens are great for exploring. Kubernanny is for the moment your phone buzzes at 04:10, and for the glance before bed.

Recognises 79 components by their images

Longhorn, Argo CD, cert-manager, CloudNativePG, Prometheus, Loki, kured and the rest: found by the container images of their workloads, whichever chart, operator or namespace installed them.

  • Longhorn
  • Local Path Provisioner
  • Rook Ceph
  • OpenEBS
  • MinIO
  • NFS Provisioner
  • Argo CD
  • Argo CD Image Updater
  • Flux
  • Renovate
  • CloudNativePG
  • PostgreSQL
  • MariaDB / MySQL
  • Redis / Valkey
  • MongoDB
  • cert-manager
  • Prometheus
  • Alertmanager
  • Prometheus Operator
  • Grafana
  • Loki
  • Promtail
  • Grafana Alloy
  • Tempo
  • kube-state-metrics
  • Node Exporter
  • Blackbox Exporter
  • Uptime Kuma
  • Gatus
  • metrics-server
  • Traefik
  • ingress-nginx
  • CoreDNS
  • Cilium
  • Calico / Canal
  • Flannel
  • MetalLB
  • kube-vip
  • ExternalDNS
  • Cloudflare Tunnel
  • Tailscale
  • WireGuard
  • Pi-hole / AdGuard
  • Infisical
  • External Secrets
  • Sealed Secrets
  • Vault
  • Kyverno
  • Trivy Operator
  • OPA Gatekeeper
  • authentik
  • Keycloak
  • CrowdSec
  • kured
  • System Upgrade Controller
  • Descheduler
  • Reloader
  • Keel
  • Velero
  • K8up
  • VolSync
  • Rancher
  • Portainer
  • Harbor
  • Registry
  • Kubernanny
  • Nextcloud
  • Immich
  • Jellyfin
  • Plex
  • Home Assistant
  • Vaultwarden
  • Paperless-ngx
  • Gitea / Forgejo
  • Discourse
  • Weblate
  • pgAdmin
  • n8n
  • Mealie

deep check All components

Deep checks, not just pod status

Degraded Longhorn volumes, Argo CD apps with the broken resource, CNPG backup age, expiring certificates. Plus the community mixins' standard alerts, built in: etcd peer latency, disks filling up, overcommit, CoreDNS. Every check

The Longhorn detail sheet: version, healthy volumes, free disk, backups and the backup target

Only what is broken

No wall of green. Each problem says why, since when, and which action usually fixes it. A planned kured reboot is a warning; an Argo CD app waiting for its sync is a calm "ready to sync" note.

A list of problems, each with its cause, its age and the action that fixes it

Actions bound to issues

Restart, back up now, reconcile, renew, uncordon, clean up: offered only on an open problem, always confirmed first, with what exactly happens. A crash loop shows its logs first; after an OOMKill there is no restart button. The agent takes the target from its own check, never from the request.

A confirmation dialog before restarting a crashing deployment

End-to-end encrypted, on any path

Every call is a fresh Noise IK handshake between your device's own key and the agent's pinned key. VPN, LAN or plain HTTP: the path stops mattering.

Read the protocol

A switch for every module

Every check, action and connection switches off on its own. In the app it pauses; in Helm it is gone: no permission, no route, no connection.

What off removes

Reachable without a VPN

Switch on the relay and the agent dials out, no open port. The relay only passes sealed messages along: it can read none of them. Run your own, or use ours.

What the relay sees

Security hints and known vulnerabilities

Privileged containers, host access, missing limits. And, if you switch it on, the versions you run checked against OSV.dev, with the release that fixes them. The built-in lookup covers Kubernetes and well-known components only; every image, your own included, is covered when Trivy Operator runs in the cluster. A hint you live with on purpose is accepted in Git, with a reason, by an annotation on the workload.

Security checks

Calm for the long run

Silence a known problem for an hour or a week. Look back at every incident, check your backups at a glance, and get a weekly digest if you like.

Notifications

Notifications that wait five minutes

A problem is sent once it has lasted five minutes, so rollouts and planned reboots never wake you. Again if it turns critical, and once more when it is resolved. Straight to the app as a native push, sealed for your device so neither the relay nor Google can read it, and the home-screen widget updates with it. If the agent or the whole cluster goes silent, the relay sends the warning it holds sealed for your phone. Or to your own channels:

  • ntfy
  • Discord
  • Slack
  • Gotify
  • JSON webhook
  1. 0 minProblem appears
  2. 5 minSent, if still there
  3. laterTurns critical: sent again
  4. fixedResolved: one last message

Open source, free, and staying that way

Apache-2.0. No account, no backend of ours, no telemetry, no pro tier, no checks behind a paywall. Nothing leaves your network unless you switch it on: notifications, the relay, the vulnerability lookup.

Source on GitHub

See it

One answer first. Everything else below the fold.

Phone, tablet or a browser tab: the agent serves the web app itself, and the same app runs on iOS and Android.

The desktop layout: cluster vitals and the nanny eye on the left, the problems on the right
  • Three clusters side by side, each with its light in the nanny eye: red, amber and green
    Every cluster, one light each
  • A list of problems, each with its cause, its age and the action that fixes it
    Only what is broken, with cause and action
  • Logs of the crashed container run, with the error lines highlighted
    Logs of the run that crashed
  • A node card with CPU, RAM, disk and pods, used against requested
    Nodes: used against requested
  • The last seven days: one cell per day coloured by its worst incident, and each incident with start and duration
    The last seven days at a glance
  • The backups tab: each database and volume with its last backup and where it goes
    Every backup, and what has none
  • A cluster with two warnings: an old database backup and an expiring certificate
    Warnings before they become outages
  • The Longhorn detail sheet: version, healthy volumes, free disk, backups and the backup target
    Deep checks per component

In English and German, following your device. Try the demo ยท All screenshots

Security

Built like it has write access to your cluster. Because it does.

Kubernanny reads most of your cluster and holds a few write verbs for its actions. Every one of them is written down, with what an attacker could do with each piece and the residual risks.

A Noise handshake per call

Noise IK with X25519, ChaCha20-Poly1305 and BLAKE2b. Nothing in between can read, change or replay a request. Fresh keys for every answer, no session state, published test vectors.

The protocol

A key pair per device

Each device creates its own key; the private half never leaves it. A lost phone is revoked with one tap, and every other device keeps working. No bearer token to leak.

Why device keys

Least privilege, generated

The ClusterRole is generated from what each enabled module and action needs. No Secrets outside its own two, no exec, no delete beyond finished pods, and admission policies hold every write to its action. Actions with a wider reach are opt-in. rbac.allowActions=false makes it strictly read-only.

Security model

Nothing leaves without your yes

No backend of ours, no account, no telemetry. Out of the cluster goes only what you switch on: notifications (reducible to counts), the relay (sealed messages only, including the warning it holds for your phone in case the agent goes silent) and the vulnerability lookup (names and versions only).

Every connection

Off means gone.

Every feature that reads, writes or talks to the outside can be switched off on its own in the Helm values. Off is not hidden: the permission leaves the RBAC, the route refuses, the connection is never opened, and the app cannot switch it back on.

  • Never change anything in my clusterrbac.allowActions: false

    The ClusterRole loses every patch, create and delete verb, and the action routes answer 403. Strictly read-only.

    • no write permission
    • no API route
  • No restarts, but syncs are fineactions.disabled: [restart]

    Each action alone: restart, argocd-sync, argocd-refresh, cnpg-backup, longhorn-backup, velero-backup, reconcile-now, uncordon, cleanup-pods, logs, and the opt-in ones. Its permission leaves the RBAC once nothing else needs it.

    • no write permission
    • no API route
  • Wider-reaching actions only if I allow themactions.enabled: [] (default)

    Five actions are off unless you name them here: argocd-rollback, job-rerun, force-delete-terminating, argocd-terminate-op, pvc-expand, and so is config-change-hint, the ConfigMap read behind the restart offer. Until then their routes answer 403, the chart grants no permission of their own and the admission policy has no branch that would allow them. On, every rollback is announced.

    • no write permission
    • no API route
  • Do not look into Argo CDchecks.disabled: [argocd]

    Any module by its id. It never runs, and the chart grants no permission to read its resources or to run its actions.

    • no read permission
    • no write permission
  • No connection out of the clusterrelay.enabled: false (default)

    No WebSocket to any relay, and no egress rule for it in the NetworkPolicy. The app reaches the agent directly or not at all.

    • no outbound connection
  • Do not tell anyone which versions I runchecks.disabled: [vulnerabilities]

    The lookup is off by default; listed here, the app cannot switch it on either, and no request ever goes to OSV.dev or a mirror.

    • no outbound connection
  • Do not ask registries about my imageschecks.disabled: [image-updates]

    The update lookup is off by default; listed here it cannot be switched on from the app, and no registry is ever contacted.

    • no outbound connection
  • Nobody may wave a vulnerability throughvulnerabilities.allowAccept: false

    Marking an advisory as not applicable is refused before anything is stored, and acceptances stored earlier are ignored.

    • no API route
    • no stored data
  • No push through Google to my phonenotifications.appPush.enabled: false

    The push routes answer 404, stored push tokens are deleted on start, and nothing is handed to the relay. Even when on, pushes are sealed per device: the relay and Google never see the text.

    • no API route
    • no stored data
    • no outbound connection
  • No notifications at allchecks.disabled: [notifications]

    Nothing is sent to ntfy, webhooks or phones, including the alerts about security-relevant changes.

    • no outbound connection
Every permission, what it is for and how to remove it

Questions

Before you install.

Do I need the phone app?

No. The agent serves the same app as a web page, so a browser on your LAN, over your VPN or behind your ingress shows everything; only native push and the home-screen widgets need the phone app. The iPhone and Android apps are on their way to the App Store and Google Play.

Do I need Prometheus?

No. Without it Kubernanny reads the Kubernetes API and metrics-server: every component check, nodes, workloads, volumes, the week of problems, and seven days of CPU and RAM per node and for the cluster, which it records itself in 5-minute steps. When it finds a Prometheus in the cluster it adds the standard alerts, error rates of the ingress controller, and network, restarts and etcd in the charts. Without metrics-server there are no usage figures at all.

Every check and what it needs
Which clusters does it run on?

It is built for self-hosted clusters and reads the plain Kubernetes API. On top it knows RKE2, k3s and kubeadm: their etcd, the etcd snapshots of RKE2 and k3s, and the upgrade guide to follow when your Kubernetes minor runs out of support.

What does it cost my cluster?

One pod: 128 Mi of memory requested, a 256 Mi limit, about 100 MB in use on a three-node homelab. It writes nothing to disk; the week of history it keeps across restarts is one ConfigMap of at most 768 KiB.

What runs in your cluster
Can it change anything in my cluster?

Only on an open problem, and only what that problem needs. On by default: sync and hard refresh an Argo CD app, restart a workload, back up now (CloudNativePG, Longhorn, Velero), reconcile Flux, External Secrets or Infisical, renew a certificate, uncordon a forgotten node, clean up evicted pods. Off until you name them in actions.enabled: run a failed job again, force-delete a pod stuck on a dead node, stop a hanging Argo CD sync, grow a full volume, roll an Argo CD app back. Each one is confirmed in the app, the agent takes the target from its own check, never from the request, and admission policies hold every permission to its action. rbac.allowActions: false makes it strictly read-only.

Every permission
What happens if my cluster or the agent goes down?

Then nothing in the cluster can tell you, so the relay does. With native push on, the agent leaves a warning for your phone with the relay, sealed in advance so the relay cannot read or change it. When the agent stays silent longer than you chose (10 to 60 minutes; a rollout hands over in seconds), the relay sends it once and the widget turns to "Agent not answering". When the agent is back, it tells you how long it was gone. A relay can send that warning early or not at all, but it can never make you believe all is fine.

When the agent goes silent
Does anything leave my network?

Only what you switch on: notifications to the channels you configure, the sealed messages through the relay, and component names and versions for the vulnerability and image update lookups. No account, no telemetry.

Every connection
I already run Grafana, Alertmanager or Uptime Kuma. Why this?

Keep them: Kubernanny reads them. Firing Alertmanager alerts and the monitors of Uptime Kuma and Gatus show up next to its own checks. What it adds is knowing your components without a dashboard or a rule written by you, and one answer on your phone. k9s and Lens stay the tools for exploring.

See it on a cluster that is on fire.

The live demo runs Kubernanny against its built-in demo clusters: outages, warnings, the lot. Nothing to install, nothing to break.

Try the demo

Support

Free. Kept going by the people who use it.

No pro tier, no paywalled checks, no ads. If Kubernanny saved you a night, chip in for the developer accounts, the domain and the time it takes to add the next integration.