2016-11-11 03:59:46 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: PersistentVolume
|
|
|
|
metadata:
|
2020-06-29 19:39:59 +00:00
|
|
|
name: glusterfs
|
2016-11-11 03:59:46 +00:00
|
|
|
spec:
|
|
|
|
capacity:
|
|
|
|
storage: "{{ hostvars[groups['gfs-cluster'][0]].gluster_disk_size_gb }}Gi"
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteMany
|
|
|
|
glusterfs:
|
|
|
|
endpoints: glusterfs
|
|
|
|
path: gluster
|
|
|
|
readOnly: false
|
|
|
|
persistentVolumeReclaimPolicy: Retain
|