Skip to content

Tiny Go binary to clean up old jobs in Kubernetes

Notifications You must be signed in to change notification settings

leosunmo/jobliterator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jobliterator

Super simple binary that deletes jobs older than -days days (default 7 days).

If -f is not specified it will only list jobs eligible for deletion.

Usage:

Outside of Kubernetes cluster: ./jobliterator -kubeconfig ~/.kube/config -context prod-cluster -f

Inside Kubernetes cluster: ./jobliterator -in-cluster -context prod-cluster -f

Examples

CronJob and one-off Jobs are in manifests.

Simple Dockerfile in docker.

About

Tiny Go binary to clean up old jobs in Kubernetes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published