Back to Catalog
Cloud
Foundational
Predictable Demands
Define resource requirements and limits for predictable application behavior
Intent & Description
The Predictable Demands pattern involves setting explicit resource requests and limits for containers to ensure predictable performance and prevent resource starvation. This includes CPU and memory requests to guarantee minimum resources, as well as limits to prevent excessive consumption. The pattern also applies to storage resources through PersistentVolumeClaims with specific access modes and capacity requirements.
Real-world Use Case
Use when you need to ensure applications have guaranteed resources or when you want to prevent runaway resource consumption in a multi-tenant cluster.
Source
Advantages
- Predictable performance for applications
- Prevents resource starvation
- Enables efficient cluster utilization
- Supports cluster autoscaling decisions
Disadvantages
- Requires resource capacity planning
- Over-provisioning can waste resources
- Under-provisioning can cause performance issues