Merge pull request 'Add Prometheus HelmRelease, PersistentVolumeClaim, and HelmRepository' (#278) from prometheus into main
Reviewed-on: #278
This commit was merged in pull request #278.
This commit is contained in:
14
clusters/ipv6/monitoring/prometheus/prometheus-pvc.yml
Normal file
14
clusters/ipv6/monitoring/prometheus/prometheus-pvc.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: prometheus-longhorn
|
||||||
|
namespace: monitoring
|
||||||
|
spec:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
|
volumeMode: Filesystem
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
storageClassName: longhorn
|
||||||
22
clusters/ipv6/monitoring/prometheus/prometheus-release.yml
Normal file
22
clusters/ipv6/monitoring/prometheus/prometheus-release.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: prometheus
|
||||||
|
namespace: monitoring
|
||||||
|
spec:
|
||||||
|
interval: 6h
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: prometheus
|
||||||
|
version: "28.4.0"
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: prometheus-community
|
||||||
|
namespace: flux-system
|
||||||
|
interval: 6h
|
||||||
|
values:
|
||||||
|
server:
|
||||||
|
persistentVolume:
|
||||||
|
enabled: true
|
||||||
|
existingClaim: prometheus-longhorn
|
||||||
9
clusters/ipv6/monitoring/prometheus/prometheus-repo.yml
Normal file
9
clusters/ipv6/monitoring/prometheus/prometheus-repo.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: prometheus-community
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 6h
|
||||||
|
url: https://prometheus-community.github.io/helm-charts
|
||||||
Reference in New Issue
Block a user