2 Intern

 • 

167 Posts

April 27th, 2021 08:00

Hi @rajans ,

For the iscsi non deleting PVC we will need more details from the logs.

You can get them with : 

kubectl get pod -n unity | awk '/unity/ {system("kubectl logs --prefix=true --all-containers -n unity "$1" > /tmp/"$1".log")}'

 

That's an interesting use case on the NFS you can reach me in PM and share your email address.

For PS assistance same, please send me a PM message.

May 3rd, 2021 22:00

The issue has been resolved 

customer set the 

https://docs.openshift.com/enterprise/3.0/architecture/additional_concepts/storage.html

persistentVolumeReclaimPolicy: Recycle  to  persistentVolumeReclaimPolicy: Retain

so upon pvc deletion it deletes from the openshift but not from the Unity .

 apiVersion: v1
kind: PersistentVolume
metadata:
name: pv0003
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Recycle
nfs:
path: /tmp
server: 172.17.0.2

No Events found!

Top