daemonjob-operator

command module
v0.0.0-...-3d806af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

README

daemonjob-operator

CI-status

Daemonjob-operator runs K8s Jobs on every nodes.

DaemonJob is the concept to run ephemeral K8s jobs on every node. (I'm using it personally, to patch node config after bootstraping a cluster)

Getting started

You can install daemonjob using helm.

First add helm repo

helm repo add daemonjob-repo https://mcbenjemaa.github.io/daemonjob-operator

Then, install the chart.

helm install daemonjob daemonjob-repo/daemonjob-operator

you're ready, you can start creating DaemonJob

kubectl apply -f config/samples/daemonjob.yaml
check out Design
Develop

Requirements

  • K8s cluster
  • Helm3
Using Tilt

If you don't have tilt, go get it here

To start everthing, just

tilt up

tilt now will deploy crd/conroller/sample and ensure fast feedback loop. When you change something, it will be detected by tilt and deployed.

to clean up

tilt down
Manual
Deploy the crd
make install
Start the controller locally
make run
Run tests
make test
Copy crd to helm/chart
make helm
For more details
make help

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the daemon v1alpha1 API group +kubebuilder:object:generate=true +groupName=daemon.justk8s.com
Package v1alpha1 contains API Schema definitions for the daemon v1alpha1 API group +kubebuilder:object:generate=true +groupName=daemon.justk8s.com
tilt_modules

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL