utf9k

Something to think about: My bluetooth is disabled but I only have bluetooth devices. How do I turn it back on?!

How can I pause a recurring Kube cronjob?

In which I remind myself how to suspend a Kubernetes cronjob

Published
Tags

If you have a cronjob that you’d like to pause while doing some maintenance for example, you can use the suspend attribute.

> kubectl patch cronjobs does-something -p '{"spec": {"suspend": true }}'
cronjob.batch/does-something patched

Once you’re done, you can just flip true to false