Auditing a Kubernetes cluster's infrastructure often feels like a major operation. Just to find out which containers run as root or lack CPU limits, you have to get heavy operators approved, request permissions for Custom Resource Definitions (CRDs), and dedicate compute resources to background controllers. If you turn to CLI scanners like kube-bench or Popeye instead, you end up drowning in terminal output and manually matching resource names to objects in a web UI.
Engineer Richard Hooper (creator of Pixel Robots) offered a clean way out by releasing the official kubebuddy-headlamp-plugin v0.1.0 for the open-source Headlamp dashboard. Headlamp itself is a CNCF project chosen by Kubernetes SIG UI as a modern, vendor-neutral alternative to the classic Kubernetes Dashboard. Its key strength is a modular React and TypeScript architecture that lets extensions run directly inside the user's browser.
Zero Cluster Footprint and Client-Side Checks
The KubeBuddy plugin brings the full audit rulebook of the KubeBuddy CLI tool (v0.0.31) straight to the web client. Not a single new pod, background daemon, or custom CRD appears in the cluster. Every request to the Kubernetes API goes through Headlamp's built-in proxy using your active token and RBAC permissions.
If you have read access to configurations in a namespace, the plugin queries the API, checks manifests against hygiene rules, and builds an interactive report right on your screen.
The checks cover core cluster areas: basic securityContext settings (root execution, readOnlyRootFilesystem), network policies, scaling parameters, missing livenessProbe definitions, and RBAC role hygiene. Once the scan finishes, you get a structured list of findings grouped by severity (Critical, Warning, Info). Best of all, clicking any warning card takes you straight to that specific Deployment or Service page inside Headlamp.
Installing the Plugin and Configuring Audit Rules
When running Headlamp inside a cluster, you register the plugin in your Helm values manifest under the pluginsManager section:
config:
watchPlugins: true
pluginsManager:
enabled: true
configContent: |
plugins:
- name: kubebuddy-headlamp-plugin
source: https://artifacthub.io/packages/headlamp/kubebuddy/kubebuddy-headlamp-plugin
version: 0.1.0
installOptions:
parallel: true
maxConcurrent: 2
After updating the Helm release, Headlamp pulls the plugin automatically from Artifact Hub:
helm upgrade --install headlamp headlamp/headlamp -n headlamp --values values.yaml
To tailor checks to your company standards, the plugin supports a kubebuddy-config.yaml file. You can use it to silence noise in system namespaces or adjust rule severity:
version: "1.0"
settings:
failOnSeverity: "critical"
ignoreNamespaces:
- kube-system
- kube-public
- headlamp
checks:
security:
privilegedContainers:
enabled: true
severity: "critical"
readOnlyRootFilesystem:
enabled: true
severity: "warning"
workloads:
livenessProbeMissing:
enabled: true
severity: "warning"
cpuLimitsMissing:
enabled: true
severity: "info"
When an Agentless Approach Falls Short
A client-side, agentless design has natural limits. The plugin only runs while the browser tab stays open; closing the page stops the scan. Because it runs inside the browser sandbox, it also has no direct access to cloud provider APIs (like AKS or GKE), does not collect Prometheus metrics, and cannot replace admission controllers such as Kyverno or OPA Gatekeeper.
Still, KubeBuddy for Headlamp is a great tool for quick spot audits and daily troubleshooting. It saves hours of access approvals and helps you clean up manifests without putting extra load on cluster nodes.


