File tree 5 files changed +62
-5
lines changed
5 files changed +62
-5
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ maintainers:
34
34
name : redis
35
35
sources :
36
36
- https://github.com/bitnami/charts/tree/main/bitnami/redis
37
- version : 18.8.3
37
+ version : 18.9.0
Original file line number Diff line number Diff line change @@ -561,6 +561,7 @@ The command removes all the Kubernetes components associated with the chart and
561
561
| ` metrics.serviceMonitor.podTargetLabels ` | Labels from the Kubernetes pod to be transferred to the created metrics | ` [] ` |
562
562
| ` metrics.serviceMonitor.sampleLimit ` | Limit of how many samples should be scraped from every Pod | ` false ` |
563
563
| ` metrics.serviceMonitor.targetLimit ` | Limit of how many targets should be scraped | ` false ` |
564
+ | ` metrics.serviceMonitor.additionalEndpoints ` | Additional endpoints to scrape (e.g sentinel) | ` [] ` |
564
565
| ` metrics.podMonitor.enabled ` | Create PodMonitor resource(s) for scraping metrics using PrometheusOperator | ` false ` |
565
566
| ` metrics.podMonitor.namespace ` | The namespace in which the PodMonitor will be created | ` "" ` |
566
567
| ` metrics.podMonitor.interval ` | The interval at which metrics should be scraped | ` 30s ` |
@@ -572,6 +573,7 @@ The command removes all the Kubernetes components associated with the chart and
572
573
| ` metrics.podMonitor.podTargetLabels ` | Labels from the Kubernetes pod to be transferred to the created metrics | ` [] ` |
573
574
| ` metrics.podMonitor.sampleLimit ` | Limit of how many samples should be scraped from every Pod | ` false ` |
574
575
| ` metrics.podMonitor.targetLimit ` | Limit of how many targets should be scraped | ` false ` |
576
+ | ` metrics.podMonitor.additionalEndpoints ` | Additional endpoints to scrape (e.g sentinel) | ` [] ` |
575
577
| ` metrics.prometheusRule.enabled ` | Create a custom prometheusRule Resource for scraping metrics using PrometheusOperator | ` false ` |
576
578
| ` metrics.prometheusRule.namespace ` | The namespace in which the prometheusRule will be created | ` "" ` |
577
579
| ` metrics.prometheusRule.additionalLabels ` | Additional labels for the prometheusRule | ` {} ` |
Original file line number Diff line number Diff line change 34
34
{{- if .Values.metrics.podMonitor.metricRelabelings }}
35
35
metricRelabelings : {{- toYaml .Values.metrics.podMonitor.metricRelabelings | nindent 6 }}
36
36
{{- end }}
37
+ {{- range .Values.metrics.podMonitor.additionalEndpoints }}
38
+ - port : {{ .port }}
39
+ {{- if .interval }}
40
+ interval : {{ .interval }}
41
+ {{- end }}
42
+ {{- if .path }}
43
+ path : {{ .path }}
44
+ {{- end }}
45
+ {{- if .params }}
46
+ params :
47
+ {{- range $key, $value := .params }}
48
+ {{ $key }}:
49
+ {{- range $value }}
50
+ - {{ . | quote }}
51
+ {{- end }}
52
+ {{- end }}
53
+ {{- end }}
54
+ {{- end }}
37
55
{{- if .Values.metrics.serviceMonitor.podTargetLabels }}
38
56
podTargetLabels : {{- toYaml .Values.metrics.podMonitor.podTargetLabels | nindent 4 }}
39
57
{{- end }}
48
66
- {{ include "common.names.namespace" . | quote }}
49
67
selector :
50
68
matchLabels : {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 6 }}
51
- app.kubernetes.io/component : metrics
52
69
{{- end }}
Original file line number Diff line number Diff line change @@ -34,13 +34,31 @@ spec:
34
34
{{- if .Values.metrics.serviceMonitor.metricRelabelings }}
35
35
metricRelabelings : {{- toYaml .Values.metrics.serviceMonitor.metricRelabelings | nindent 6 }}
36
36
{{- end }}
37
+ {{- range .Values.metrics.serviceMonitor.additionalEndpoints }}
38
+ - port : {{ .port }}
39
+ {{- if .interval }}
40
+ interval : {{ .interval }}
41
+ {{- end }}
42
+ {{- if .path }}
43
+ path : {{ .path }}
44
+ {{- end }}
45
+ {{- if .params }}
46
+ params :
47
+ {{- range $key, $value := .params }}
48
+ {{ $key }}:
49
+ {{- range $value }}
50
+ - {{ . | quote }}
51
+ {{- end }}
52
+ {{- end }}
53
+ {{- end }}
54
+ {{- end }}
37
55
{{- if .Values.metrics.serviceMonitor.podTargetLabels }}
38
56
podTargetLabels : {{- toYaml .Values.metrics.serviceMonitor.podTargetLabels | nindent 4 }}
39
57
{{- end }}
40
- {{ with .Values.metrics.serviceMonitor.sampleLimit }}
58
+ {{- with .Values.metrics.serviceMonitor.sampleLimit }}
41
59
sampleLimit : {{ . }}
42
60
{{- end }}
43
- {{ with .Values.metrics.serviceMonitor.targetLimit }}
61
+ {{- with .Values.metrics.serviceMonitor.targetLimit }}
44
62
targetLimit : {{ . }}
45
63
{{- end }}
46
64
namespaceSelector :
Original file line number Diff line number Diff line change @@ -1469,7 +1469,7 @@ networkPolicy:
1469
1469
# #
1470
1470
ingressNSMatchLabels : {}
1471
1471
ingressNSPodMatchLabels : {}
1472
-
1472
+
1473
1473
# # PodSecurityPolicy configuration
1474
1474
# # ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/
1475
1475
# #
@@ -1784,6 +1784,16 @@ metrics:
1784
1784
# # @param metrics.serviceMonitor.targetLimit Limit of how many targets should be scraped
1785
1785
# #
1786
1786
targetLimit : false
1787
+ # # @param metrics.serviceMonitor.additionalEndpoints Additional endpoints to scrape (e.g sentinel)
1788
+ # #
1789
+ additionalEndpoints : []
1790
+ # uncomment in order to scrape sentinel metrics
1791
+ # - port: http-metrics
1792
+ # interval: 30s
1793
+ # path: /scrape
1794
+ # params:
1795
+ # target:
1796
+ # - localhost:26379
1787
1797
# # Prometheus Pod Monitor
1788
1798
# # ref: https://github.com/coreos/prometheus-operator
1789
1799
# # https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#podmonitor
@@ -1822,6 +1832,16 @@ metrics:
1822
1832
# # @param metrics.podMonitor.targetLimit Limit of how many targets should be scraped
1823
1833
# #
1824
1834
targetLimit : false
1835
+ # # @param metrics.podMonitor.additionalEndpoints Additional endpoints to scrape (e.g sentinel)
1836
+ # #
1837
+ additionalEndpoints : []
1838
+ # uncomment in order to scrape sentinel metrics
1839
+ # - port: metrics
1840
+ # interval: 30s
1841
+ # path: /scrape
1842
+ # params:
1843
+ # target:
1844
+ # - localhost:26379
1825
1845
1826
1846
# # Custom PrometheusRule to be defined
1827
1847
# # ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions
You can’t perform that action at this time.
0 commit comments