EDITD / kubetools

:nut_and_bolt: Kubetools is a tool and processes for developing and deploying microservices to Kubernetes.
MIT License
13 stars 2 forks source link

Add ability to cleanup complete jobs in a namespace #107

Closed eatoncns closed 3 years ago

eatoncns commented 3 years ago

As we will be kicking off jobs asynchronously in new cluster and are not running a new enough version of kubernetes to have ttlSecondsAfterFinished available by default it would be good to have the ability to cleanup completed jobs in a given namespace.

Tbd whether cleanup command is the right place for this (probably enabled by option for backwards compat) or whether it is a separate enough use case to standalone.