services/srcs/mariadb/persistentvolume.yaml

19 lines
305 B
YAML
Raw Permalink Normal View History

2023-03-01 04:35:44 +01:00
apiVersion: v1
kind: PersistentVolume
metadata:
name: mariadb
labels:
type: local
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
capacity:
storage: 1Gi
hostPath:
path: "/mnt/mariadb"
type: DirectoryOrCreate
claimRef:
name: mariadb
namespace: default