wordpress-7-fpm/pipeline/PersistentVolumeCDCI.yaml

30 lines
561 B
YAML
Raw Permalink Normal View History

2021-06-29 11:51:05 +00:00
kind: PersistentVolume
apiVersion: v1
metadata:
2021-06-29 12:09:35 +00:00
name: cdci-wordpress-7-fpm-pvc-volume
2021-06-29 11:51:05 +00:00
namespace: cdci-librecloud-online
labels:
type: local
spec:
storageClassName: manual
persistentVolumeReclaimPolicy: Delete
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/cdci"
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
2021-06-29 12:09:35 +00:00
name: cdci-wordpress-7-fpm-pvc
2021-06-29 11:51:05 +00:00
namespace: cdci-librecloud-online
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi