An open API service indexing awesome lists of open source software.

https://github.com/elastisys/pod-janitor


https://github.com/elastisys/pod-janitor

Last synced: 4 months ago
JSON representation

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