Kubernetes
You're viewing a free preview. Sign in free to read every script.
Why this exists Some tasks belong to the cluster itself, not to any one application — expiring old records, rotating a cache, pruning temp data. A CronJob runs this on a schedule the same way cron would on a single…
CronJob Manifest for Scheduled Cleanup
A CronJob manifest that runs a cleanup task on a schedule inside the cluster — the Kubernetes-native equivalent of a cron-triggered Jenkins job, with history limits and a timeout so a stuck run doesn't pile up forever.
Sign in free to read this script, along with the rest of the library.
Sign in free