forked from openebs/monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
655 lines (536 loc) · 17.8 KB
/
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
# Default values for openebs-monitoring.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
## Provide a name in place of openebs-monitoring for `app:` labels
##
nameOverride: ""
## Override the deployment namespace
##
namespaceOverride: ""
## Provide a name to substitute for the full names of resources
##
fullnameOverride: ""
## Configuration for kube-prometheus-stack subchart
kube-prometheus-stack:
install: true
prometheus-node-exporter:
## privilege and access control settings for node-exporter
securityContext:
fsGroup: 65534
runAsGroup: 0
runAsNonRoot: false
runAsUser: 0
## Additional container arguments
extraArgs:
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+)($|/)
- --collector.filesystem.ignored-fs-types=^(tmpfs|autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$
- --collector.diskstats.ignored-devices=^(ram|loop|fd|(h|s|v|xv)d[a-z]+|nvme\\d+n\\d+p)\\d+$
prometheus:
service:
type: NodePort
nodePort: 32514
prometheusSpec:
## If true, a nil or {} value for prometheus.prometheusSpec.serviceMonitorSelector will cause the
## prometheus resource to be created with selectors based on values in the helm deployment,
## which will also match the servicemonitors created
##
serviceMonitorSelectorNilUsesHelmValues: false
## If true, a nil or {} value for prometheus.prometheusSpec.podMonitorSelector will cause the
## prometheus resource to be created with selectors based on values in the helm deployment,
## which will also match the podmonitors created
##
podMonitorSelectorNilUsesHelmValues: false
## If true, a nil or {} value for prometheus.prometheusSpec.ruleSelector will cause the
## prometheus resource to be created with selectors based on values in the helm deployment,
## which will also match the PrometheusRule resources created
##
ruleSelectorNilUsesHelmValues: false
## Number of replicas of each shard to deploy for a Prometheus deployment.
## Number of replicas multiplied by shards is the total number of Pods created.
##
replicas: 1
## Prometheus StorageSpec for persistent data
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md
##
storageSpec:
{}
# volumeClaimTemplate:
# metadata:
# name: prom
# spec:
# storageClassName: cstorsc-ooqun
# accessModes: ["ReadWriteOnce"]
# resources:
# requests:
# storage: 10Gi
# selector: {}
alertmanager:
## Deploy alertmanager
##
enabled: true
config:
global:
resolve_timeout: 5m
route:
group_by: ["alertname", "job", "volName"]
group_wait: 30s
group_interval: 5m
repeat_interval: 4h
receiver: "null"
receivers:
- name: "null"
templates:
- /etc/alertmanager/config/*.tmpl
service:
type: NodePort
nodePort: 30903
alertmanagerSpec:
## Size is the expected size of the alertmanager cluster. The controller will eventually make the size of the
## running cluster equal to the expected size.
replicas: 1
## Storage is the definition of how storage will be used by the Alertmanager instances.
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md
##
storage:
{}
# volumeClaimTemplate:
# metadata:
# name: alert
# spec:
# storageClassName: cstorsc-ooqun
# accessModes: ["ReadWriteOnce"]
# resources:
# requests:
# storage: 10Gi
# selector: {}
prometheusOperator:
enabled: true
## Prometheus-Operator v0.39.0 and later support TLS natively.
##
# tls:
# enabled: false
grafana:
enabled: true
## In order to render HTML and Javascript in a text panel without being sanitized
## enable the `disable_sanitize_html` settings in Grafana ini file
grafana.ini:
panels:
disable_sanitize_html: true
service:
type: NodePort
nodePort: 32515
## Deploy default dashboards.
##
defaultDashboardsEnabled: true
adminPassword: admin
sidecar:
dashboards:
enabled: true
# ConfigMaps with label below will be added to Grafana as dashboards.
label: grafana_dashboard
## Pass the plugins you want installed as a list.
##
plugins:
- grafana-polystat-panel
- snuids-trafficlights-panel
## Configuration for node-problem-detector subchart
node-problem-detector:
install: false
## Volume for storing logs
extraVolumes:
- name: kmsg
hostPath:
path: /dev/kmsg
extraVolumeMounts:
- name: kmsg
mountPath: /dev/kmsg
readOnly: true
## Enabling service monitors of npd
metrics:
serviceMonitor:
enabled: true
## Configuration for installing openebs-monitoring addons
openebsMonitoringAddon:
cStor:
enabled: true
dashboards:
enabled: true
alertRules:
enabled: true
serviceMonitor:
enabled: true
## Endpoints of the selected service to be monitored
endpoints:
## Name of the endpoint's service port
## Mutually exclusive with targetPort
# port: ""
port: exporter
## HTTP path to scrape for metrics
# path: /metrics
path: /metrics
## relabel configs to apply to samples before ingestion.
##
# relabelings: []
# - sourceLabels: [__meta_kubernetes_service_name]
# separator: ;
# regex: (.*)
# targetLabel: service
# replacement: $1
# action: replace
relabelings:
## RelabelConfigs to apply to samples before scraping.
## More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
## To know more about RelabelConfig schema visit: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
- sourceLabels: [__meta_kubernetes_pod_label_monitoring]
regex: volume_exporter_prometheus
action: keep
## Below entry ending with vsm is deprecated and is maintained for
## backward compatibility purpose.
- sourceLabels: [__meta_kubernetes_pod_label_vsm]
action: replace
targetLabel: openebs_pv
## Below entry is the correct entry. Though the above and below entries
## are having same target_label as openebs_pv, only one of them will be
## valid for any release.
- sourceLabels:
[__meta_kubernetes_pod_label_openebs_io_persistent_volume]
action: replace
targetLabel: openebs_pv
- sourceLabels:
[__meta_kubernetes_pod_label_openebs_io_persistent_volume_claim]
action: replace
targetLabel: openebs_pvc
- sourceLabels:
[__meta_kubernetes_endpoints_label_openebs_io_cas_type]
action: replace
targetLabel: openebs_cas_type
## Label selector for services to which this ServiceMonitor applies
# selector: {}
# matchLabels: {}
## Example
# selector:
# matchLabels:
# cas-type: cstor
selector:
matchLabels:
openebs.io/cas-type: cstor
## Namespaces from which services are selected
# namespaceSelector: []
## Match any namespace
# any: true
## Example
# namespaceSelector:
# any: true
## Explicit list of namespace names to select
# matchNames: []
## Example
# namespaceSelector:
# matchNames:
# - openebs
# - default
namespaceSelector:
any: true
podMonitor:
enabled: true
## Endpoints of the selected pods to be monitored
## https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#podmetricsendpoint
podMetricsEndpoints:
## Name or number of the endpoint's target port
## Mutually exclusive with port
# targetPort: ""
targetPort: 9500
## HTTP path to scrape for metrics
# path: /metrics
path: /metrics
## relabel configs to apply to samples before ingestion.
##
# relabelings: []
# - sourceLabels: [__meta_kubernetes_pod_node_name]
# separator: ;
# regex: ^(.*)$
# targetLabel: nodename
# replacement: $1
# action: replace
relabelings:
## RelabelConfigs to apply to samples before scraping.
## More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
## To know more about RelabelConfig schema visit: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
- sourceLabels:
[__meta_kubernetes_pod_annotation_openebs_io_monitoring]
regex: pool_exporter_prometheus
action: keep
## Adding comma-separated source_labels below in order to fetch the metrics for pool claim instances of SPC and CSPC kind
- sourceLabels:
[
__meta_kubernetes_pod_label_openebs_io_storage_pool_claim,
__meta_kubernetes_pod_label_openebs_io_cstor_pool_cluster,
]
action: replace
## separator: Separator placed between concatenated source label values, default -> ;
separator: " "
targetLabel: storage_pool_claim
## Adding comma-separated source_labels below in order to fetch the metrics for pool instances of CSP and CSPI kind
- sourceLabels:
[
__meta_kubernetes_pod_label_openebs_io_cstor_pool,
__meta_kubernetes_pod_label_openebs_io_cstor_pool_instance,
]
action: replace
## separator: Separator placed between concatenated source label values, default -> ;
separator: " "
targetLabel: cstor_pool
- sourceLabels:
[__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
action: replace
regex: ([^:]+)(?::\d+)?;(\d+)
replacement: ${1}:${2}
targetLabel: __address__
## Label selector for pods to which this PodMonitor applies
# selector: {}
# matchlabels: {}
## Example
# selector: {}
# matchLabels:
# app: cstor-pod
selector:
matchLabels:
app: cstor-pool
## Namespaces from which services are selected
# namespaceSelector: []
## Match any namespace
# any: true
## Example
# namespaceSelector:
# any: true
## Explicit list of namespace names to select using matchNames
# matchNames: []
## Example
# namespaceSelector:
# matchNames:
# - openebs
# - default
namespaceSelector:
any: true
jiva:
enabled: true
dashboards:
enabled: true
alertRules:
enabled: true
serviceMonitor:
enabled: true
## Endpoints of the selected service to be monitored
endpoints:
## Name of the endpoint's service port
## Mutually exclusive with targetPort
# port: ""
port: exporter
## HTTP path to scrape for metrics
# path: /metrics
path: /metrics
## relabel configs to apply to samples before ingestion.
##
# relabelings: []
# - sourceLabels: [__meta_kubernetes_service_name]
# separator: ;
# regex: (.*)
# targetLabel: service
# replacement: $1
# action: replace
relabelings:
## RelabelConfigs to apply to samples before scraping.
## More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
## To know more about RelabelConfig schema visit: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
## Below entry ending with vsm is deprecated and is maintained for
## backward compatibility purpose.
- sourceLabels: [__meta_kubernetes_pod_label_vsm]
action: replace
targetLabel: openebs_pv
## Below entry is the correct entry. Though the above and below entries
## are having same target_label as openebs_pv, only one of them will be
## valid for any release.
- sourceLabels:
[__meta_kubernetes_pod_label_openebs_io_persistent_volume]
action: replace
targetLabel: openebs_pv
- sourceLabels:
[__meta_kubernetes_pod_label_openebs_io_persistent_volume_claim]
action: replace
targetLabel: openebs_pvc
- sourceLabels:
[__meta_kubernetes_endpoints_label_openebs_io_cas_type]
action: replace
targetLabel: openebs_cas_type
## Label selector for services to which this ServiceMonitor applies
# selector: {}
# matchLabels: {}
## Example
# selector:
# matchLabels:
# cas-type: jiva
selector:
matchLabels:
openebs.io/cas-type: jiva
## Namespaces from which services are selected
# namespaceSelector: []
## Match any namespace
# any: true
## Example
# namespaceSelector:
# any: true
## Explicit list of namespace names to select
# matchNames: []
## Example
# namespaceSelector:
# matchNames:
# - openebs
# - default
namespaceSelector:
any: true
lvmLocalPV:
enabled: true
dashboards:
enabled: true
alertRules:
enabled: true
serviceMonitor:
enabled: true
## Endpoints of the selected service to be monitored
endpoints:
## Name of the endpoint's service port
## Mutually exclusive with targetPort
# port: ""
port: metrics
## HTTP path to scrape for metrics
# path: /metrics
path: /metrics
## Label selector for services to which this ServiceMonitor applies
# selector: {}
# matchLabels: {}
## Example
# selector:
# matchLabels:
# name: openebs-lvm-node
selector:
matchLabels:
name: openebs-lvm-node
## Namespaces from which services are selected
# namespaceSelector: []
## Match any namespace
# any: true
## Example
# namespaceSelector:
# any: true
## Explicit list of namespace names to select
# matchNames: []
## Example
# namespaceSelector:
# matchNames:
# - openebs
# - default
namespaceSelector:
any: true
deviceLocalPV:
enabled: true
dashboards:
enabled: true
alertRules:
enabled: true
serviceMonitor:
enabled: true
## Endpoints of the selected service to be monitored
endpoints:
## Name of the endpoint's service port
## Mutually exclusive with targetPort
# port: ""
port: metrics
## HTTP path to scrape for metrics
# path: /metrics
path: /metrics
## Label selector for services to which this ServiceMonitor applies
# selector: {}
# matchLabels: {}
## Example
# selector:
# matchLabels:
# name: openebs-device-node
selector:
matchLabels:
name: openebs-device-node
## Namespaces from which services are selected
# namespaceSelector: []
## Match any namespace
# any: true
## Example
# namespaceSelector:
# any: true
## Explicit list of namespace names to select
# matchNames: []
## Example
# namespaceSelector:
# matchNames:
# - openebs
# - default
namespaceSelector:
any: true
ndm:
enabled: true
dashboards:
enabled: true
alertRules:
enabled: true
serviceMonitor:
enabled: true
## Endpoints of the selected service to be monitored
endpoints:
## Name of the endpoint's service port
## Mutually exclusive with targetPort
# port: ""
port: metrics
## HTTP path to scrape for metrics
# path: /metrics
path: /metrics
## Label selector for services to which this ServiceMonitor applies
# selector: {}
# matchLabels: {}
## Example
# selector:
# matchLabels:
# name: openebs-lvm-node
selector:
matchLabels:
name: openebs-ndm-exporter
## Namespaces from which services are selected
# namespaceSelector: []
## Match any namespace
# any: true
## Example
# namespaceSelector:
# any: true
## Explicit list of namespace names to select
# matchNames: []
## Example
# namespaceSelector:
# matchNames:
# - openebs
# - default
namespaceSelector:
any: true
npd:
enabled: true
dashboards:
enabled: true
alertRules:
enabled: true
volume:
enabled: true
alertRules:
enabled: true
localPV:
enabled: true
dashboards:
enabled: true
zfsLocalPV:
enabled: true
dashboards:
enabled: true