Merge branch 'main' of https://k3gtpi.jumpingcrab.com/home_lab/k8s_flux_infra
This commit is contained in:
commit
6603bd73ce
@ -1,63 +1,62 @@
|
|||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: prometheus-community
|
name: prometheus-community
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
interval: 12h
|
interval: 12h
|
||||||
type: oci
|
type: oci
|
||||||
url: oci://ghcr.io/prometheus-community/charts
|
url: oci://ghcr.io/prometheus-community/charts
|
||||||
---
|
---
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-prometheus-stack
|
name: kube-prometheus-stack
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: flux
|
serviceAccountName: flux
|
||||||
interval: 1h
|
interval: 1h
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
version: 79.4.1 # {"$imagepolicy": "flux-system:kube-prometheus-stack:tag"}
|
version: 79.12.0 # {"$imagepolicy": "flux-system:kube-prometheus-stack:tag"}
|
||||||
chart: kube-prometheus-stack
|
chart: kube-prometheus-stack
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: prometheus-community
|
name: prometheus-community
|
||||||
interval: 12h
|
interval: 12h
|
||||||
install:
|
install:
|
||||||
crds: Create
|
crds: Create
|
||||||
timeout: 9m
|
timeout: 9m
|
||||||
upgrade:
|
upgrade:
|
||||||
crds: CreateReplace
|
crds: CreateReplace
|
||||||
timeout: 9m
|
timeout: 9m
|
||||||
driftDetection:
|
driftDetection:
|
||||||
mode: enabled
|
mode: enabled
|
||||||
ignore:
|
ignore:
|
||||||
- paths:
|
- paths:
|
||||||
- /metadata/annotations/prometheus-operator-validated
|
- /metadata/annotations/prometheus-operator-validated
|
||||||
target:
|
target:
|
||||||
kind: PrometheusRule
|
kind: PrometheusRule
|
||||||
valuesFrom:
|
valuesFrom:
|
||||||
- kind: ConfigMap
|
- kind: ConfigMap
|
||||||
name: flux-kube-state-metrics-config
|
name: flux-kube-state-metrics-config
|
||||||
valuesKey: kube-state-metrics-config.yaml
|
valuesKey: kube-state-metrics-config.yaml
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: flux-grafana-auth-secret
|
name: flux-grafana-auth-secret
|
||||||
valuesKey: values.yaml
|
valuesKey: values.yaml
|
||||||
values:
|
values:
|
||||||
alertmanager:
|
alertmanager:
|
||||||
enabled: false
|
enabled: false
|
||||||
prometheus:
|
prometheus:
|
||||||
prometheusSpec:
|
prometheusSpec:
|
||||||
retention: 12h
|
retention: 12h
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 200Mi
|
memory: 200Mi
|
||||||
podMonitorNamespaceSelector: {}
|
podMonitorNamespaceSelector: {}
|
||||||
podMonitorSelector:
|
podMonitorSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/component: monitoring
|
app.kubernetes.io/component: monitoring
|
||||||
grafana:
|
grafana:
|
||||||
defaultDashboardsEnabled: false
|
defaultDashboardsEnabled: false
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user