- Home
- All questions
- Question 528
CKA study material · question 528 of 1000
During foreground cascading deletion, an object sits in a "deletion in progress" state. Which two things does the API server set on it? Choose two.
Show the answer
Answer: A. metadata.deletionTimestamp
C. A foregroundDeletion entry in metadata.finalizers
Foreground deletion stamps the deletion time and adds the foregroundDeletion finalizer, which is what keeps the owner visible in the API until its dependents have gone.
Source: Garbage Collection (Kubernetes) — Cascading deletion › Foreground cascading deletion