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)
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
Requirements
- K8s cluster
- Helm3
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
make install
make run
make test
make helm
make help