Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Kubernetes / Storage, Configuration & Data Protection

Check reclaim policy before deleting a Kubernetes storage claim

Deleting a claim can trigger deletion of its backing storage depending on policy and provisioner behavior. Inspect the actual bound PV first.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Kubernetes · kubectl with supported client/server versions and delegated RBAC. Examples use namespace app unless noted. Check context, namespace, APIs and provider support first.

Start with this check

Check which system and tools you are using. Replace example objects, namespaces, images, file paths and hosts with approved values. Remove sensitive information before sharing output. Follow the application owner’s process for changes.

kubectl get pv pv-example -o jsonpath='{.spec.persistentVolumeReclaimPolicy}{" "}{.status.phase}{" "}{.spec.claimRef}'

What the results mean

The result links the example PV to its claim and reclaim behavior. It does not prove a valid backup or authorize cleanup.

Fix the cause and check again

Confirm the real volume, data owner and recovery copy before any decommission. Use the supported retention or migration plan and verify backend state.

Before changing production

Do not delete a PVC as a troubleshooting experiment or assume recreating its name restores the original data.

Share this article

Back to all articles