4 ms·
To me, it would depend on whether you always wanted to deploy the cronjobs with the codebase. I think I usually want the option to deploy them separately. Jus
by everforward 3y ago
To me, it would depend on whether you always wanted to deploy the cronjobs with the codebase. I think I usually want the option to deploy them separately.
Just as an example, if you have 8 nodes or whatever, your cronjob is going to get updated when the first one is deployed, not the last. The other nodes may or may not support that cronjob until they get the update.
Going the other direction, if you have to roll back a single node for whatever reason, now you have conflicting cronjob versions.
I typically want those rollouts to be separate so that I can handle failures in the app deployment before I update the cronjob.