📜  pod 具有未绑定的立即 PersistentVolumeClaims. - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:33.186000             🧑  作者: Mango

代码示例1
# When a PVC is deleted, the corresponding mounted PV would be released.
# To reuse this PV, set the spec.claimRef to null.
# In the yaml file:
kind: PersistentVolume
spec:
    claimRef: null
Kubectl apply -f 
# OR delete the claimRef section from the yaml file in kuber-dashboard directly.