https://github.com/stefanprodan/kjob
Kubernetes job runner
https://github.com/stefanprodan/kjob
job-runner kubernetes
Last synced: about 1 month ago
JSON representation
Kubernetes job runner
- Host: GitHub
- URL: https://github.com/stefanprodan/kjob
- Owner: stefanprodan
- License: apache-2.0
- Created: 2020-03-06T08:30:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-29T09:04:04.000Z (almost 5 years ago)
- Last Synced: 2025-01-10T11:16:25.341Z (about 1 month ago)
- Topics: job-runner, kubernetes
- Language: Go
- Size: 89.8 KB
- Stars: 42
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kjob
[](https://github.com/stefanprodan/kjob/actions)
[](https://github.com/stefanprodan/kjob/actions)**kjob** is a small utility written in Go that:
* creates a Kubernetes Job from a CronJob template
* overrides the job command if specified
* waits for job completion
* prints the pods logs
* removes the pods and the job object
* exits with status 1 if the job failed## Usage
Download kjob binary from GitHub [releases](https://github.com/stefanprodan/kjob/releases/latest).
Create a suspended CronJob that will serve as a template:
```bash
cat <