Scheduled Scaling
Pre-configure scaling for predictable traffic patterns.
Use Cases
- Scale up before business hours
- Scale down overnight or weekends
- Handle known traffic spikes (promotions, events)
Create Schedule
POST /api/v1/apps/{id}/auto-scaling/schedules
{
"name": "Business Hours",
"cron": "0 9 * * MON-FRI",
"target_replicas": 5,
"timezone": "America/New_York"
}
Cron Format
┌─────────── minute (0-59)
│ ┌───────── hour (0-23)
│ │ ┌─────── day of month (1-31)
│ │ │ ┌───── month (1-12)
│ │ │ │ ┌─── day of week (0-6, SUN-SAT)
* * * * *