All Projects → hjacobs → kube-job-cleaner

hjacobs / kube-job-cleaner

Licence: GPL-3.0 license
DEPRECATED: Delete complete/failed Kubernetes jobs after one hour

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to kube-job-cleaner

jobor
支持秒级分布式定时任务系统, A high performance distributed task scheduling system, Support multi protocol scheduling tasks
Stars: ✭ 52 (-47.47%)
Mutual labels:  jobs, cronjob
Hangfire.MissionControl
A plugin for Hangfire that enables you to launch jobs manually.
Stars: ✭ 51 (-48.48%)
Mutual labels:  jobs
qless-php
PHP Bindings for qless
Stars: ✭ 25 (-74.75%)
Mutual labels:  jobs
teresa
Teresa is a special bot of discord for you.
Stars: ✭ 21 (-78.79%)
Mutual labels:  cronjob
updater
Update mechanism of f1jobs.co
Stars: ✭ 20 (-79.8%)
Mutual labels:  jobs
vagas
🤝 Venha fazer parte do nosso time
Stars: ✭ 15 (-84.85%)
Mutual labels:  jobs
awesome-mobile-robotics
Useful links of different content related to AI, Computer Vision, and Robotics.
Stars: ✭ 243 (+145.45%)
Mutual labels:  jobs
remote-jobs-client
Agregador de vagas de trabalho remoto para área de T.I e afins...
Stars: ✭ 68 (-31.31%)
Mutual labels:  jobs
theeye-of-sauron
TheEye Dockers and QuickStart
Stars: ✭ 27 (-72.73%)
Mutual labels:  jobs
vagas
Espaço para a divulgação de vagas para desenvolvedores backend via issues do Github.
Stars: ✭ 5,685 (+5642.42%)
Mutual labels:  jobs
jobs
RoadRunner: Background PHP workers, Queue brokers
Stars: ✭ 59 (-40.4%)
Mutual labels:  jobs
workq
A super tiny work queue
Stars: ✭ 38 (-61.62%)
Mutual labels:  jobs
frontend-developer-coding-challenge
Are your looking for a remote developer job? Solve this frontend developer challenge and show us what you can do and what you are an expert at!
Stars: ✭ 112 (+13.13%)
Mutual labels:  jobs
EasyCronJob
This repository provides easy cron job to your application on IHostedService.
Stars: ✭ 66 (-33.33%)
Mutual labels:  cronjob
career-resources
Some SWE/PM/Designer related career resources for students
Stars: ✭ 154 (+55.56%)
Mutual labels:  jobs
laravel-admin
LaravelAdmin是基于PHP开发的基础管理后台系统,做到开箱即用,为新项目开发省去了基础功能开发的步骤;此系统采用前后端分离模式,后端使用Laravel,前端使用vue;主要包含:登录、注销、可视化数据大屏、管理员、角色管理、菜单管理、权限管理、错误日志、登录日志、访问日志、获取服务器CPU使用率、内存使用率等功能。后端主要使用Artisan命令行、Jobs消息队列、 Rules验证规则、Restful API、Composer扩展包、Redis秒杀、Extend自定义扩展类:微信授权、钉钉告警推送、MongoDB、阿里云OSS、七牛云存储、七牛云直播、php-jwt TOKEN、Phpoffice、MySql数据库字典、Elasticsearch等技术。
Stars: ✭ 45 (-54.55%)
Mutual labels:  jobs
eleman
Fully dockerized static job board generator that uses Airtable as data source. Written with Python3.
Stars: ✭ 33 (-66.67%)
Mutual labels:  jobs
vscode-powertools
A swiss army knife with lots of tools, extensions and (scriptable) enhancements for Visual Studio Code.
Stars: ✭ 44 (-55.56%)
Mutual labels:  cronjob
aws-lambda-scheduler
aws-lambda-scheduler is EventBridge Rule manager that lets you call any existing AWS Lambda Function you have in a set future time with pre-set parameters. Allows more rule creation than AWS limit.
Stars: ✭ 58 (-41.41%)
Mutual labels:  cronjob
parallelizer
Simplifies the parallelization of function calls.
Stars: ✭ 62 (-37.37%)
Mutual labels:  jobs

Kubernetes Job Cleaner

DEPRECATED: this script is no longer needed with recent Kubernetes versions (1.12+) as long as you use ttlSecondsAfterFinished

Very simple script to delete all completed jobs after X seconds (default: one hour).

Kubernetes jobs are not cleaned up by default and completed pods are never deleted. Running jobs frequently (like every few minutes) quickly thrashes the Kubernetes API server with unnecessary pod resources. A significant slowdown of the API server can be observed with increasing number of completed jobs/pods hanging around. To mitigate this, This small kube-job-cleaner script runs as a CronJob every hour and cleans up completed jobs/pods.

See Zalando's Running Kubernetes in Production document for more information.

Building the Docker image:

$ make

Deploying:

$ kubectl apply -f deploy/

There are a few options:

--seconds
Number of seconds after job completion to remove the job (default: 1 hour)
--timeout-seconds
Kill all jobs after X seconds (default: never)
--dry-run
Do not actually remove any jobs, only print what would be done
--namespace
Only search for (and clean) jobs in a single namespace
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].