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

CKA study material · question 532 of 1000

A node is running a cron job that prunes unused containers with the container runtime's own CLI. Why does the Kubernetes documentation warn against this?

  1. It bypasses the audit log, hiding the deletions
  2. It can remove containers the kubelet still expects to exist
  3. It resets the node's image garbage collection thresholds
  4. It causes the kubelet to re-register the Node object
Show the answer

Answer: B. It can remove containers the kubelet still expects to exist

The kubelet garbage collects images every five minutes and containers every minute, and external cleanup tools can break that behaviour by deleting containers it still needs.

Source: Garbage Collection (Kubernetes) — Garbage collection of unused containers and images

Challenge yourself on this topic → Study as cards