Use Kubernetes Volumes NFS


#1

I need detailed stpes to use kuberentes for NFS. I came across many documentation but does not help.


#2

Your question either :slight_smile:

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 :slight_smile:


#3

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