Ocelot-Social/volumes/mongo-export.yml
Robert Schäfer bbfe39e076 Use folders for groups of YAML files
This keeps our configuration DRY and helps us to save keystrokes.
2019-01-31 23:27:23 +01:00

26 lines
459 B
YAML

---
kind: PersistentVolume
apiVersion: v1
metadata:
name: mongo-export-volume
namespace: staging
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 1Gi
hostPath:
path: /data/shared/mongo-exports/
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: mongo-export-claim
namespace: staging
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi