add prometheus
ci / build (push) Waiting to run Details

This commit is contained in:
CJ_Clippy 2024-06-20 16:28:02 -08:00
parent 71f4c7fb89
commit ef87e817b1
4 changed files with 21360 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,3 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: futureporn
--- ---
apiVersion: source.toolkit.fluxcd.io/v1 apiVersion: source.toolkit.fluxcd.io/v1

View File

@ -4,4 +4,6 @@ resources:
- external-dns.yaml - external-dns.yaml
- cert-manager.yaml - cert-manager.yaml
- ingress-nginx.yaml - ingress-nginx.yaml
- grafana.yaml - grafana-k8s-dashboards.yaml
# - grafana.yaml # experimenting with having prometheus install grafana
- prometheus.yaml

View File

@ -0,0 +1,44 @@
---
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: "25.22.0"
sourceRef:
kind: HelmRepository
name: prometheus-community
namespace: futureporn
interval: 12h
values:
server:
persistentVolume:
size: 10Gi
storageClass: vultr-block-storage
grafana:
sidecar:
dashboards:
enabled: true
defaultFolderName: "General"
label: grafana_dashboard
labelValue: "1"
folderAnnotation: grafana_folder
searchNamespace: ALL
provider:
foldersFromFilesStructure: true