Popeye scans running Kubernetes clusters and reports misconfigurations, stale resources, and practice gaps. It is read-only and inspects what is deployed, not manifests on disk.
Overview
Popeye is a command-line utility that lints live Kubernetes clusters. It connects with kubeconfig context, walks deployed resources, and flags issues such as unused secrets, probe gaps, image tag problems, RBAC clutter, and resource utilization when a metrics-server is present. It does not modify cluster objects.
Linters cover many resource kinds including nodes, namespaces, pods, services, workloads, storage, ingress, network policies, gateway APIs, and RBAC bindings. Reports can appear in the terminal, JSON, HTML, YAML, JUnit, or a single numeric cluster score. Optional Prometheus metrics and a sample Grafana dashboard support ongoing visibility.
Operators install binaries on Linux, macOS, or Windows, via Homebrew, go install, or a container image from Quay with kubeconfig mounted in. A spinach YAML file tunes thresholds, excludes resources or codes, and scopes namespaces. Reports can save locally, to a custom directory, or upload to S3 or MinIO.
Popeye can run as a one-off or CronJob inside the cluster. It needs RBAC sufficient to list the resources it inspects. The tool targets recent Kubernetes versions and exits non-zero when lint errors are found unless forced otherwise.
Key features
- Live cluster scanning via kubeconfig
- Many resource-specific linters
- Read-only cluster inspection
- Spinach YAML linter configuration
- HTML JSON and CLI report formats
- Prometheus metrics export
- Docker image and in-cluster CronJob
- S3 or MinIO report uploads
Use cases
- Kubernetes hygiene and misconfiguration checks
- Finding unused secrets and config maps
- Capacity warnings with metrics-server
- Scheduled cluster lint CronJobs
- CI-friendly JUnit or score output