Resource Request and Limit - CI/CD用語集の定義
resource request は pod に保証される CPU とメモリで、scheduling に使われます。limit は、throttling(CPU)されるか OOM で kill される(メモリ)前に pod が使用できる最大値です。request が高すぎると容量を無駄にし、limit が低すぎると exit code 137 を引き起こします。
CIでは
OOM(exit 137)する runner pod は、通常 build が必要とする量より低いメモリ limit を持っています。request ではなく limit を上げることで kill が解消されます。
関連ガイド
Namespace Quota - CI/CD Glossary DefinitionNamespace Quota: A namespace quota (ResourceQuota) caps the aggregate resources a namespace may consume: tota…
kubelet - CI/CD Glossary Definitionkubelet: The kubelet is the agent that runs on every Kubernetes node. It watches the API server for pods assi…
OOM (Out of Memory) - CI/CD Glossary DefinitionOOM (Out of Memory): **OOM** is when a process exceeds available memory and the kernel kills it. On CI runner…