37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: prometheus-server-pv
|
|
labels:
|
|
name: prometheus-server-pv
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
capacity:
|
|
storage: 2000Gi
|
|
csi:
|
|
driver: exa.csi.ddn.com
|
|
volumeHandle: exa1:/prometheus-server
|
|
volumeAttributes: # volumeAttributes are the alternative of storageClass params for static (precreated) volumes.
|
|
# mountOptions: ro, noflock # list of options for `mount` command
|
|
bindMount: "false" # Determines, whether volume will bind mounted or as a separate lustre mount.
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: storage-prometheus-alertmanager-0
|
|
labels:
|
|
name: storage-prometheus-alertmanager-0
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
capacity:
|
|
storage: 8Gi
|
|
csi:
|
|
driver: exa.csi.ddn.com
|
|
volumeHandle: exa1:/prometheus-alert
|
|
volumeAttributes: # volumeAttributes are the alternative of storageClass params for static (precreated) volumes.
|
|
# mountOptions: ro, noflock # list of options for `mount` command
|
|
bindMount: "false" # Determines, whether volume will bind mounted or as a separate lustre mount.
|
|
|