github gianlucam76/k8s-cleaner v0.23.0

3 hours ago

Curated Cleaner recipe library in the dashboard

The dashboard gains a "Library" tab: browse 25 curated Cleaner recipes drawn from examples-unused-resources and examples-unhealthy-resources, grouped by resource domain (RBAC, Workloads, Networking, etc). Each recipe can be previewed (selectors, Lua) before use, then named, scheduled, given an action and notifications, and posted straight to the cluster.

Events and container log tails in Evaluate scripts

ResourceSelector gains two opt-in fields for the Lua evaluate script: IncludeEvents and LogSource. IncludeEvents lists the core/v1 Events involving each candidate resource and exposes them as the global events table (reason, message, type, count, lastTimestamp). LogSource, valid only when the ResourceSelector targets Pods, tails each selected container's log and exposes it as logs (concatenated, headered per-container when there's more than one) and logsByContainer (name to tail); setting previous: true adds logsPrevious/logsPreviousByContainer for any container that has actually restarted. Together they let an evaluate script decide based on what a Pod is actually doing, not just its spec/status.

Don't miss a new k8s-cleaner release

NewReleases is sending notifications on new releases.