---
apiVersion: v1
kind: PersistentVolume
metadata:
  name: mysql-vol
  namespace: visitors-dashboard
  labels:
    type: local
    name: mysql-vol
    app: visitors
    tier: mysql
spec:
  storageClassName: manual
  capacity:
    storage: 10Gi
  accessModes:
    - ReadWriteOnce
  hostPath:
    path: "/mnt/data"