services/srcs/influxdb/persistentvolume.yaml
2023-03-01 04:35:44 +01:00

19 lines
308 B
YAML

apiVersion: v1
kind: PersistentVolume
metadata:
name: influxdb
labels:
type: local
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
capacity:
storage: 1Gi
hostPath:
path: "/mnt/influxdb"
type: DirectoryOrCreate
claimRef:
name: influxdb
namespace: default