add grafana pod to prometheus service

This commit is contained in:
2024-06-26 22:27:29 +10:00
parent 6278918f62
commit b9e041e09a
3 changed files with 33 additions and 2 deletions

View File

@@ -41,6 +41,14 @@ spec:
mountPath: /etc/prometheus/
- name: prometheus-storage-volume
mountPath: /prometheus/
- name: grafana
image: grafana/grafana
ports:
- containerPort: 3000
volumeMounts:
- name: prometheus-storage-volume
mountPath: /var/lib/grafana
subPath: grafana
volumes:
- name: prometheus-config-volume
hostPath: