summaryrefslogtreecommitdiff
path: root/f3s/tempo/persistent-volumes.yaml
blob: 8f84fdc43e6a11c727cbd2129deb57d2008b534e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Persistent Volume and Claim for Grafana Tempo trace storage
# Following the pattern from Loki deployment
# Storage: 10Gi at /data/nfs/k3svolumes/tempo/data

apiVersion: v1
kind: PersistentVolume
metadata:
  name: tempo-data-pv
spec:
  capacity:
    storage: 10Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  hostPath:
    path: /data/nfs/k3svolumes/tempo/data
    type: Directory
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: tempo-data-pvc
  namespace: monitoring
spec:
  storageClassName: ""  # Empty for manual binding to PV
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 10Gi