apiVersion: v1
kind: PersistentVolume
metadata:
  name: pv-prometheus
#  namespace: monitoring
  labels:
    type: local   
    app: prometheus
spec:
  storageClassName: standard
  capacity:
    storage: 500Mi
  accessModes:
    - ReadWriteOnce
  hostPath: 
    path: /kra-data/data/dev/prometheus-data
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: pvc-prometheus
  namespace: monitoring
  labels:
    app: prometheus
spec:
  storageClassName: standard
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 500Mi
---
