Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 647 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 647 Bytes

karetaker

Automated Garbage Collection for Docker and Kubernetes.

Usage

With Docker

docker run --detach -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/ayedode/karetaker:main

Or with docker-compose:

docker-compose up -d

With Kubernetes

kubectl apply -f https://raw.githubusercontent.com/ayedode/karetaker/main/manifests.yml

Configuration

Environment Variables

EnvVar Default Description
KARETAKER_MODE "" Mode, docker or kubernetes
KARETAKER_INTERVAL 3600 How long Karetaker waits between two cleanup cycles