I need detailed stpes to use kuberentes for NFS. I came across many documentation but does not help.
Your question either
Try to explain everything that you tried and failed, from which site, and exactly which error you got on every way you tried.
That would make helping more reasonable. It’s quite difficult to guess otherwise
persistantVolume.yml
apiVersion: v1
kind: PersistentVolume
metadata:
name: task-pv-volume
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
# hostPath:
# path: /refresh/home
nfs:
path: /refresh/user_projects/domains/ohs
server: 192.168.20.10
readOnly: false