Container Resource Calculator
Pod Resource Sizing
Calculate resource requests and limits for Kubernetes pods
Cluster Capacity Planning
Calculate how many pods fit on a cluster
Formula
Request = Avg Usage x Headroom | Limit = Peak Usage x Headroom | Max Pods = min(Available CPU / Pod CPU, Available Mem / Pod Mem)
Frequently Asked Questions
What is the difference between requests and limits?
Requests are the guaranteed resources a container gets -- the scheduler uses requests to place pods on nodes. Limits are the maximum resources a container can use. If a container exceeds its memory limit, it is OOM-killed. If it exceeds CPU limit, it is throttled. Set requests to average usage and limits to peak usage.
How should I size my containers?
Start by monitoring actual usage in staging/production. Set requests to the 90th percentile of normal usage plus 20-25% headroom. Set limits to observed peak usage plus 25-50% buffer. Under-requesting wastes cluster resources. Under-limiting causes noisy neighbor issues. Over-limiting causes unnecessary OOM kills.
You may also need
A
Cloud Computing Cost Calculator
Free cloud computing cost calculator. Estimate monthly costs for compute, storage, and data transfer on cloud platforms.
ScienceA
CPU Benchmark Comparison
Free CPU benchmark comparison calculator. Compare CPU performance using single-core and multi-core scores, calculate performance ratios and workload estimates.
ScienceA
RAM Speed Calculator
Free RAM speed calculator. Calculate memory bandwidth, latency in nanoseconds, and compare DDR4 vs DDR5 performance characteristics.
Science