Storage

Local Storage

Local Storage can be claimed with storageClassName: local-storage

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  labels:
    app: nginx
  name: nginx-claim
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 439Gi
  storageClassName: local-storage

Block, object and file storage

Depending on what storage services exists in your cluster can its corresponding storageClass be used

  • asergo-rbd
  • asergo-obj
  • asergo-file
  • asergo-nfs

Example of requesting block storage below.

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  labels:
    app: nginx
  name: nginx-claim
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 439Gi
  storageClassName: asergo-rbd