https://github.com/elastisys/pod-janitor
https://github.com/elastisys/pod-janitor
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/elastisys/pod-janitor
- Owner: elastisys
- Created: 2020-11-24T10:41:46.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2020-11-27T08:53:51.000Z (over 5 years ago)
- Last Synced: 2025-07-21T15:44:47.805Z (11 months ago)
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pod Janitor
Pod Janitor is an in-cluster process to remove succeeded pods from the Kubernetes cluster. Typically run via a Cron Job deployed in the cluster.
### Built With
- Go
- Docker
## Getting Started
To get a local instance up and running follow these steps:
### Prerequisites
- Kubernetes cluster running locally
### Installation
1. Clone the repo
```
git clone https://github.com/filetrust/pod-janitor.git
```
2. cd to root
```
cd .\pod-janitor\
```
3. Build Docker image
```
docker build -t /pod-janitor .
```
4. Push Docker image to repository
```
docker push /pod-janitor
```
5. Deploy cron job which runs image to cluster