-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpv.yaml
28 lines (28 loc) · 843 Bytes
/
pv.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
apiVersion: v1
kind: PersistentVolume
metadata:
# The name of the PV
name: pv-lustre
spec:
accessModes:
- ReadWriteMany
capacity:
# This field should be the true size of the Azure Lustre you want
# to used. So that, k8s can allocate resources better.
storage: 48Ti
csi:
driver: azurelustre.csi.azure.com
volumeAttributes:
# The file system name of the existing Lustre
fs-name: ${EXISTING_LUSTRE_FS_NAME}
# The IP address of the existing Lustre
mgs-ip-address: ${EXISTING_LUSTRE_IP_ADDRESS}
# Make sure this VolumeID is unique in the cluster
volumeHandle: ${UNIQUE_IDENTIFIER_VOLUME_ID}
# "Delete" is not supported in static provisioning PV
mountOptions:
- noatime
- flock
persistentVolumeReclaimPolicy: Retain
storageClassName: sc.azurelustre.csi.azure.com