Browse Community
Help
Log In
Responses(2)
Solutions(0)
Flo_csI
2 Intern
•
167 Posts
0
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.
sundar.rajan
29 Posts
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: v1kind: PersistentVolumemetadata:name: pv0003spec:capacity:storage: 5GiaccessModes:- ReadWriteOncepersistentVolumeReclaimPolicy: Recyclenfs:path: /tmpserver: 172.17.0.2
Dell Support Resources
View All
Top
Flo_csI
2 Intern
•
167 Posts
0
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.
sundar.rajan
29 Posts
0
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