Graceful Termination - CI/CD用語集の定義
graceful terminationは、強制的に終了させられる前に、podが作業を完了しクリーンアップするための猶予を与えます。
graceful terminationは、停止シグナルを受け取った後、強制的に終了させられる前に、podに処理中の作業を完了させクリーンアップする時間を与える終了シーケンスです。
graceful terminationは、deploy、drain、scale-downの間の取りこぼしたリクエストや壊れた作業を防ぎます。grace periodはクラスタが待つ時間の上限を定めます。
grace period
終了時、podはSIGTERMと terminationGracePeriodSeconds を与えられて終了します。超過するとクラスタはSIGKILLを送るため、長時間実行されるリクエストにはそれに見合った期間が必要です。
関連ガイド
Eviction - CI/CD Glossary DefinitionEviction: Eviction is the termination of a running pod by the cluster, either voluntarily (drains, rebalancin…
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…
Spot Node - CI/CD Glossary DefinitionSpot Node: A spot node is a cheap, interruptible cloud instance that the provider can reclaim on short notice…