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

CKA study material · question 808 of 1000

A Retain-policy PersistentVolume is stuck in Released and a new claim will not bind to it. What must be done?

  1. Change its reclaim policy to Delete
  2. Recreate the claim with the same name as the original
  3. Set its phase to Available with kubectl patch
  4. Remove the claimRef entry from the volume's spec
Show the answer

Answer: D. Remove the claimRef entry from the volume's spec

A Released volume still records the claim it was bound to; clearing claimRef is what makes it Available so another claim can bind.

Source: Persistent Volumes (Kubernetes) — PersistentVolumes › Phase

Challenge yourself on this topic → Study as cards