-
Notifications
You must be signed in to change notification settings - Fork 1
/
scalar-prometheus-custom-values.yaml
195 lines (154 loc) · 4.09 KB
/
scalar-prometheus-custom-values.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
defaultRules:
# -- Default PrometheusRules are not enabled
create: false
alertmanager:
# -- alertmanager is enabled
enabled: true
# -- Use load balancer
# service:
# type: LoadBalancer
# -- Use ingress
# ingress:
# enabled: true
# -- Only check own namespace
alertmanagerConfigNamespaceSelector: null
grafana:
# -- grafana is enabled
enabled: true
# -- Use load balancer
# service:
# type: LoadBalancer
# port: 3000
# -- Use ingress
# ingress:
# enabled: true
# -- Default Grafana dashboards are not enabled
defaultDashboardsEnabled: false
sidecar:
datasources:
enabled: true
defaultDatasourceEnabled: false
label: grafana_datasource
labelValue: "1"
dashboards:
enabled: true
label: grafana_dashboard
labelValue: "1"
# -- Resource limits & requests
resources: {}
# requests:
# memory: 400Mi
# -- Grafana's primary configuration
grafana.ini:
security:
# -- allow Grafana to be embedded (not set the X-Frame-Options header)
# -- If you use Scalar Manager, you need to set allow_embedding to true.
# -- https://grafana.com/docs/grafana/latest/administration/configuration/#allow_embedding
allow_embedding: false
# -- Additional data source configurations
additionalDataSources:
- name: Prometheus
type: prometheus
uid: prometheus
url: http://scalar-monitoring-kube-pro-prometheus:9090/
access: proxy
editable: false
isDefault: false
jsonData:
timeInterval: 30s
# - name: Loki
# type: loki
# uid: loki
# url: http://scalar-logging-loki:3100/
# access: proxy
# editable: false
# isDefault: false
kubeApiServer:
# -- Scraping kube-apiserver is disabled
enabled: false
kubeControllerManager:
# -- Scraping kube-controller-manager is disabled
enabled: false
coreDns:
# -- Scraping CoreDNS is disabled
enabled: false
kubeEtcd:
# -- Scraping etcd is disabled
enabled: false
kubeScheduler:
# -- Scraping kube-scheduler is disabled
enabled: false
kubeProxy:
# -- Scraping kube-proxy is disabled
enabled: false
kubelet:
# -- Scraping kubelet is disabled
enabled: false
kubeStateMetrics:
# -- kube-state-metrics is disabled
enabled: false
nodeExporter:
# -- node-exporter is disabled
enabled: false
prometheusOperator:
# -- Prometheus Operator is enabled
enabled: true
admissionWebhooks:
patch:
# -- Resource limits & requests
resources: {}
# requests:
# memory: 400Mi
namespaces:
# -- Only check own namespace
releaseNamespace: true
kubeletService:
# -- kubelet service for scraping kubelets is disabled
enabled: false
## -- Resource limits & requests
resources: {}
# requests:
# memory: 400Mi
prometheus:
# -- Prometheus is enabled
enabled: true
# -- Use load balancer
# service:
# type: LoadBalancer
# -- Use ingress
# ingress:
# enabled: true
prometheusSpec:
# -- All PrometheusRules are enabled
ruleSelectorNilUsesHelmValues: false
# -- Only check own namespace
ruleNamespaceSelector: {}
# -- All ServiceMonitors are enabled
serviceMonitorSelectorNilUsesHelmValues: false
# -- Only check own namespace
serviceMonitorNamespaceSelector: {}
# -- All PodMonitors are enabled
podMonitorSelectorNilUsesHelmValues: false
# -- Only check own namespace
podMonitorNamespaceSelector: {}
# -- All Probes are enabled
probeSelectorNilUsesHelmValues: false
# -- Only check own namespace
probeNamespaceSelector: {}
## -- Resource limits & requests
resources: {}
# requests:
# memory: 400Mi
## -- Prometheus StorageSpec for persistent data
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/storage.md
storageSpec: {}
## Using PersistentVolumeClaim
##
# volumeClaimTemplate:
# spec:
# storageClassName: gluster
# accessModes: ["ReadWriteOnce"]
# resources:
# requests:
# storage: 50Gi
# selector: {}