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

CKA study material · question 534 of 1000

A node is configured with imageMaximumGCAge: 12h, but images that have been unused for a day are still present after a kubelet restart. Why?

  1. A kubelet restart resets the tracked image age, so the full period must elapse again
  2. imageMaximumGCAge only applies when the disk is above HighThresholdPercent
  3. The setting is expressed in minutes, not hours
  4. Images referenced by any Pod in the cluster are exempt from age-based collection
Show the answer

Answer: A. A kubelet restart resets the tracked image age, so the full period must elapse again

Image usage age is not tracked across kubelet restarts; after a restart the kubelet waits the whole imageMaximumGCAge duration again before an image qualifies on age.

Source: Garbage Collection (Kubernetes) — Garbage collection for unused container images

Challenge yourself on this topic → Study as cards