Kube Janitor Versions Save

Clean up (delete) Kubernetes resources after a configured TTL (time to live)

20.4.1

4 years ago
  • #70: also check whether a PVC is used by a Deployment
  • #68: new CLI option --wait-after-delete to add a configurable wait time (default: zero) after each deletion

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:20.4.1 --help 

20.4.0

4 years ago
  • #61: fix a bug where CRD resources with non-preferred API version were not discovered/deleted

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:20.4.0 --help 

20.3.2

4 years ago
  • #65: do not delete PVCs which are referenced by Jobs or CronJobs

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:20.3.2 --help 

20.3.1

4 years ago
  • #64: add support for custom Python hook functions to extend _context (used in jmespath of rules)

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:20.3.1 --help 

20.3.0

4 years ago
  • #62: add support for removing unused Persistent Volume Claims (PVCs) with a rules file (jmespath: "_context.pvc_is_not_mounted && _context.pvc_is_not_referenced")

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:20.3.0 --help 

20.2.0

4 years ago
  • #55: add support for --deployment-time-annotation

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:20.2.0 --help 

20.1.0

4 years ago
  • #47: change deletion propagation policy from Foreground to Background to fix Custom Resources (CRDs) which were stuck in deletion

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:20.1.0 --help 

19.12.0

4 years ago
  • #49: switch to poetry for dependencies and black for code formatting
  • dependency updates incl. pykube-ng with IPv6 support

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:19.12.0 --help 

19.9.0

4 years ago
  • #42: skip non-listable API groups (e.g. unavailable API services) (thanks to @twz123)

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:19.9.0 --help 

19.8.0

4 years ago
  • Switch to Calendar Versioning with YY.MM.MICRO format (year, month, increment) --- this seems to be more fitting as SemVer was never really embraced (see also this blog post)
  • #39: allow "forever" as TTL value (to essentially disable clean up of the resource) (thanks to @antban)

Docker image is available on Docker Hub (see README on how to use):

docker run -it hjacobs/kube-janitor:19.8.0 --help