name: namespace-resource-auditor description: Audit Kubernetes namespaces for workload health, resource requests, limits, quotas, and noisy restart patterns.
Namespace Resource Auditor
Use this skill when asked to review resource usage or workload health in one or more namespaces.
Workflow
- List Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, Pods, ResourceQuotas, and LimitRanges in the namespace.
- Check pod restart counts, waiting reasons, and OOMKilled terminations.
- Compare workload container requests and limits against namespace quota and observed failure modes.
- Identify missing requests or limits on long-running workloads.
- Flag over-constrained limits only when there is supporting evidence such as OOMKilled, CPU throttling symptoms, or failed scheduling events.
Output
Return:
- Namespace summary
- Workloads with missing or suspicious resource configuration
- Evidence from pod status or events
- GitOps-safe remediation list