start from an easier starting point
This commit is contained in:
parent
f1a76a715c
commit
e0386f8f73
35 changed files with 281 additions and 32 deletions
40
old-manifests/templates/monitoring/prometheus.yaml
Normal file
40
old-manifests/templates/monitoring/prometheus.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: prometheus-community
|
||||
namespace: flux-system
|
||||
spec:
|
||||
url: https://prometheus-community.github.io/helm-charts
|
||||
interval: 1h
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: prometheus-operator
|
||||
namespace: monitoring
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: kube-prometheus-stack
|
||||
version: 58.1.2
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: prometheus-community
|
||||
namespace: flux-system
|
||||
install:
|
||||
createNamespace: true
|
||||
upgrade:
|
||||
disableWait: true
|
||||
timeout: 5m
|
||||
values:
|
||||
prometheus:
|
||||
prometheusSpec:
|
||||
serviceMonitorSelectorNilUsesHelmValues: false
|
||||
# Optional: expose Prometheus/Grafana via NodePort, Ingress, etc.
|
||||
grafana:
|
||||
enabled: false
|
||||
alertmanager:
|
||||
enabled: true
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue