- Home
- All questions
- 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?
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