update grafana-oss

main
ycz008 2024-04-15 20:03:46 +08:00
parent 01092b2ed1
commit c2a1dbdb78
1 changed files with 1 additions and 16 deletions

View File

@ -23,17 +23,7 @@ data:
from_address = do-not-reply@beaconfireinc.com
from_name = Bfs-Grafana
;startTLS_policy = NoStartTLS
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: grafana-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
@ -85,16 +75,11 @@ spec:
cpu: 50m
memory: 750Mi
volumeMounts:
- name: grafana-pv
mountPath: /var/lib/grafana
- name: grafana-cm
mountPath: /etc/grafana/grafana.ini
subPath: grafana.ini
readOnly: true
volumes:
- name: grafana-pv
persistentVolumeClaim:
claimName: grafana-pvc
- name: grafana-cm
configMap:
name: grafana-cm