Scheduling
reel watches for reel.io/schedule annotations on your pods, deployments, or namespaces. When it finds one, it parses the cron expression and runs the specified command automatically.
This means you can set up backups, security scans, or forensic captures without creating separate CronJobs or external schedulers. Just add an annotation and reel handles the rest.
Quick Start
Add this annotation to any pod or deployment:
This captures a filesystem layer every hour and keeps the last 24.
How It Works
- 01Agent watches for
reel.io/scheduleannotations - 02Parses cron expressions and executes commands
- 03
nextchains commands together (runs after previous completes)
Cron Syntax
| Pattern | Description |
|---|---|
| */15 * * * * | Every 15 minutes |
| 0 * * * * | Every hour |
| 0 */6 * * * | Every 6 hours |
| 0 2 * * * | Daily at 2 AM |
| 0 0 * * 0 | Weekly (Sunday midnight) |
Common Schedules
Local Layer Backup
S3 Export Configuration
To export data to S3, add these annotations to configure the destination bucket and credentials:
See S3 Exports for credential setup and authentication options.
Daily Security Scan to S3
With S3 configured, scheduled exports automatically upload to your bucket:
Namespace-Level Schedule
Apply a schedule to a namespace and it will run for all pods in that namespace:
Individual pods can override this with their own reel.io/schedule annotation, or opt out with reel.io/exclude: "true". See Configuration Priority for details.