Study. uk . com
  1. Home
  2. All questions
  3. 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.

  1. metadata.deletionTimestamp
  2. status.phase set to Terminating
  3. A foregroundDeletion entry in metadata.finalizers
  4. metadata.ownerReferences cleared
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

Challenge yourself on this topic → Study as cards