Kubernetes Cronjobs in 10minutes

A short screencast I did explaining the basic usage of Kubernetes Cronjobs.

Useful Kubernetes cronjob commands

Trigger a cronjob manually rather than waiting for its scheduled execution time:

kubectl create job test-job --from=cronjob/a-cronjob

Suspending a cronjob (disabling it from its usual scheduled runs):

kubectl patch cronjobs a-cronjob -p '{"spec" : {"suspend" : true }}'


comments powered by Disqus