Shane
Shane

Reputation: 477

Deis Batch Jobs

Does Deis have any support for running batch jobs / ephemeral docker containers on a cron like basis?

I could just use fleet under the hood and deploy a timer unit. Would this be recommended or does another approach exist.

Upvotes: 0

Views: 358

Answers (2)

gabrtv
gabrtv

Reputation: 3588

The best way to model cron-style jobs on Deis is to use a clock process type, as you would on Heroku. See: https://devcenter.heroku.com/articles/scheduled-jobs-custom-clock-processes

Upvotes: 2

Christopher Armstrong
Christopher Armstrong

Reputation: 7953

Deis has no support for batch applications. Apps in Deis follow the 12-factor model and can be deployed, scaled, and have their configuration updated to create a new release. As you said, you can schedule fleet units directly should you need this behavior. However, I'm curious as to what you're trying to accomplish?

Upvotes: 1

Related Questions