22 lines
758 B
YAML
22 lines
758 B
YAML
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: pv-infr-dvops-jenkins-agents-dev
|
|
annotations:
|
|
pv.kubernetes.io/provisioned-by: filestore.csi.storage.gke.io
|
|
spec:
|
|
storageClassName: sc-filestore-standard
|
|
capacity:
|
|
storage: 1Ti
|
|
accessModes:
|
|
- ReadWriteMany
|
|
persistentVolumeReclaimPolicy: Retain
|
|
volumeMode: Filesystem
|
|
csi:
|
|
driver: filestore.csi.storage.gke.io
|
|
# Modify this to use the zone, filestore instance and share name.
|
|
volumeHandle: "modeInstance/asia-southeast1-c/fs-infr-dvops-jenkins-agents-dev-ase1/fsn_infr_dev"
|
|
volumeAttributes:
|
|
ip: 10.76.232.194 # Modify this to Pre-provisioned Filestore instance IP
|
|
volume: fsn_infr_dev # Modify this to Pre-provisioned Filestore instance share name
|