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

CKA study material · question 994 of 1000

A node has shutdownGracePeriod 30s and shutdownGracePeriodCriticalPods 10s. How is the window divided?

  1. 10 seconds for ordinary Pods, then 30 for critical ones
  2. 30 seconds for ordinary Pods, then 10 for critical ones
  3. 15 seconds each, with 10 held in reserve
  4. 20 seconds for ordinary Pods, then 10 for critical ones
Show the answer

Answer: D. 20 seconds for ordinary Pods, then 10 for critical ones

shutdownGracePeriod is the total, so the critical Pods' share is carved out of it: 30 minus 10 leaves 20 seconds for ordinary Pods first.

Source: Node Shutdowns (Kubernetes) — Graceful node shutdown › Configuring graceful node shutdown

Challenge yourself on this topic → Study as cards