Skip to main content
Last updated: 30 Jan 2024

Run a rake task

Run a Rake task on EKS

To run a rake task in Kubernetes, execute the rake command inside the application container.

For example:

kubectl exec deploy/publishing-api -- rake 'represent_downstream:published_between[2018-12-17T01:02:30, 2018-12-18T10:20:30]'

The output of the command will be streamed to your terminal.