Pod Disruption Budget - CI/CD用語集の定義
pod disruption budgetは、いくつのレプリカを同時に自発的に停止できるかを制限し、十分な数を稼働させ続けます。
pod disruption budget (PDB) は、node drainのような操作の間に、アプリケーションのpodが同時に自発的に中断される数を制限し、可用性を保護します。
PDBはクラスタのメンテナンスやrolloutの間に可用性を保護します。またbudgetを守ることが予算を超える場合には、node drainを停止させることもあります。
drainとの相互作用
minAvailable: 2 のPDBは、準備完了のpodが2つ未満になるようなevictionをブロックするため、代替が別の場所で立ち上がるまでnode drainが一時停止することがあります。
関連ガイド
Node Drain - CI/CD Glossary DefinitionNode Drain: A node drain safely evicts all pods from a node so it can be updated or removed, respecting pod d…
Eviction - CI/CD Glossary DefinitionEviction: Eviction is the termination of a running pod by the cluster, either voluntarily (drains, rebalancin…
Graceful Termination - CI/CD Glossary DefinitionGraceful Termination: Graceful termination is the shutdown sequence that gives a pod time to finish in-flight…