Link Search Menu Expand Document

Storage

Add storage claims to the workloads.


Allow data size in the configuration file yaml

alt_text

Check your data size allowed

alt_text

Add data size in the workload services

alt_text

Database

# Declaration storage claim.
apiVersion: v1
kind: PersistentVolume
metadata:
  name:  borgerhub-data-pv-volume
  labels:
    type: local
spec:
  storageClassName: manual
  capacity:
    storage: 3Gi
  accessModes:
    - ReadWriteMany
  hostPath:
    path: "/mnt/data_borgerhub"
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name:  borgerhub-data-pvc-claim
spec:
  storageClassName: manual
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 3Gi

Back to top



Copyright © Jefferson OC. Distributed by an MIT license.