CronJobs should be interruptible
Yesterday’s topic were Pod Disruption Budgets.
Pods serving web traffic (HTTP) are normally disruptible. If you have graceful shutdown handlers configured for your web services, you can kill pods without negatively affecting any requests.
Jobs and CronJobs can also run on your Kubernetes nodes.
You need to be careful with your Pod Disruption Budgets (PDB) to avoid killing your jobs because normally they’re not interruptible.
You should always design your CronJobs to be interruptible so that they can be stopped and started at will.
Master GitHub Actions with a Senior Infrastructure Engineer
As a senior staff infrastructure engineer, I share exclusive, behind-the-scenes insights that you won't find anywhere else. Get the strategies and techniques I've used to save companies $500k in CI costs and transform teams with GitOps best practices—delivered straight to your inbox.
Not sure yet? Check out the archive.
Unsubscribe at any time.