kubernetes-configs/apps/prometheus/pvc.yaml

12 lines
296 B
YAML

# prometheus-pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: prometheus-data-pvc # Matches the name in your deployment
spec:
accessModes:
- ReadWriteOnce # Standard for Prometheus (single replica)
resources:
requests:
storage: 20Gi # Adjust size as needed