19 lines
308 B
YAML
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
|