[stable/prometheus-operator] adding retentionSize to helm chart (#15230) (#16470)

* providing functionality requested in #15230

Signed-off-by: Jan Weisssieker <jan.weisssieker@digistore24.team>

* bump chart version

Signed-off-by: Jan Weisssieker <jan.weisssieker@digistore24.team>
This commit is contained in:
JaWeissiekerDS24
2019-08-21 04:51:15 -07:00
committed by Kubernetes Prow Robot
parent a125b99f92
commit f815a594fa
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ name: prometheus-operator
sources:
- https://github.com/coreos/prometheus-operator
- https://coreos.com/operators/prometheus
version: 6.7.2
version: 6.7.3
appVersion: 0.31.1
home: https://github.com/coreos/prometheus-operator
keywords:
+1
View File
@@ -252,6 +252,7 @@ The following tables list the configurable parameters of the prometheus-operator
| `prometheus.prometheusSpec.paused` | When a Prometheus deployment is paused, no actions except for deletion will be performed on the underlying objects. | `false` |
| `prometheus.prometheusSpec.replicas` | Number of instances to deploy for a Prometheus deployment. | `1` |
| `prometheus.prometheusSpec.retention` | Time duration Prometheus shall retain data for. Must match the regular expression `[0-9]+(ms\|s\|m\|h\|d\|w\|y)` (milliseconds seconds minutes hours days weeks years). | `10d` |
| `prometheus.prometheusSpec.retentionSize` | Used Storage Prometheus shall retain data for. Example 50g (50 Gigabyte). Can be combined with prometheus.prometheusSpec.retention | `""` |
| `prometheus.prometheusSpec.logLevel` | Log level for Prometheus to be configured with. | `info` |
| `prometheus.prometheusSpec.logFormat` | Log format for Prometheus to be configured with. | `logfmt` |
| `prometheus.prometheusSpec.scrapeInterval` | Interval between consecutive scrapes. | `""` |
@@ -67,6 +67,9 @@ spec:
{{ toYaml .Values.prometheus.prometheusSpec.resources | indent 4 }}
{{- end }}
retention: {{ .Values.prometheus.prometheusSpec.retention | quote }}
{{- if .Values.prometheus.prometheusSpec.retentionSize }}
retentionSize: {{ .Values.prometheus.prometheusSpec.retentionSize | quote }}
{{- end }}
{{- if .Values.prometheus.prometheusSpec.routePrefix }}
routePrefix: {{ .Values.prometheus.prometheusSpec.routePrefix | quote }}
{{- end }}
+4
View File
@@ -1395,6 +1395,10 @@ prometheus:
##
retention: 10d
## Maximum size of metrics
##
retentionSize: ""
## If true, the Operator won't process any Prometheus configuration changes
##
paused: false