Skip to content

v0.23.0

Latest

Choose a tag to compare

@gianlucam76 gianlucam76 released this 19 Aug 12:43
e863ec5

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.