c12s-kubespray/roles/kubernetes-apps/ansible/templates/glusterfs-kubernetes-pv.yml.j2

15 lines
317 B
Text
Raw Normal View History

apiVersion: v1
kind: PersistentVolume
metadata:
2016-11-16 15:21:46 +00:00
name: glusterfs
spec:
2016-11-16 15:21:46 +00:00
capacity:
storage: "{{ hostvars[groups['gfs-cluster'][0]].gluster_disk_size_gb }}Gi"
accessModes:
- ReadWriteMany
glusterfs:
endpoints: glusterfs
path: gluster
readOnly: false
persistentVolumeReclaimPolicy: Retain