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

CKA study material · question 533 of 1000

A node's image filesystem crosses its HighThresholdPercent. Which images does the kubelet delete, and until when?

  1. The largest images first, until half the disk is free
  2. The least recently used images first, until usage falls to LowThresholdPercent
  3. Every image not referenced by a running Pod, in one pass
  4. The most recently pulled images first, until the next sweep
Show the answer

Answer: B. The least recently used images first, until usage falls to LowThresholdPercent

Image garbage collection is triggered by the high threshold and stops at the low threshold, removing images in order of last use, oldest first.

Source: Garbage Collection (Kubernetes) — Container image lifecycle

Challenge yourself on this topic → Study as cards