Operator for CronJob resources
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Vladimir Smagin a9b7f2d021 create cronjobs 11 months ago
build bootstrap operator 11 months ago
cmd/manager bootstrap operator 11 months ago
deploy create cronjobs 11 months ago
pkg create cronjobs 11 months ago
version bootstrap operator 11 months ago
.gitignore create cronjobs 11 months ago
Dockerfile bootstrap operator 11 months ago
Makefile create cronjobs 11 months ago
README.md bootstrap operator 11 months ago
VERSION bootstrap operator 11 months ago
go.mod create cronjobs 11 months ago
go.sum create cronjobs 11 months ago
tools.go bootstrap operator 11 months ago

README.md

Cron operator for Kubernetes

Control multiple cronjobs with same image, but different commands.

Build sources

  • You definitly need a Golang installed
  • Clone repository https://git.blindage.org/21h/cron-operator.git to your computer
  • Open Makefile and change images registry to yours, then run make command
  • Or just run docker build -t cron-operator . to make image locally

Prebuilt images

You can find images here https://hub.docker.com/r/iam21h/cron-operator

Deploy operator

kubectl -f deploy/service_account.yaml
kubectl -f deploy/role.yaml
kubectl -f deploy/role_binding.yaml
kubectl -f deploy/operator.yaml

Your first CronOp deployment

This resource can help you run your first image

apiVersion: blindage.org/v1alpha1
kind: CronOp
metadata:
  name: my_cron
spec:

Full Spec


Copyright by Vladimir Smagin (21h) 2019
http://blindage.org email: 21h@blindage.org
Project page: https://git.blindage.org/21h/cron-operator