Schedule Policies
Learn about default policies in the Policies page.
With schedule policies, you can define distinct time periods during which different policies should be applied to your workloads.
Overview
Schedule policies allow you to optimize resource usage by applying different optimization strategies during specific time windows. This is particularly useful for workloads that have predictable usage patterns, such as:
- Development environments that are only used during business hours
- Batch processing jobs that run during off-peak hours
- Applications with different usage patterns on weekdays vs weekends
Creating a Schedule Policy
To create a schedule policy:
- Navigate to the Policies page
- Click the Create new policy button
- Select Policy Schedule


Schedule Policy Configuration

Default Policy
The default policy is applied to all attached workloads during times that are not specified by the Override policies.
Override Policies
Override policies allow you to define specific time periods during which a different policy should be applied to your workloads. You can add multiple override policies by days and time periods.
Configuration Options
| Option | Description |
|---|---|
| Policy name | The policy that should be applied during the specified time window |
| History window data points | The method for data collection during the time window |
| Sleep | Determine whether the policy should scale down to zero replicas during the time window |
| Periods | The time window during which the policy should be applied |
History Window Data Points
| Option | Description |
|---|---|
| Current selected time periods (default) | Data is collected only during the time periods specified in the override policy in the last week |
| All data points | Data is collected continuously throughout all days included in the selected policy’s history window |
Periods Configuration
For each period, you need to specify:
- Start and end time (in UTC timezone)
- Days of the week when the policy should be applied
You can specify multiple periods for each override policy.
Examples
Example 1: Daily Evening Schedule

Configuration:
- Policy:
cost - Schedule: Every day from 9 PM to 8 AM (UTC)
- Data Collection:
Current selected time periods
Use Case: Apply cost-optimized settings during off-peak hours when workloads typically have lower resource requirements.
Example 2: Weekend Schedule

Configuration:
- Policy:
cost - Schedule: Weekends from 6 PM Friday to 8 AM Monday (UTC)
- Data Collection:
Current selected time periods
Detailed Schedule:
| Day | Time Period |
|---|---|
| Friday | 6 PM to 12 AM |
| Saturday | All day |
| Sunday | All day |
| Monday | 12 AM to 8 AM |
Use Case: Apply cost-optimized settings during weekends when business applications typically have minimal usage.
Example 3: Combined Daily and Weekend Schedule

Configuration:
- Policy:
cost - Schedule:
- Weekends from 6 PM Friday to 8 AM Monday (UTC)
- Every day from 9 PM to 8 AM (UTC)
- Data Collection:
Current selected time periods
Detailed Schedule:
| Period | Days | Time |
|---|---|---|
| Weekend | Friday | 6 PM to 12 AM |
| Weekend | Saturday & Sunday | All day |
| Weekend | Monday | 12 AM to 8 AM |
| Daily | Every day | 9 PM to 8 AM |
Use Case: Apply cost-optimized settings during both off-peak hours and weekends for maximum cost savings.
Best Practices
When to Use Schedule Policies
- Development environments that are only active during business hours
- Batch processing workloads that run during off-peak periods
- Applications with predictable usage patterns (e.g., business applications used only on weekdays)
- Cost optimization for non-critical workloads during low-usage periods
Configuration Tips
- Start with a conservative approach: Begin with a single override policy and expand as needed
- Consider timezone differences: All times are in UTC, so account for your local timezone
- Monitor performance: Ensure that the scheduled policy changes don’t impact application performance
- Test thoroughly: Validate that your schedule policies work as expected before applying to production workloads
- Use appropriate data collection: Choose between
Current selected time periodsandAll data pointsbased on your workload’s usage patterns
Common Patterns
| Pattern | Use Case | Example Schedule |
|---|---|---|
| Business Hours | Development environments | Weekdays 8 AM - 6 PM |
| Off-Peak Hours | Batch processing | Daily 10 PM - 6 AM |
| Weekend Optimization | Business applications | Friday 6 PM - Monday 8 AM |
| Seasonal Patterns | Holiday periods | Specific date ranges |