SchedulingにおけるPreemptionとは?
preemptionは、他の方法ではscheduleできない保留中の優先度の高いpodのために空きを作るべく、すでに実行中の優先度の低いpodを取り除く行為です。schedulerは最も影響の小さい犠牲対象を選び、それらにgracefulな終了の猶予を与えます。これは優先度が異なり、かつ空きキャパシティが存在しない場合にのみ起こります。
なぜ重要か
preemptionは、満杯のclusterでも緊急のworkloadがキャパシティを得られることを、重要度の低いものを中断する代償と引き換えに保証します。これを理解すると、安定していたpodが突然evictされる理由を説明できます。
関連ガイド
What Is Pod Priority?Pod priority is a numeric value attached to a pod that tells the scheduler how important it is, influencing s…
What Is Node Pressure?Node pressure is a condition signaling that a node is low on a resource such as memory, disk, or process IDs,…
What Is a Descheduler?A descheduler periodically evicts pods that are now sub-optimally placed so the scheduler can reposition them…