#apiVersion: v1
#kind: PersistentVolume
#metadata:
#  name: data-nfsplugin
#  labels:
#    name: data-nfsplugin
#spec:
#  storageClassName: csi-nfs
#  accessModes:
#  - ReadWriteMany
#    #  claimRef:
#    #    namespace: default
#    #    name: data-nfsplugin
#  capacity:
#    storage: 1Gi
#  csi:
#    driver: csi-nfsplugin
#    volumeHandle: data-id
#    volumeAttributes: 
#      server: 9.162.48.100
#      share: /srv/nfstest
#---
#apiVersion: v1
#kind: PersistentVolumeClaim
#metadata:
#  name: data-nfsplugin
#spec:
#  storageClassName: csi-nfs
#  accessModes:
#  - ReadWriteMany
#  resources:
#    requests:
#      storage: 1Gi
#  volumeName: "example-dataset"
#
#---
apiVersion: v1
kind: Pod
metadata:
  name: nginx 
spec:
  containers:
  - image: maersk/nginx
    imagePullPolicy: Always
    name: nginx
    ports:
    - containerPort: 80
      protocol: TCP
    volumeMounts:
      - mountPath: /var/www
        name: data-nfsplugin 
  volumes:
  - name: data-nfsplugin
    persistentVolumeClaim:
      claimName: example-dataset 
