Study. uk . com
  1. Home
  2. All questions
  3. Question 433

CKA study material · question 433 of 1000

A Pod is deleted with terminationGracePeriodSeconds set to 0. What happens to its preStop hook?

  1. It runs to completion
  2. The deletion is rejected
  3. It is skipped entirely
  4. It runs with a two-second budget
Show the answer

Answer: C. It is skipped entirely

Setting the grace period to 0 means the preStop hook is not run at all.

Source: Pod Lifecycle (Kubernetes) — Termination of Pods

Challenge yourself on this topic → Study as cards