--- apiVersion: v1 kind: PersistentVolume metadata: annotations: pv.kubernetes.io/provisioned-by: smb.csi.k8s.io name: pv-smb-clusterdata spec: capacity: storage: 100Gi accessModes: - ReadWriteMany persistentVolumeReclaimPolicy: Retain storageClassName: smb mountOptions: - dir_mode=0777 - file_mode=0777 csi: driver: smb.csi.k8s.io volumeHandle: 192.168.1.12##ClusterData volumeAttributes: source: //192.168.1.12/ClusterData nodeStageSecretRef: name: smbcreds namespace: default --- kind: PersistentVolumeClaim apiVersion: v1 metadata: name: pvc-smb-clusterdata namespace: default spec: accessModes: - ReadWriteMany resources: requests: storage: 10Gi volumeName: pv-smb-clusterdata storageClassName: smb