kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch05/todo-list/persistentVolume-nfs.yaml

12 lines
197 B
YAML

apiVersion: v1
kind: PersistentVolume
metadata:
name: pv01
spec:
capacity:
storage: 50Mi
accessModes:
- ReadWriteOnce
nfs:
server: nfs.my.network
path: "/kubernetes-volumes"