Open batpad opened 2 weeks ago
Allow CronJobs to define their own resource requirements, so we don't need to have the same resources for all cronjobs. Currently resource requirements for CronJobs are specified as a fixed value here: https://github.com/IFRCGo/go-api/blob/develop/deploy/helm/ifrcgo-helm/templates/cronjobs/jobs.yaml#L31
Instead, we should allow each cronjob to over-ride this value, so each cronjob could define a resources in addition to schedule: https://github.com/IFRCGo/go-api/blob/develop/deploy/helm/ifrcgo-helm/values.yaml#L120 to specify over-rides - for cronjobs that may require a lot of resources, for example.
resources
schedule
cc @szabozoltan69 @sunu
(let's not work on this right now until the infra changes, but just ticketing so that we do it soon - it should be pretty straightforward)
Allow CronJobs to define their own resource requirements, so we don't need to have the same resources for all cronjobs. Currently resource requirements for CronJobs are specified as a fixed value here: https://github.com/IFRCGo/go-api/blob/develop/deploy/helm/ifrcgo-helm/templates/cronjobs/jobs.yaml#L31
Instead, we should allow each cronjob to over-ride this value, so each cronjob could define a
resources
in addition toschedule
: https://github.com/IFRCGo/go-api/blob/develop/deploy/helm/ifrcgo-helm/values.yaml#L120 to specify over-rides - for cronjobs that may require a lot of resources, for example.cc @szabozoltan69 @sunu
(let's not work on this right now until the infra changes, but just ticketing so that we do it soon - it should be pretty straightforward)