You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To prevent an influx of cronjobs starting at the same time and trying to schedule pods, it might be an idea to run all cronjobs inside of the defined service pod if any of the cronjobs would cause the pod to remain running
If I have 5 cronjobs defined, and 1 of them runs every 5 minutes, rather than create 4 additional kubernetes native cronjobs, schedule all of them within the pod that remains running the 5 minute cronjob
The text was updated successfully, but these errors were encountered:
We could also have an option to specify directly if the cronjob should run as a native k8s cronjob by extending the .lagoon.yml support to include a flag like so, so that the behaviour of bundling cronjobs can be overwritten if required.
cronjobs:
- name: Hourly Drupal Cron
schedule: "M * * * *" # Once per hour, at a random minute.
command: drush cron
service: cli
native: true
To prevent an influx of cronjobs starting at the same time and trying to schedule pods, it might be an idea to run all cronjobs inside of the defined service pod if any of the cronjobs would cause the pod to remain running
If I have 5 cronjobs defined, and 1 of them runs every 5 minutes, rather than create 4 additional kubernetes native cronjobs, schedule all of them within the pod that remains running the 5 minute cronjob
The text was updated successfully, but these errors were encountered: