I'd like to create a custom controller for a Cronjob that doesn't generate jobs in certain situations.
Is there any way to easily create a custom controller that works almost exactly like a Cronjob?
I'd like to create a custom controller for a Cronjob that doesn't generate jobs in certain situations.
Is there any way to easily create a custom controller that works almost exactly like a Cronjob?
Not sure you can find easy way ... but start with How to write Kubernetes custom controllers in Go
In the official Kubernetes GitHub repository, you can find a controller example, sample-controller.
Controller structure diagram: