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

CKA study material · question 979 of 1000

A Pod is deleted with default settings. What signal does its main process receive first, and how long before SIGKILL?

  1. SIGKILL immediately
  2. SIGTERM, followed by SIGKILL after 10 seconds
  3. SIGHUP, followed by SIGTERM after 30 seconds
  4. SIGTERM, followed by SIGKILL after 30 seconds
Show the answer

Answer: D. SIGTERM, followed by SIGKILL after 30 seconds

The kubelet sends TERM to the main process in each container and only sends KILL once the grace period, 30 seconds by default, has expired.

Source: Pod Lifecycle (Kubernetes) — Termination of Pods

Challenge yourself on this topic → Study as cards