add prometheus
ci / build (push) Waiting to run
Details
ci / build (push) Waiting to run
Details
This commit is contained in:
parent
71f4c7fb89
commit
ef87e817b1
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +1,3 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: futureporn
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue