use kube-prometheus-stack
This commit is contained in:
parent
bbe1b19d7b
commit
419a954518
|
@ -6,4 +6,4 @@ resources:
|
|||
- ingress-nginx.yaml
|
||||
- grafana-k8s-dashboards.yaml
|
||||
# - grafana.yaml # experimenting with having prometheus install grafana
|
||||
- prometheus.yaml
|
||||
- kube-prometheus-stack.yaml
|
|
@ -1,49 +0,0 @@
|
|||
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: prometheus-community
|
||||
namespace: futureporn
|
||||
spec:
|
||||
interval: 24h
|
||||
url: https://prometheus-community.github.io/helm-charts
|
||||
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: prometheus
|
||||
namespace: futureporn
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: kube-prometheus-stack
|
||||
version: "60.3.0"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: prometheus-community
|
||||
namespace: futureporn
|
||||
interval: 12h
|
||||
values:
|
||||
prometheus:
|
||||
prometheusSpec:
|
||||
storageSpec:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
storageClassName: vultr-block-storage
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
grafana:
|
||||
sidecar:
|
||||
dashboards:
|
||||
enabled: true
|
||||
defaultFolderName: "General"
|
||||
label: grafana_dashboard
|
||||
labelValue: "1"
|
||||
folderAnnotation: grafana_folder
|
||||
searchNamespace: ALL
|
||||
provider:
|
||||
foldersFromFilesStructure: true
|
Loading…
Reference in New Issue