Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 523 Bytes

dynamic-storage-allocation.md

File metadata and controls

21 lines (18 loc) · 523 Bytes

OCP Dynamic Storage Allocation

Using annotations it is possible dynamically allocate storage, in this case on Gluster with Heketi.

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
 name: something
 annotations:
   volume.beta.kubernetes.io/storage-class: gluster-heketi
spec:
 accessModes:
  - ReadWriteMany
 resources:
   requests:
     storage: 10Gi