Scheduler Reference
Complete reference for annotation-based scheduling.
Schedule Annotations
| Annotation | Scope | Description |
|---|---|---|
| reel.io/schedule | Pod, Namespace | Multi-line schedule definition |
| reel.io/exclude | Pod | Set to "true" to opt-out of scheduling |
S3 Annotations
Configure default S3 settings for all export commands. Pod annotations override namespace annotations.
| Annotation | Scope | Description |
|---|---|---|
| reel.io/s3-bucket | Pod, Namespace | S3 bucket name for exports |
| reel.io/s3-region | Pod, Namespace | AWS region (e.g., us-east-1) |
| reel.io/s3-secret | Pod, Namespace | K8s secret name with AWS credentials |
Schedule Format
next runs after previous command completes.
Cron Patterns
| 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) |
| 0 0 1 * * | Monthly (1st at midnight) |
Supported Commands
Export commands use S3 annotations for destination. Override with --s3-bucket flag.
Complete Example
Pod with S3 configuration and scheduled security scans:
Configuration Priority
Settings can be defined at multiple levels. Higher priority overrides lower:
Schedule Priority
| Priority | Source | Behavior |
|---|---|---|
| 1 (highest) | Pod annotation | Completely replaces namespace schedule |
| 2 | Namespace annotation | Applies to all pods without their own schedule |
Schedules are not merged. A pod with its own reel.io/schedule annotation will not inherit anything from the namespace.
S3 Configuration Priority
| Priority | Source | Example |
|---|---|---|
| 1 (highest) | Command flags | --s3-bucket override-bucket |
| 2 | Pod annotation | reel.io/s3-bucket: pod-bucket |
| 3 (lowest) | Namespace annotation | reel.io/s3-bucket: ns-bucket |
S3 settings are resolved independently. A pod can inherit s3-bucket from namespace while overriding s3-region.
Per-Command Overrides
Individual commands in a schedule can override S3 settings:
View Schedules
See S3 Exports for credential setup and Scheduling Tutorial for more examples.