-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmrelease.yaml
77 lines (77 loc) · 2.01 KB
/
helmrelease.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: kube-prometheus-stack
namespace: prometheus
spec:
chart:
spec:
chart: kube-prometheus-stack
version: 66.2.1
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
namespace: flux-system
name: prometheus-community
install:
crds: Create
upgrade:
crds: CreateReplace
interval: 1h
driftDetection:
mode: enabled
ignore:
# Ignore "validated" annotation which is not inserted during install
- target:
kind: PrometheusRule
paths:
- /metadata/annotations/prometheus-operator-validated
values:
grafana:
enabled: false
defaultRules:
disabled:
KubeControllerManagerDown: true
KubeProxyDown: true
KubeSchedulerDown: true
NodeRAIDDegraded: true
alertmanager:
enabled: false
prometheus:
agentMode: true
prometheusSpec:
podMetadata:
labels:
policy.gabe565.com/egress-nodes: "true"
policy.gabe565.com/egress-namespace: "true"
policy.gabe565.com/ingress-namespace: "true"
podMonitorSelectorNilUsesHelmValues: false
serviceMonitorSelectorNilUsesHelmValues: false
scrapeConfigSelectorNilUsesHelmValues: false
scrapeInterval: 1m
evaluationInterval: 1m
remoteWrite:
- name: Prometheus
url: ${prometheus_url}/api/v1/write
kubeApiServer:
enabled: false
kubelet:
enabled: false
kubeControllerManager:
enabled: false
coreDns:
enabled: false
kubeEtcd:
enabled: false
kubeScheduler:
enabled: false
kubeProxy:
enabled: false
prometheusOperator:
podLabels:
policy.gabe565.com/egress-kubeapi: "true"
policy.gabe565.com/egress-namespace: "true"
policy.gabe565.com/ingress-namespace: "true"
kube-state-metrics:
customLabels:
policy.gabe565.com/egress-kubeapi: "true"