Controlling Pod Resource Consumption
Contents
2021 OpenShift Administrator’s Office Hour - Controlling Pod Resource Consumption
Two key concepts
- request: reservation cpu/ram
- limit: strong maximum cpu/ram
QoS
Documentation
Policy that constrains pods resource allocation.
- Guaranteed: request = limit
- Burstable: request < limit
- BestEffort: no request, no limit
Quota
Documentation
Policy that constrains namespace (or OS project) resource allocations in a custer.
limit and request.
Quota can be also defined for storage
Limit Range
Documentation
Policy that constrains Pods or Containers resource allocations in a namespace.
→ Defines min, max and default for cpu and ram.